3 ms·
Note he said 100hz not mhz. Essentially 100 times per second the message queue would process but if you moved the mouse it would process faster.
by achandlerwhite 7y ago
Note he said 100hz not mhz. Essentially 100 times per second the message queue would process but if you moved the mouse it would process faster.
- the-dude 7y agoAnd the BSDs and Linux also have the HZ parameter for scheduling and for a long time the default has been as low as 100 Hz. Not sure what the current status quo is.
- brandmeyer 7y agoTickless
- trasz 7y agoFor FreeBSD it's been 1000 for... ages, except for virtual machines, where it seems to be 100 by default.
- asveikau 7y agoSome guides for better battery life on FreeBSD recommend setting it to 100 Hz.
- kllrnohj 7y agoLinux's default varies per architecture & platform. For a long, long time on ARM it still defaulted to 100hz. I think it's more like 250hz or 500hz now? You'll also see x86 desktop-focused build set it to 1000hz. But scheduling happens far more often than this tick rate, too, so it's only preemption for busy threads and controls the timing windows for things like DVFS.