Re: raind-1 resync speed slow down to 50% by the time it finishes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux