Closed tbarbette closed 1 day ago
Hi, which kernel version are you using?
In the meantime, you can use Metronome with the -m 0
parameter. This uses nanosleep with the prctl(PR_SET_TIMERSLACK, 1);
setup function.
This gives performances very close to the hr_sleep
syscall
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
Linux elrond 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
I see I have unattended upgrade, and on another machine it worked, I reboot and it didn't so it might be a silent kernel upgrade.
Hi all,
I used hr_sleep in the past, but it seems the syscall does not work anymore. It might be due to a microcode update because I think the kernel version did not change. It looks like the syscall itself is kind of ignored.
Dmesg:
V2 is a message in the init added by myself.
I looked at dmesg, and I also added a message as the first line of the syscall and I can't see it.
Any idea?