> Think about it and it should make sense.  You have two discs with identical
> layouts.  How could you possibly increase the speed of a single sequential
> read?  You can't just read half from one drive, half from the other, you'd
> always have heads seeking and it would no longer be a sequential read.
> 

I'm thinking about something like this (of course this is
simplification):

1. Application reads big chunk of data. 
2. File system layer splits this requests into fs block size requests
(let say 4k each).
3. Each block read request is divided into sector size requests. As far
as I understand modern drives can do read ahead up to 16 (32??) sectors.

Now, the first read request for sector X should go to the first disk,
while the next request for the sector (X+disk_read_ahead) should go to
the second disk, third request for the (X+2*disk_read_ahead) sector to
the first disk, and so on.

If we use whole disks for RAID1, the heads should always be in similar
position, so latency should be similar to 1 disk, because the drives
should seek in track to track manner (in ideal world).

I agree that it is not pure sequential operation, but I think it is
close enough to get some performance boost at virtually no cost.

Do you agree?

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

Reply via email to