macOS Unix – Why Load Averages Always Over 1.0

macosunix

My load average on a bunch of Macs running Catalina and Big Sur is always over 1 (1.2 -> 1.5), with just finder open, or safari idle…

On my other linux boxes raspberry pi etc, I usually see close to 0.

Why is a full core always engaged on macOS? is this a BSD thing? i.e. is 1.0 equal to 0 on linux? (or does 1 mean a full core is always used).

Best Answer

My load averages are routinely 0.29 so we would need to look at your build and details to know why you’re over 1.0.

bmike@dev ~ % iostat 10
              disk0       cpu    load average
    KB/t  tps  MB/s  us sy id   1m   5m   15m
   12.20    7  0.08   0  0 99  0.13 0.16 0.18
    5.23    9  0.04   0  0 100  0.11 0.15 0.18
    5.18    2  0.01   0  1 99  0.10 0.15 0.18
    0.00    0  0.00   0  0 100  0.08 0.14 0.17
    0.00    0  0.00   0  0 100  0.07 0.14 0.17

The code that became macOS code measures relative task scheduling as opposed to core loading which is different than Linux I suppose. You will want to recalibrate your scripts if you take action upon this measure.

Asking why is tough since engineers committed the code and it shipped. Im not entirely sure if this is a BSD thing as much as Mach kernel, but it’s real on macOS.