On 12/26/25 1:17 PM, наб wrote:
I blamed back as far as I could stomach the Salsa UI:
https://salsa.debian.org/kernel-team/linux/-/commit/ba8a8dcf45455676fcb47c4796f7ca39ef3b1c59
is the commit that changed from "a mix of HZ=250/HZ=1000 per arch"
to "HZ=250 everywhere", dated 2006-04-30.
Per tracker.d.o, the first cpulimit upload was on 2006-06-15,
so this was never right for Debian kernels.
Interesting.
I have just uploaded a fix for this. Two fixes, really.
The first is that, on Linux, the assumed HZ vlue for the kernel is 250.
This appears to be the default for most distributions/CPUs since kernel
2.6.13.
The second change is there is now a "--hz" command line flag the user
can use to override our default in case we guess wrong.
The new version has been announced here:
https://limitcpu.sourceforge.net/news.php
- Jesse