Hello,

I have just set up RAID0 with two 30G DiamondMax (Maxtor) ATA-66 drives
connected to a Promise Ultra66 controller.

I am using raid 0.90 in kernel 2.3.51 on a dual PII-450 with 256M RAM.

Here are the results from bonnie:

     -------Sequential Output-------- ---Sequential Input-- --Random--
     -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
  MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec %CPU
1200  6813 98.2 41157 42.0 10101 25.9  5205 78.9 14890 27.3 137.8  1.8

Seems like my sequential block writes are 3 times faster than the
reads.  Any idea why that would be?

Here are the results from hdparm on my drives (just showing one because
they are identical):

 Model=Maxtor 53073U6, FwRev=DA620CQ0, SerialNo=K604F9AC
 Config={ Fixed }
 RawCHS=4092/16/63, TrkSize=0, SectSize=0, ECCbytes=57
 BuffType=3(DualPortCache), BuffSize=2048kB, MaxMultSect=16,
MultSect=off
 DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=0
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=60030432
 tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2 
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4 
 UDMA modes: mode0 mode1 mode2 mode3 *mode4 

/dev/hde:
 multcount    =  0 (off)
 I/O support  =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 59554/16/63, sectors = 60030432, start = 0

And here are the boot messaged corresponding to IDE and or RAID:

Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 40MHz system bus speed for PIO modes; override with
idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 21
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:pio
PDC20262: IDE controller on PCI bus 00 dev 50
PDC20262: not 100% native mode: will probe irqs later
PDC20262: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
    ide2: BM-DMA at 0xa400-0xa407, BIOS settings: hde:DMA, hdf:pio
    ide3: BM-DMA at 0xa408-0xa40f, BIOS settings: hdg:DMA, hdh:pio
hda: WDC AC420400D, ATA DISK drive
hdb: IOMEGA ZIP 100 ATAPI, ATAPI FLOPPY drive
hdc: LTN382, ATAPI CDROM drive
hde: Maxtor 53073U6, ATA DISK drive
hdg: Maxtor 53073U6, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xb800-0xb807,0xb402 on irq 3
ide3 at 0xb000-0xb007,0xa802 on irq 3
hda: WDC AC420400D, 19470MB w/1966kB Cache, CHS=39560/16/63, UDMA(33)
hde: Maxtor 53073U6, 29311MB w/2048kB Cache, CHS=59554/16/63, UDMA(66)
hdg: Maxtor 53073U6, 29311MB w/2048kB Cache, CHS=59554/16/63, UDMA(66)
hdc: ATAPI 40X CD-ROM drive, 120kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.07
hdb: 98304kB, 196608 blocks, 512 sector size,  
hdb: 98304kB, 96/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm
Partition check:
 hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
 hdb: hdb4
 hde: hde1 hde2
 hdg: hdg1 hdg2
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid0 personality registered
md.c: sizeof(mdp_super_t) = 4096
...
autorun ...
considering hdg2 ...
  adding hdg2 ...
  adding hde2 ...
created md0
bind<hde2,1>
bind<hdg2,2>
running: <hdg2><hde2>
now!
hdg2's event counter: 00000003
hde2's event counter: 00000003
md0: max total readahead window set to 256k
md0: 2 data-disks, max readahead per data-disk: 128k
raid0: looking at hde2
raid0:   comparing hde2(29883584) with hde2(29883584)
raid0:   END
raid0:   ==> UNIQUE
raid0: 1 zones
raid0: looking at hdg2
raid0:   comparing hdg2(29883584) with hde2(29883584)
raid0:   EQUAL
raid0: FINAL 1 zones
zone 0
 checking hde2 ... contained as device 0
  (29883584) is smallest!.
 checking hdg2 ... contained as device 1
 zone->nb_dev: 2, size: 59767168
current zone offset: 29883584
done.
raid0 : md_size is 59767168 blocks.
raid0 : conf->smallest->size is 59767168 blocks.
raid0 : nb_zone is 1.
raid0 : Allocating 8 bytes for hash.
md: updating md0 RAID superblock on device
hdg2 [events: 00000004](write) hdg2's sb offset: 29883584
hde2 [events: 00000004](write) hde2's sb offset: 29883584
.
... autorun DONE.


Thanks a bunch,

Scott
 
-- 
Scott M. Ransom                   Address:  Harvard-Smithsonian CfA
Phone:  (617) 495-4142                      60 Garden St.  MS 10 
email:  [EMAIL PROTECTED]              Cambridge, MA  02138
PGP Fingerprint: D2 0E D0 10 CD 95 06 DA  EF 78 FE 2B CB 3A D3 53

Reply via email to