Re: strange performance of raid0

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

 



> > 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.

> > 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.

> > 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.


-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
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