mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Willy Tarreau <willy@w.ods.org>
To: Al Boldi <a1426z@gawab.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Eradic disk access during reads
Date: Sat, 17 Sep 2005 20:46:44 +0200	[thread overview]
Message-ID: <20050917184643.GA1313@alpha.home.local> (raw)
In-Reply-To: <200509171323.53054.a1426z@gawab.com>

On Sat, Sep 17, 2005 at 01:32:53PM +0300, Al Boldi wrote:
> Willy Tarreau wrote:
> > On Sat, Sep 17, 2005 at 07:26:11AM +0300, Al Boldi wrote:
> > > Monitoring disk access using gkrellm, I noticed that a command like
> > >
> > > cat /dev/hda > /dev/null
> > >
> > > shows eradic disk reads ranging from 0 to 80MB/s on an otherwise idle
> > > system.
> > >
> > > 1. Is this a hardware or software problem?
> >
> > Difficult to tell without more info. Can be a broken IDE disk or defective
> > ribbon.
> 
> Tried the same with 2.4.31 which shows steady behaviour with occasional dips 
> and pops in the msec range.
> 
> >
> > > 2. Is there a lightweight perf-mon tool (cmd-line) that would log this
> > > behaviour graphically?
> >
> > You can do " readspeed </dev/hda | tr '\r' '\n' > log " with the readspeed
> > tool from there :
> >    http://w.ods.org/tools/readspeed
> 
> Does it have msec resolution?

no, it does not. It will only show you the average transfer rate during
the past second each second. It often helps me tune network, nfs, raid, ...

Denis' tool seems clearly more suited to analyse your problem.

Regards,
Willy


  parent reply	other threads:[~2005-09-17 18:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-17  4:26 Al Boldi
2005-09-17  5:50 ` Willy Tarreau
2005-09-17 10:32   ` Al Boldi
2005-09-17 10:44     ` Denis Vlasenko
2005-09-17 16:38       ` Al Boldi
2005-09-18 11:00         ` Denis Vlasenko
2005-09-18 13:40           ` Al Boldi
2005-09-18 16:02             ` Denis Vlasenko
2005-09-18 16:34               ` Willy Tarreau
2005-09-18 18:08                 ` Al Boldi
2005-09-17 18:46     ` Willy Tarreau [this message]
2005-09-18  4:16       ` Al Boldi
2005-09-18  5:23         ` Willy Tarreau
2005-09-18  6:54           ` Al Boldi
2005-09-18 10:40       ` Denis Vlasenko

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=20050917184643.GA1313@alpha.home.local \
    --to=willy@w.ods.org \
    --cc=a1426z@gawab.com \
    --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®