Re: Linux Software RAID5 - ballpark numbers



Rohan Beckles <rohan.beckles@xxxxxxxxxx> writes:
Firstly, I done some individual tests on the drives, measuring the MB/s
unbuffered (sync option on the mount command) write speed.

Is the sync mount option the normal way you will be using the file
system? If not, better don't use that mount option, and measure write
performance by timing the write followed by a sync, e.g.:

time sh -c 'dd if=/dev/zero of=bla bs=64k count=16384; sync'

My guess is that you see bad interaction between whatever a
sync-mounted file system does and the md driver (probably lots of
partial chunk writes etc.).

Now, I realise that having different disks from manufacturers doesn't help,
as there are clear performance discrepancies between the individual units,
but does that really explain such low performance?

We require that every disk is from a different manufacturer, to reduce
the risk of systematic multiple-disk failures, but we use only two
disks per RAID. I just saw 89MB/s write performance on a two-disk
RAID0 through ext3 and 47MB/s on a two-disk RAID1 with the test above.
The disks were 400GB SATA drives from Seagate and WD.

- anton
--
M. Anton Ertl Some things have to be seen to be believed
anton@xxxxxxxxxxxxxxxxxxxxxxxxxx Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
.



Relevant Pages

  • Softupdates a mount option?
    ... This has been really nagging me for a long time: Why aren't softupdates made ... a mount option (like 'sync' and 'async')? ...
    (freebsd-current)
  • Re: How are external USB drives processed? TFM wanted
    ... but I didn't find a way to avoid the annoying "sync" mount option: ... I'm still trying to like this automatic mounting stuff: ... If you do manage to remove the sync option, ...
    (Fedora)
  • Re: system shutdown from a module interrupt
    ... - call syncto synchronise all buffered i/o data ... No use in calling sync(). ... the flash with the "sync" mount option and there you go. ... written completely and which were not over power cycles. ...
    (comp.os.linux.development.system)
  • Re: system shutdown from a module interrupt
    ... - call syncto synchronise all buffered i/o data ... No use in calling sync(). ... few KByte of data to a flash rom -- the buffers may be far more. ... flash with the "sync" mount option and there you go. ...
    (comp.os.linux.development.system)
  • Re: Trying to keep HDD sleeping
    ... Run 'mount', and see if it is listed in ... that only spin up when something is being played from one of them. ... So the disks are all mounted under /media and that directory is shared ... One difference is that in 10.0 you could do "sync" and the discs remained ...
    (alt.os.linux.suse)