linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Walrond <andrew@walrond.org>
To: linux-raid@vger.kernel.org
Subject: Re: Is this hdparm -t output correct? (was Re: RAID1 & 2.6.9 performance problem)
Date: Mon, 17 Jan 2005 17:04:10 +0000	[thread overview]
Message-ID: <200501171704.10374.andrew@walrond.org> (raw)
In-Reply-To: <20050117165133.GC99565@caffreys.strugglers.net>

On Monday 17 January 2005 16:51, Andy Smith wrote:
>
> As an aside, when I try this, how come I get this:
>
> $ sudo hdparm -t /dev/sda /dev/sdb /dev/md0
>
> /dev/sda:
>  Timing buffered disk reads:  152 MB in  3.03 seconds =  50.19 MB/sec
> HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl
> for device
>
> /dev/sdb:
>  Timing buffered disk reads:  152 MB in  3.03 seconds =  50.24 MB/sec
> HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl
> for device
>
> /dev/md0:
>  Timing buffered disk reads:  read(2097152) returned 524288 bytes
>
> (note warnings about ioctls and no speed output for /dev/md0)
>
> These are SATA drives in a RAID 1.

I edited out the "inappropriate ioctl" warnings in my output. Since the drives 
are not partitions, a flush would indeed be inappropriate. hdparm -t only 
does read timings anyway. As to why your md0 output is strange - no idea I'm  
afraid. :(

Andrew Walrond

  reply	other threads:[~2005-01-17 17:04 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-17 15:22 RAID1 & 2.6.9 performance problem Janusz Zamecki
2005-01-17 15:39 ` Gordon Henderson
2005-01-17 15:51   ` Hans Kristian Rosbach
2005-01-17 16:46     ` Peter T. Breuer
2005-01-18 13:18       ` Hans Kristian Rosbach
2005-01-18 13:43         ` Peter T. Breuer
2005-01-17 20:49     ` Janusz Zamecki
2005-01-17 16:24   ` Andrew Walrond
2005-01-17 16:51     ` Is this hdparm -t output correct? (was Re: RAID1 & 2.6.9 performance problem) Andy Smith
2005-01-17 17:04       ` Andrew Walrond [this message]
2005-01-17 18:26         ` RAID1 Corruption Markus Gehring
2005-01-17 19:14           ` Paul Clements
2005-01-17 19:35             ` Tony Mantler
2005-01-17 19:42             ` Markus Gehring
2005-01-17 19:21           ` Sven Anders
2005-01-18 17:32 ` RAID1 & 2.6.9 performance problem J. Ryan Earl
2005-01-18 17:34   ` J. Ryan Earl
2005-01-18 18:41     ` Janusz Zamecki
2005-01-18 19:18       ` J. Ryan Earl
2005-01-18 19:34         ` Janusz Zamecki
2005-01-18 19:12   ` Janusz Zamecki

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=200501171704.10374.andrew@walrond.org \
    --to=andrew@walrond.org \
    --cc=linux-raid@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).