linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Gordon Mckeown" <ml_lkml@thefluffyone.net>
To: linux-kernel@vger.kernel.org
Subject: Very high IOWait during all disk activity
Date: Fri, 29 Feb 2008 14:16:48 +0000	[thread overview]
Message-ID: <74d8fc520802290616w36a245e5qa851ad2f0b068472@mail.gmail.com> (raw)

(Please cc me on replies)

I recently noticed on a number of my Linux boxes that during disk
activity, CPU usage was consistently hitting 100%. A little digging
showed that the CPU was spending up to around 65% of its time in an
IOWait state. Checked this with kernels 2.6.22 and 2.6.25-rc3, and
also across SATA and PATA drives on three different machines, all with
the same results. I also checked back with an old Ubuntu 6.06 Live CD
and that also exhibits the problem.

Having done some digging on the net, I can't get a definitive answer
as to whether this is considered "normal". Some people suggest that
IOWait is informational and doesn't indicate a problem, but based on
my admittedly limited understanding of such things, the CPU shouldn't
need to spend much time on disk I/O these days due to the use of DMA.

Is it expected behaviour for the CPU to spend such a large amount of
time in the IOWait state during disk I/O?

(For anyone who wants to see a more detailed analysis, I have an open
bug on Ubuntu's Launchpad: https://bugs.launchpad.net/bugs/192353).

Cheers,

Gordon.

             reply	other threads:[~2008-02-29 14:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29 14:16 Gordon Mckeown [this message]
2008-02-29 15:18 Very high IOWait during all disk activity Tomasz Chmielewski
2008-02-29 15:47 ` Gordon Mckeown
2008-02-29 16:00   ` Tomasz Chmielewski
2008-03-01 13:31     ` Gordon Mckeown
2008-03-01 19:41       ` Gordon Mckeown

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=74d8fc520802290616w36a245e5qa851ad2f0b068472@mail.gmail.com \
    --to=ml_lkml@thefluffyone.net \
    --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;
as well as URLs for NNTP newsgroup(s).