From: Neil Brown <neilb@suse.de>
To: Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>
Cc: Dimitrios Apostolou <jimis@gmx.net>, linux-raid@vger.kernel.org
Subject: Re: RAID1 and load-balancing during read
Date: Tue, 11 Sep 2007 16:11:40 +0200 [thread overview]
Message-ID: <18150.41500.375266.283053@notabene.brown> (raw)
In-Reply-To: message from Goswin von Brederlow on Tuesday September 11
On Tuesday September 11, brederlo@informatik.uni-tuebingen.de wrote:
>
> I found that near copies behave like raid1, offset copies are slower
> in both reading and writing (beats me why) and far copies are slightly
> faster than near copies in write and twice as fast in read. All for
> sequential read/write. For random writes far copies should be slower
> to write.
I would expect read performance on an 'offset' layout to be
significantly affected by the chunk size.
You probably want the chunk size to be about 4 times the cylinder
size.
The ideal would be exactly the cylinder size, and exactly aligned to
cylinders. But as cylinder sizes change across the device, this is
not possible.
Unfortunately I don't know how big cylinders are. I suspect if you
hunt through the docs for the device you might find out.
NeilBrown
next prev parent reply other threads:[~2007-09-11 14:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-10 19:29 RAID1 and load-balancing during read Dimitrios Apostolou
2007-09-10 19:35 ` Iustin Pop
2007-09-10 19:51 ` Dimitrios Apostolou
2007-09-11 3:44 ` Iustin Pop
2007-09-11 13:20 ` Goswin von Brederlow
2007-09-11 14:11 ` Neil Brown [this message]
2007-09-11 15:33 ` Dimitrios Apostolou
2007-09-11 20:10 ` Dimitrios Apostolou
2007-09-11 15:47 ` Dimitrios Apostolou
2007-09-11 16:07 ` Dimitrios Apostolou
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=18150.41500.375266.283053@notabene.brown \
--to=neilb@suse.de \
--cc=brederlo@informatik.uni-tuebingen.de \
--cc=jimis@gmx.net \
--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).