Re: PDC20265 IDE controller trouble

From: Jurij Smakov (jurij.smakov@telia.com)
Date: Sun Dec 16 2001 - 06:44:36 EST


On Sat, 15 Dec 2001 13:15:57 -0500 (EST)
Mark Hahn <hahn@physics.mcmaster.ca> wrote:
> can you replicate this with benchmarks more sane than hdparm
> (like build a raid0, and run bonnie or iozone on an ext2 on it?)

Here are the bonnie results on a RAID0 in my setup (kernel 2.4.17-pre8,
raidtools 0.9.0, PDC20265 controller on Asus TUSL2 motherboard, 2 IBM
60GB disks, one disk per channel). /etc/raidtab contains:

raiddev /dev/md0
        raid-level 0
        nr-raid-disks 2
        persistent-superblock 1
        chunk-size 4
        device /dev/hde
        raid-disk 0
        device /dev/hdg
        raid-disk 1

mkraid /dev/md0
mke2fs /dev/md0
mount /dev/md0 /backup
bonnie -d /backup -n 1 -s 1024k -u0

Version 1.02 ------Sequential Output------ --Sequential Input- --Random-
               -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
          Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
            1G 2338 16 2442 1 2135 1 7674 54 75023 28 236.7 0
                          ^^^^
As one can see, the results of writing time are RIDICULOUSLY low (2.4
MB/sec), while reading is ok. For comparison, result of bonnie on a
separate disk, used in the array:

mke2fs /dev/hde
mount /dev/hde /hde
bonnie -d /hde -n 1 -s 1024k -u0

Version 1.02 ------Sequential Output------ --Sequential Input- --Random-
               -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
          Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
            1G 11127 79 35617 21 16186 12 12969 93 39762 13 225.0 0

The results for the second disk look similarly.

Best regards,

Jurij.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:11 EST