Comment 1 for bug 2051342

Revision history for this message
Doug Smythies (dsmythies) wrote :

I found this bug report by accident, while searching for something else.
I pretty much only use mainline kernels and only 1000 Hertz.
I support this proposed default Ubuntu kernel configuration change.

The tick ISR is incredibly efficient (less than 2 uSec on my test system), and I do not understand your test results as I would have expected a lot less difference. Using mainline kernel 6.8-rc1 and limiting my test system max CPU frequency so that I get similar bogo op/s as you I get:

 - CONFIG_HZ=250 : 14853.14 bogo ops/s
 - CONFIG_HZ=1000 : 14714.01 bogo ops/s (0.94% worse)
 - CONFIG_HZ=1000+nohz_full : 15100 bogo ops/s (1.6% better)

There is no power or thermal or active cores throttling on my test system.
Note: with my CPU frequency limited for this test, the tick ISR takes about 4 uSec.
The difference between the 250 and 1000 Hz kernel tests is 750 tick interrupts per second or 3 milliseconds or about 0.3%

If I do not limit my max CPU frequency I get:

 - CONFIG_HZ=250 : 38518.64 bogo ops/s
 - CONFIG_HZ=1000 : 37765.55 bogo ops/s (2.0% worse)
 - CONFIG_HZ=1000+nohz_full : 39391.32 bogo ops/s (2.3% better)

There was no power or thermal or active cores throttling for this test. However I did have to raise my processor max temperature limit from 75 to 80 degrees C for this test. Also the power is very close to the limit at 122 watts, where it will throttle at 125 watts.