On Wed, Sep 12, 2007 at 02:24:56PM -0700, Adam Leventhal wrote:
> On Mon, Sep 10, 2007 at 12:41:24PM +0200, Pawel Jakub Dawidek wrote:
> > And here are the results:
> > 
> > RAIDZ:
> > 
> >     Number of READ requests: 40000.
> >     Number of WRITE requests: 0.
> >     Number of bytes to transmit: 695678976.
> >     Number of processes: 8.
> >     Bytes per second: 1305213
> >     Requests per second: 75
> > 
> > RAID5:
> > 
> >     Number of READ requests: 40000.
> >     Number of WRITE requests: 0.
> >     Number of bytes to transmit: 695678976.
> >     Number of processes: 8.
> >     Bytes per second: 2749719
> >     Requests per second: 158
> 
> I'm a bit surprised by these results. Assuming relatively large blocks
> written, RAID-Z and RAID-5 should be laid out on disk very similarly
> resulting in similar read performance.

Hmm, no. The data was organized very differenly on disks. The smallest
block size used was 2kB, to ensure each block is written to all disks in
RAIDZ configuration. In RAID5 configuration however, 128kB stripe size
was used, which means each block was stored on one disk only.

Now when you read the data, RAIDZ need to read all disks for each block,
and RAID5 needs to read only one disk for each block.

> Did you compare the I/O characteristic of both? Was the bottleneck in
> the software or the hardware?

The bottleneck were definiatelly disks. CPU was like 96% idle.

To be honest I expected, just like Jeff, much bigger win for RAID5 case.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
[EMAIL PROTECTED]                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Attachment: pgpaN8zKnXp9n.pgp
Description: PGP signature

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to