9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] load average sometimes wrong
@ 2010-11-20 18:04 erik quanstrom
  0 siblings, 0 replies; only message in thread
From: erik quanstrom @ 2010-11-20 18:04 UTC (permalink / raw)
  To: 9fans

on some of my faster machines, the load average is often quite wrong
when there is a single process using a full cpu.  for example, the load
average on this machine is 1.000 but sysstat claims it is 0.002.

chula; 8.burncycles & sleep 60
chula; cat /dev/sysstat
          0       16041     1216771         646         305           0           0           2          99           0
          1       30658     1073202       13566         335           0           0           0          99           0
          2       19686     1069572        2433        1294           0           0           0          99           0
          3       19441     1070607        1160         311           0           0           0          99           0
          4       22342     1071838        2210        1068           0           0           0          99           0
          5       14647     1133929          28          22           0           0           0          99           0
          6       18757     1070358        1576         208           0           0           0          99           0
          7       20882     1071157        6222        5636           0           0           0           4           0

starting a second cpu-hogging process will make the load average 2.000.

- erik



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-20 18:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-20 18:04 [9fans] load average sometimes wrong erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).