From: "Keld Jørn Simonsen" <keld@dkuug.dk>
To: Piergiorgio Sartor <piergiorgio.sartor@nexgo.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID-10 unbalanced reads
Date: Tue, 24 Feb 2009 10:00:34 +0100 [thread overview]
Message-ID: <20090224090034.GA8051@rap.rap.dk> (raw)
In-Reply-To: <20090223232415.GA24493@lazy.lzy>
On Tue, Feb 24, 2009 at 12:24:15AM +0100, Piergiorgio Sartor wrote:
> Hi,
>
> > You think the sdb2 read rate of 151 blks/s vs sda2 63 blks/s is strange?
> > Well, it does look strange. OTOH the tps is
> >
> > sdb2 5.93
> > sda2 5.42
> >
> > Which is not so big a difference.
>
> Also the whole RAID tps somehow matches
> the (sum of the) single devices.
And is about equal +- 10 % for the two devices.
The boot partition is most likely a raid1 partition, which is quite
oriented towards a very uneven usage, theory will tell that if you are
mostly reading sequentially, you are better off just reading from one
device, as you can always read all content in the same time as it would
take to only read hlaf of the content, because you have to skip data
otherwise.
> > what is sdb1 and sda1 used for? the fugures there seems even stranger.
> > It also looks strnge that the sdb disk is the slower about 80 MB/s
> > while sda is around 110 MB/s - and then sdb produces more than sda...
>
> The first partion (sda1, sdb1) is the /boot,
> around 100MB, the rest (sda2, sdb2) is the LVM
> physical volume, around 320GB.
>
> Also this looks strange:
>
> Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
> sdb2 4.98 109.30 64.28 1444432 849528
> md1 10.45 95.23 51.27 1258536 677608
>
> sdb2 has more reads than the whole RAID it belongs,
> but tps are OK...
Depends on how you measure things. It could be that sdb2 has delivered
some blocks that md1 did not use, and thus did not register as read.
Are these numbers taken like just after a boot?
Activity on /boot indicates this. You seldomly use /boot after booting.
If so, it is a bit interesting that you have about 1/3 of the IO done in
writing. Why is there so much wroting? I thought that booting was
almost only reading.
And sdb2 reading should only be about 1/2 of total md1 reading,
the rest should be on sda2.
>
> The only thing that *could* do something on the
> raw devices is "smartd", I cannot think anything
> else. Maybe I will disable it, for now...
I think that would be a good idea for your testing.
best regards
keld
next prev parent reply other threads:[~2009-02-24 9:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-09 20:27 RAID-10 unbalanced reads Piergiorgio Sartor
2009-02-09 23:11 ` Keld Jørn Simonsen
2009-02-10 19:07 ` Piergiorgio Sartor
2009-02-23 22:15 ` Piergiorgio Sartor
2009-02-23 22:52 ` Keld Jørn Simonsen
2009-02-23 23:24 ` Piergiorgio Sartor
2009-02-23 23:37 ` Piergiorgio Sartor
2009-02-24 9:00 ` Keld Jørn Simonsen [this message]
2009-02-24 19:16 ` Piergiorgio Sartor
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=20090224090034.GA8051@rap.rap.dk \
--to=keld@dkuug.dk \
--cc=linux-raid@vger.kernel.org \
--cc=piergiorgio.sartor@nexgo.de \
/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).