mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Denis Vlasenko <vda@ilport.com.ua>
To: Al Boldi <a1426z@gawab.com>
Cc: Willy Tarreau <willy@w.ods.org>, linux-kernel@vger.kernel.org
Subject: Re: Eradic disk access during reads
Date: Sat, 17 Sep 2005 13:44:16 +0300	[thread overview]
Message-ID: <200509171344.16564.vda@ilport.com.ua> (raw)
In-Reply-To: <200509171323.53054.a1426z@gawab.com>

[-- Attachment #1: Type: text/plain, Size: 1315 bytes --]

> > > 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

Try attached one.

# dd if=/dev/hda of=/dev/null bs=16M

On another console:

# nmeter t6 b d1
...
13:42:28.352037 bio    0    0
13:42:28.354675 bio    0    0
13:42:28.357703 bio    0    0
13:42:28.360671 bio    0    0
13:42:28.364712 bio    0    0
13:42:28.367671 bio 128k    0
13:42:28.370673 bio    0    0
13:42:28.373656 bio    0    0
13:42:28.376653 bio    0    0
13:42:28.379680 bio 128k    0
13:42:28.382656 bio    0    0
13:42:28.385819 bio    0    0
13:42:28.388651 bio    0    0
13:42:28.391736 bio 128k    0
13:42:28.394673 bio    0    0
13:42:28.397656 bio    0    0
...
--
vda

[-- Attachment #2: d.tar.bz2 --]
[-- Type: application/x-tbz, Size: 19271 bytes --]

  reply	other threads:[~2005-09-17 10:45 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 [this message]
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
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=200509171344.16564.vda@ilport.com.ua \
    --to=vda@ilport.com.ua \
    --cc=a1426z@gawab.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=willy@w.ods.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®