Re: Remote NAS

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

 



On Wed, Sep 23, 2009 at 07:59:09AM -0700, adfas asd wrote:
> --- On Wed, 9/23/09, Keld Jørn Simonsen <keld@xxxxxxxx> wrote:
> > There is a setup described at 
> > 
> > http://linux-raid.osdl.org/index.php/Preventing_against_a_failing_disk
> > 
> > You can substitute raid10,o2 for raid10,f2 for the root
> > partitions etc.
> > 
> > Anyway, raid10,f2 should be faster than raid10,o2, for at
> > least reads,
> > while for writes it is about the same performance given
> > that you employ
> > a file system.
> 
> Thanks keld.  I used this procedure, which does about the same thing and seems more clear, adapting it to RAID10-o2:
> http://www.howtoforge.com/software-raid1-grub-boot-debian-etch
> 
> I could find no performance comparison with far and offset, and knew that far improved on reads, so since offset came later inferred that it would have improved writes.  No objective data to confirm otherwise.

There are a number of performance tests at:
http://linux-raid.osdl.org/index.php/Performance

Writes are about the same for RAID10 types and RAID1.
This is also what theory would tell for random writes, given that they
are random, and that the elevator algorithm of the file system optimizes
the writing. 

Yes, offset came after far, but Neil Brown said that offset was
implemented to make Linux MD align to RAID standards. It was not
necessarily meant to be better than far. 

I think it is hard to beat raid10 far on reads (but then I am also the
one that invented the layout). As said for random reading and writing
the theory says that all mirrored raid types perform equally, and tests
verify this. Maybe far layout even has an edge for random reading, in
theory it should, but I have not seen tests really verifying that.

best regards
Keld
--
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