Score:0

Changing timer frequency - Ubuntu with PREEMPT-RT

pf flag

When building a real-time kernel for my Jetson Nano I was able to set a timer frequency. Not thinking at the time I chose a timer frequency of 250 Hz. I now realize this is not enough for my real-time needs and thus I would like to change it (to 1000 Hz), but I cannot find a way to do this without rebuilding the kernel.

Is this possible? and how would I go about doing it?

guiverc avatar
cn flag
[Ubuntu 18.04 LTS has reached the end of it's *standard* support life](https://fridge.ubuntu.com/2023/05/13/extended-security-maintenance-for-ubuntu-18-04-bionic-beaver-begins-31-may-2023/) thus is now off-topic here unless your question is specific to helping you move to a supported release of Ubuntu. Ubuntu 18.04 ESM support is available, but not on-topic here, see https://askubuntu.com/help/on-topic See also https://ubuntu.com//blog/18-04-end-of-standard-support *You've tagged an EOSS release that is now off-topic*
Fnoefen avatar
pf flag
I imagine the process would not have changed much to the newer versions. Is it possible for 20.04 / 22.04?
Raffa avatar
jp flag
"*Is this possible? and how would I go about doing it?*" ... Patches might be available on the internet, but I, personally, haven't looked into them and don't recommend them for multiple reasons ... So, a rebuild is the way to go in that particular question ... There, however, might be more than that to "real-time"/low latency and my recommendation is use the official [Ubuntu low latency kernel](https://packages.ubuntu.com/search?suite=all&section=all&arch=any&keywords=lowlatency&searchon=all)
Doug Smythies avatar
gn flag
It is not possible. You have to re-compile the kernel after changing the kernel configuration file to specify a tick rate of 1000 Hz.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.