I have disabled CPU freq scaling in the Linux kernel due to some work I am doing on the Jetson AGX Xavier. My questions are
What will be the max cpu freq? WIll it be 2.1GHz or something different?
Since the cpu freq scaling is disabled, all the cpu freq related info in procfs is not available. Is there a way to get the current cpu freq? Either by reading some register values etc.
Can you tell how have to disabled in kernel?
You can disable scaling by just setting the governor as performance.
Currently its schedutil.
Governor will also get set to performance if you run jetson_clocks application
Does this mean, the cpu’s are running at around 998MHz? The Jestson AGX Xavier cpu’s should be at 2.1GHz. Just curious if I disable cpu freq scaling, why are the CPU’s at 998MHz?
Because 998Mhz is cpu not frequency set by bootloader. After that, since there is no cpuscaling by kernel, it remains there. As I said earlier, just keep performance governor enabled. You will see 2.1
We are doing sensitive real time work, and do not want the CPU freq changing once the system is up and that is the reason we disable CPU freq scaling. If I set to performance governor, it will scale to max freq for sure, but it will also vary between max and min freq based on the work load and the policy. One way to mitigate this might be to set max and min freq the same. Do you have any other suggestions to get max performance without freq changing or speed stepping?
Is Nvidia guaranteeing its customers that when performance governor is selected, the CPU will always be at max_freq and never goes to the min_freq under any circumstances?
If the answer to my first question is NO, would like to know under what circumstances will the freq change when performance governor is selected.