9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: [9fans] load average sometimes wrong
Date: Sat, 20 Nov 2010 13:04:44 -0500	[thread overview]
Message-ID: <aa370d6ae43dd94fa86a5a535ada6e30@brasstown.quanstro.net> (raw)

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



                 reply	other threads:[~2010-11-20 18:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aa370d6ae43dd94fa86a5a535ada6e30@brasstown.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).