mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rob Mueller" <robm@fastmail.fm>
To: "Mark Hahn" <hahn@physics.mcmaster.ca>
Cc: <linux-kernel@vger.kernel.org>, "Jeremy Howard" <jhoward@fastmail.fm>
Subject: Re: Strange load spikes on 2.4.19 kernel
Date: Sun, 13 Oct 2002 10:49:18 +1000	[thread overview]
Message-ID: <10b901c27252$60199810$1900a8c0@lifebook> (raw)
In-Reply-To: <Pine.LNX.4.33.0210121605490.16179-100000@coffee.psychology.mcmaster.ca>


> but that load of 21 is really just an artifact of a bunch
> of procs being in short-term io wait (D state in top/ps), right?
> such procs get counted in loadaverage, even though they're asleep,
> not eating cycles.

Well I tried running this:

while true; do uptime; ps -wax | grep -v ' S' | grep -v 'ps -wax'; sleep 5;
done

Which should show all procs not in the sleep state (except the ps process
itself) every 5 seconds, along with an uptime load. See output below, which
again has a load jump about half way down. It appears no extra processes are
in the 'D' state. And no extra CPU load appears either during the spike.

  7:45pm  up 1 day, 18:06,  2 users,  load average: 0.29, 0.67, 2.11
  7:45pm  up 1 day, 18:07,  2 users,  load average: 0.27, 0.66, 2.10
19784 ?        R      0:00 /usr/local/apache/bin/httpd
  7:45pm  up 1 day, 18:07,  2 users,  load average: 0.24, 0.65, 2.09
19808 ?        R      0:00 /usr/local/apache/bin/httpd
  7:45pm  up 1 day, 18:07,  2 users,  load average: 0.22, 0.64, 2.08
  7:45pm  up 1 day, 18:07,  2 users,  load average: 0.21, 0.63, 2.07
  7:45pm  up 1 day, 18:07,  2 users,  load average: 27.65, 6.46, 3.95
  7:45pm  up 1 day, 18:07,  2 users,  load average: 25.44, 6.35, 3.93
  7:45pm  up 1 day, 18:07,  2 users,  load average: 23.40, 6.25, 3.90
19668 ?        R      0:00 imapd
19669 ?        R      0:00 imapd
19742 ?        D      0:00 imapd
  7:45pm  up 1 day, 18:07,  2 users,  load average: 21.53, 6.14, 3.88
19784 ?        R      0:01 /usr/local/apache/bin/httpd
  7:45pm  up 1 day, 18:07,  2 users,  load average: 19.80, 6.04, 3.86
  7:45pm  up 1 day, 18:07,  2 users,  load average: 18.22, 5.94, 3.84


I did notice a very small load jump earlier caused by what you describe
above, which seems to be due to the journal being flushed, but notice how
small this jump is in comparison to the one above...


  7:38pm  up 1 day, 18:00,  2 users,  load average: 0.63, 1.47, 2.97
  7:39pm  up 1 day, 18:00,  2 users,  load average: 0.58, 1.45, 2.96
18564 ?        D      0:00 imapd
  7:39pm  up 1 day, 18:00,  2 users,  load average: 0.53, 1.42, 2.94
  7:39pm  up 1 day, 18:01,  2 users,  load average: 0.49, 1.40, 2.93
  7:39pm  up 1 day, 18:01,  2 users,  load average: 0.53, 1.39, 2.92
  7:39pm  up 1 day, 18:01,  2 users,  load average: 0.76, 1.41, 2.91
 1441 ?        D      1:23 qmgr -l -t fifo -u
  7:39pm  up 1 day, 18:01,  2 users,  load average: 1.26, 1.50, 2.93
   10 ?        DW    17:08 [kjournald]
 1577 ?        D      0:00 imapd
16346 ?        D      0:00 lmtpd -a
16393 ?        D      0:00 imapd
16427 ?        D      0:00 lmtpd -a
17349 ?        D      0:00 imapd
17481 ?        D      0:00 lmtpd -a
18356 ?        D      0:00 imapd
  7:39pm  up 1 day, 18:01,  2 users,  load average: 1.16, 1.48, 2.91
  465 ?        R      5:57 syslogd -m 0
  7:39pm  up 1 day, 18:01,  2 users,  load average: 1.07, 1.45, 2.89
  7:39pm  up 1 day, 18:01,  2 users,  load average: 0.98, 1.43, 2.88
  7:39pm  up 1 day, 18:01,  2 users,  load average: 0.98, 1.42, 2.87
  7:39pm  up 1 day, 18:01,  2 users,  load average: 0.90, 1.40, 2.85
  7:40pm  up 1 day, 18:01,  2 users,  load average: 0.99, 1.41, 2.85
1

Now I'm more confused than ever, because there don't actually appear to be
any blocked processes at all? What is going on???

Rob Mueller


       reply	other threads:[~2002-10-13  0:44 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.33.0210121605490.16179-100000@coffee.psychology.mcmaster.ca>
2002-10-13  0:49 ` Rob Mueller [this message]
2002-12-11 22:54 Steven Roussey
2002-12-11 23:09 ` Andrew Morton
2002-12-11 23:54   ` Steven Roussey
2002-12-12  0:13     ` Andrew Morton
2002-12-12  0:31       ` Steven Roussey
     [not found] <113001c27282$93955eb0$1900a8c0@lifebook.suse.lists.linux.kernel>
     [not found] ` <000001c27286$6ab6bc60$7443f4d1@joe.suse.lists.linux.kernel>
     [not found]   ` <20021013.000127.43007739.davem@redhat.com.suse.lists.linux.kernel>
2002-10-13  7:24     ` Andi Kleen
2002-10-13  7:21       ` David S. Miller
2002-10-13 11:47       ` Hugh Dickins
2002-10-13 18:29         ` Andrew Morton
     [not found] <Pine.LNX.4.33.0210130202070.17395-100000@coffee.psychology.mcmaster.ca>
2002-10-13  6:34 ` Rob Mueller
2002-10-13  7:01   ` Joseph D. Wagner
2002-10-13  7:01     ` David S. Miller
2002-10-13  7:49       ` Joseph D. Wagner
2002-10-13  7:50         ` David S. Miller
2002-10-13  8:16           ` Joseph D. Wagner
2002-10-13  8:13             ` David S. Miller
2002-10-13  8:40               ` Joseph D. Wagner
2002-10-13  8:45                 ` David S. Miller
2002-10-13  8:48                 ` Mike Galbraith
2002-10-13  8:48                   ` David S. Miller
2002-10-13  8:51                 ` William Lee Irwin III
2002-10-13 10:20                 ` Ingo Molnar
2002-10-13 19:42                 ` Rik van Riel
2002-10-16 21:00         ` Bill Davidsen
2002-10-13  8:59     ` Anton Blanchard
2002-10-13  9:26       ` William Lee Irwin III
2002-10-13 12:31   ` Marius Gedminas
     [not found] <001401c2719b$9d45c4a0$53241c43@joe>
2002-10-12  6:54 ` Rob Mueller
  -- strict thread matches above, loose matches on Subject: below --
2002-10-12  3:13 Joseph D. Wagner
2002-10-12  3:10 Joseph D. Wagner
2002-10-12  1:12 Rob Mueller
2002-10-12  1:25 ` Andrew Morton
2002-10-12  2:25   ` Rob Mueller
2002-10-12  3:07     ` Andrew Morton
2002-10-12  6:37       ` Rob Mueller
2002-10-12  6:44         ` Andrew Morton
2002-10-12  6:52           ` Rob Mueller
2002-10-12  7:00             ` Andrew Morton
2002-10-13  6:14               ` Rob Mueller
2002-10-13  7:27                 ` Simon Kirby

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='10b901c27252$60199810$1900a8c0@lifebook' \
    --to=robm@fastmail.fm \
    --cc=hahn@physics.mcmaster.ca \
    --cc=jhoward@fastmail.fm \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®