Jump to content

Recommended Posts

Posted
On 5/25/2025 at 1:16 AM, Crossplatform Vlad said:

But Debian and Armbian use previous CPU usage precision settings?


Did you compare those things on the same hardware (architecture)?

Posted
On 5/26/2025 at 10:26 PM, Igor said:

Did you compare those things on the same hardware (architecture)?


Good question. I did compared predefined default kernels from canonical (6.8) and debian (6.10) on the same hardware twice:
1) qemu arm64 emulator on x86_64 host with the same parameters. lines 6 and 7 on the screenshot
2) qemu x86_64 emulator on x86_64 host with the same parameters. lines 4 and 5  on the screenshot

 

Posted (edited)
On 5/26/2025 at 10:38 PM, hexdump said:

maybe its related to the kernel config parameter CONFIG_HZ_xyz - depending on which of them is set for the different kernels?

Seems it is an option for timer resolution in the measurement of duration. But the topic is about CPU usage precision returned by getrusage function. it is hardcoded interval of time when kernel updates CPU usage of particular thread/process. 

Edited by Crossplatform Vlad

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines