Thread (10 messages) 10 messages, 4 authors, 2004-02-17

Re: strange performance of raid0

flat view

From: Mark Hahn <hidden>
Date: 2004-02-15 20:35:32

quoted
The you don't get as good performance because hdc1 is slow enough to
really drag it down.
right.
I would have thought the disks would have worked towards gaining
performance enhancements in some cumulative way, is that not so, in theory?
raid0 stripes IO across devices, so more devices help, in general.
but suppose your config stores 1k per disk.  a 3k write would 
touch all three disks.  when would that write complete?  according
to your numbers, hdc1 takes much longer than the other two.
that means that a large upper-level IO request (all three disks)
will complete at about 3x16 MB/s (ignoring overhead, etc).
So why is 3 disks slower than 2?
because two of the disks are sometimes idle while the slow one completes.
since striping is always parallel across all disks, the system can't 
somehow find other IO to do on the fast disks while waiting for the slow one.
quoted
You probably can't get 100mb/s with the two because that would be pretty
efficient, and there's probably more overhead than that.
100 MB/s is a pretty agressive goal for a duron: the speed of the CPU and
memory bandwidth *DO* have a significant effect on how well raid0 scales,
and where it tops out.  hdparm -t is also quite cpu-inefficient, as
benchmarks go.
quoted
Shouldn't the 80gb drive be going faster than 16mb/s though?  Have you
checked hdparm to make sure dma and all the goodies are turned on for
it?
16 MB/s is a clear config or measurement mistake.  16 MB/s is the speed of
disks from 5+ years ago, and >= 80G didn't exist back then.

regards, mark hahn.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help