From: Tomasz Chmielewski <mangoo@wpkg.org>
To: Neil Brown <neilb@suse.de>
Cc: Miroslaw Mieszczak <mirek@mieszczak.com.pl>, linux-raid@vger.kernel.org
Subject: Re: Propose of enhancement of raid1 driver
Date: Sat, 21 Oct 2006 18:01:05 +0200 [thread overview]
Message-ID: <453A4441.1040409@wpkg.org> (raw)
In-Reply-To: <17718.61672.794099.425723@cse.unsw.edu.au>
Neil Brown wrote:
> On Tuesday October 17, mirek@mieszczak.com.pl wrote:
>> I would like to propose an enhancement of raid 1 driver in linux kernel.
>> The enhancement would be speedup of data reading on mirrored partitions.
>> The idea is easy.
>> If we have mirrored partition over 2 disks, and these disk are in sync, there is
>> possibility of simultaneous reading of the data from both disks on the same way
>> as in raid 0. So it would be chunk1 read from master, chunk2 read from slave at
>> the same time.
>> As result it would give significant speedup of read operation (comparable with
>> speed of raid 0 disks).
>
> This is not as easy as it sounds.
> Skipping over blocks within a track is no faster than reading blocks
> in the track, so you would need to make sure that your chunk size is
> larger than one track - probably it would need to be several tracks.
What you said is certainly true when we read one file at a given moment.
What if we read two different files at a given time? Certainly, it would
be faster if DRIVE_1 reads FILE_1, and DRIVE_2 reads FILE_2.
> Raid1 already does some read-balancing, though it is possible (even
> likely) that it doesn't balance very effectively. Working out how
> best to do the balancing in general in a non-trivial task, but would
> be worth spending time on.
Probably what I said before isn't very correct, as RAID-1 has no idea of
the filesystem that is on top of it; rather, it will see attempts to
access differend areas of the array?
--
Tomasz Chmielewski
http://wpkg.org
next prev parent reply other threads:[~2006-10-21 16:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-17 6:51 Propose of enhancement of raid1 driver Miroslaw Mieszczak
2006-10-19 3:28 ` Neil Brown
2006-10-19 16:06 ` Doug Ledford
2006-10-20 4:59 ` Jeff Breidenbach
2006-10-21 16:01 ` Tomasz Chmielewski [this message]
2006-10-23 1:33 ` Neil Brown
2006-10-23 15:28 ` Mario 'BitKoenig' Holbe
2006-10-28 17:31 ` Al Boldi
2006-10-28 20:30 ` Mario 'BitKoenig' Holbe
2006-10-30 15:44 ` Al Boldi
2006-10-30 17:02 ` Mario 'BitKoenig' Holbe
2006-10-30 17:55 ` Al Boldi
2006-10-30 17:59 ` Jeff Breidenbach
2006-10-30 20:50 ` Mario 'BitKoenig' Holbe
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=453A4441.1040409@wpkg.org \
--to=mangoo@wpkg.org \
--cc=linux-raid@vger.kernel.org \
--cc=mirek@mieszczak.com.pl \
--cc=neilb@suse.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).