From: John Robinson <john.robinson@anonymous.org.uk>
To: David Rees <drees76@gmail.com>
Cc: "Keld Jørn Simonsen" <keld@dkuug.dk>, linux-raid@vger.kernel.org
Subject: Re: raind-1 resync speed slow down to 50% by the time it finishes
Date: Wed, 05 Aug 2009 00:18:06 +0100 [thread overview]
Message-ID: <4A78C1AE.9040002@anonymous.org.uk> (raw)
In-Reply-To: <72dbd3150908041521q1d71994cl25159d5ec3e7f326@mail.gmail.com>
On 04/08/2009 23:21, David Rees wrote:
[...]
> As I mentioned earlier, I was having a hard time visualizing the data
> layout. So here's a simple diagram that shows near/far layout and why
> Keld was right - with a far layout, reads can be isolated to the fast
> half of the disk.
[...]
> Near layout, 4 disks, 2 copies:
> a b c d
> 0 0 1 1
> 2 2 3 3
> 4 4 5 5
> 6 6 7 7
>
> Far layout, 4 disks, 2 copies
> a b c d
> 0 1 2 3
> 4 5 6 7
> 7 0 1 2
> 3 4 5 6
But I don't think I'd want reads isolated to the first half of the disc.
If I wanted a block read, and the drive which has its near copy is
already busy, but the drive with the far copy is idle, I'd probably
rather the read came from the far copy, than wait for the drive with the
near copy to come free.
For example, say I want block 0, and there's a write pending for block
3. I want block 0 from drive b now, not drive a later.
Or will I actually get more IOPS by waiting, if I'm doing a lot of small
reads and writes?
Cheers,
John.
next prev parent reply other threads:[~2009-08-04 23:18 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-30 6:25 raind-1 resync speed slow down to 50% by the time it finishes Tirumala Reddy Marri
2009-07-30 7:35 ` Robin Hill
2009-07-30 10:18 ` Keld Jørn Simonsen
2009-07-30 20:11 ` David Rees
2009-07-31 17:54 ` Keld Jørn Simonsen
2009-07-31 18:10 ` Keld Jørn Simonsen
2009-07-31 20:10 ` David Rees
2009-08-01 13:00 ` Keld Jørn Simonsen
2009-08-01 15:13 ` David Rees
2009-08-01 17:57 ` Keld Jørn Simonsen
2009-08-04 22:21 ` David Rees
2009-08-04 23:18 ` John Robinson [this message]
2009-08-04 23:42 ` David Rees
2009-08-05 8:20 ` Keld Jørn Simonsen
2009-08-05 8:08 ` Keld Jørn Simonsen
2009-08-05 7:44 ` Keld Jørn Simonsen
2009-08-05 8:18 ` NeilBrown
2009-07-30 8:44 ` Mikael Abrahamsson
2009-07-30 18:35 ` Tracy Reed
2009-07-30 20:28 ` David Rees
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=4A78C1AE.9040002@anonymous.org.uk \
--to=john.robinson@anonymous.org.uk \
--cc=drees76@gmail.com \
--cc=keld@dkuug.dk \
--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).