4 ms·
From the code comments... /* * kernel/sched/loadavg.c * This file contains the magic bits required to compute the global loadavg * figure. Its a silly numb
by belter 5y ago
From the code comments...
/*
* kernel/sched/loadavg.c
*
This file contains the magic bits required to compute the global loadavg
* figure. Its a silly number but people think its important. We go through
* great pains to make it work on big machines and tickless kernels.
*/
- R0b0t1 5y agoThe comment really undersells it. The fact that it is a regular number, despite not being strongly tied to something real, does make it useful. Even when you have a lot of IO wait causing an extremely large number you are being told something useful.