Current-Users archive

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

Re: raidframe performance question



On Fri, 6 May 2011, Matthias Scheler wrote:

ahcisata0 port 5: device present, speed: 3.0Gb/s
wd5 at atabus5 drive 0
wd5: <WDC WD5000AADS-00M2B0>
wd5: drive supports 16-sector PIO transfers, LBA48 addressing
wd5: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd5: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd5(ahcisata0:5:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) 
(using DMA)

These might be drivers with 4KB sectors ...

Ah, OK, which other parameter (if any) should I adjust to take this into consideration?

I used disklabel(1) to label both drives identically:

5 partitions:
#        size   offset    fstype [fsize bsize cpg/sgs]
 c: 976768002       63    unused     0    0      # (Cyl.   0*- 969015*)
 d: 976773168        0    unused     0    0      # (Cyl.   0 - 969020)
 e: 976768002       63      RAID                 # (Cyl.   0*- 969015*)

... and your partitions are not aligned.

Please change the offset of "c" and "e" to block 64.

Duh.   :)


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index