Hi,
I'm posting a mpi success. Great work on the mpt(4)
rewrite David, Marco.
The same LSI7102XP under solaris8 on a Netra120
was netting 7MB/sec write, 18MB/sec read using
LSI's driver. sd1 is a Dothill SANnet II FC setup with
4 146G 10k FC drives in Raid5 with a 512k byte stripe size.
V-------------------------------------V
root:14# disklabel -E sd1
# Inside MBR partition 3: type A6 start 255 size 858627585
disklabel: Can't get bios geometry: Device not configured
Treating sectors 255-858627840 as the OpenBSD portion of the disk.
You can use the 'b' command to change this.
Initial label editor (enter '?' for help at any prompt)
p
device: /dev/rsd1c
type: SCSI
disk: SCSI disk
label: NS-2500F
bytes/sector: 512
sectors/track: 255
tracks/cylinder: 64
sectors/cylinder: 16320
cylinders: 52612
total sectors: 858642432
free sectors: 858627585
rpm: 5411
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 858627585 255 unused 0 0 # Cyl 0*- 52611
c: 858642432 0 unused 0 0 # Cyl 0 - 52612*
d a
a a
offset: [255]
size: [858627585] 10g
Rounding to nearest cylinder: 20970945
FS type: [4.2BSD]
w
q
No label changes.
root:15# newfs /dev/sd1a
newfs: /dev/sd1a: not a character-special device
Warning: cylinder groups must have a multiple of 8 cylinders
Warning: 256 sector(s) in last cylinder unallocated
/dev/sd1a: 20970944 sectors in 20560 cylinders of 4 tracks, 255 sectors
10239.7MB in 65 cyl groups (320 c/g, 159.38MB/g, 20352 i/g)
super-block backups (for fsck -b #) at:
<snip>
root:16# mount /dev/sd1a /mnt
root:19# dd if=/dev/zero of=/mnt/testfile bs=128k count=10000
10000+0 records in
10000+0 records out
1310720000 bytes transferred in 17.067 secs (76797794 bytes/sec)
root:20# ls -sal /mnt
total 2560692
4 drwxr-xr-x 2 root wheel 512 Jun 11 06:31 ./
4 drwxr-xr-x 14 root wheel 512 Jun 11 05:03 ../
2560672 -rw-r--r-- 1 root wheel 1310720000 Jun 11 06:31 testfile
root:21# dd if=/dev/zero of=/mnt/testfile bs=128k count=10000
root:21# dd if=/mnt/testfile of=/dev/null bs=128k
10000+0 records in
10000+0 records out
1310720000 bytes transferred in 21.531 secs (60874080 bytes/sec)
root:22# time rm /mnt/testfile
0m0.26s real 0m0.00s user 0m0.08s system
root:23# dd if=/dev/zero of=/mnt/testfile bs=256k count=5000
5000+0 records in
5000+0 records out
1310720000 bytes transferred in 17.169 secs (76338052 bytes/sec)
root:24# dd if=/mnt/testfile of=/dev/null bs=256k
5000+0 records in
5000+0 records out
1310720000 bytes transferred in 22.234 secs (58949032 bytes/sec)
root:25# ls -sal /mnt | grep testfile
2560672 -rw-r--r-- 1 root wheel 1310720000 Jun 11 06:33 testfile
root:26# time rm /mnt/testfile
0m0.23s real 0m0.00s user 0m0.07s system
root:27# dd if=/dev/zero of=/mnt/testfile bs=512k count=2500
2500+0 records in
2500+0 records out
1310720000 bytes transferred in 17.258 secs (75944612 bytes/sec)
root:28# dd if=/mnt/testfile of=/dev/null bs=512k
2500+0 records in
2500+0 records out
1310720000 bytes transferred in 22.398 secs (58519012 bytes/sec)
root:29# dd if=/dev/zero of=/mnt/testfile bs=48k count=30000
30000+0 records in
30000+0 records out
1474560000 bytes transferred in 19.114 secs (77145176 bytes/sec)
root:30# dd if=/mnt/testfile of=/dev/null bs=48k
30000+0 records in
30000+0 records out
1474560000 bytes transferred in 23.789 secs (61984016 bytes/sec)
root:31# time rm /mnt/testfile
0m0.24s real 0m0.00s user 0m0.07s system
root:32# dd if=/dev/zero of=/mnt/testfile bs=8k count=100000
100000+0 records in
100000+0 records out
819200000 bytes transferred in 10.134 secs (80831228 bytes/sec)
root:33# dd if=/mnt/testfile of=/dev/null bs=8k
100000+0 records in
100000+0 records out
819200000 bytes transferred in 9.487 secs (86341860 bytes/sec)
root:34# ls -sal /mnt/testfile
1600448 -rw-r--r-- 1 root wheel 819200000 Jun 11 06:37 /mnt/testfile
root:35# time rm /mnt/testfile
0m0.09s real 0m0.00s user 0m0.04s system
root:36#
root:36# fdisk sd1
fdisk: sysctl(machdep.bios.diskinfo): Device not configured
Disk: sd1 geometry: 52612/64/255 [858642432 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 1 1 - 52611 63 255 [ 255: 858627585 ] OpenBSD
root:37#
root:38# dmesg
OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
RTC BIOS diagnostic error 28<config_unit,fixed_disk>
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 994 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 1073250304 (1048096K)
avail mem = 971907072 (949128K)
using 4278 buffers containing 53784576 bytes (52524K) of memory
RTC BIOS diagnostic error 28<config_unit,fixed_disk>
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 01/28/02, BIOS32 rev. 0 @
0xffe90, SMBIOS rev. 2.3 @ 0xfb060 (55 entries)
bios0: Dell Computer Corporation Cleared System/1000
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc730/128 (6 entries)
pcibios0: PCI Interrupt Router at 000:15:0 ("ServerWorks OSB4" rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xcc000/0x6000
0xd2000/0x1000 0xd3000/0x1000
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20HE Host" rev 0x23
pci1 at pchb0 bus 1
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20HE Host" rev 0x01
pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20HE Host" rev 0x01
pchb3 at pci0 dev 0 function 3 "ServerWorks CNB20HE Host" rev 0x01
pci2 at pchb3 bus 2
ahc0 at pci2 dev 5 function 0 "Adaptec AIC-7899 U160" rev 0x01: irq 5
scsibus0 at ahc0: 16 targets
sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST336704LC, 0004> SCSI3 0/direct fixed
sd0: 34732MB, 14100 cyl, 12 head, 420 sec, 512 bytes/sec, 71132960 sec total
safte0 at scsibus0 targ 6 lun 0: <DELL, 1x3 U2W SCSI BP, 1.21> SCSI2
3/processor fixed
ahc1 at pci2 dev 5 function 1 "Adaptec AIC-7899 U160" rev 0x01: irq 3
scsibus1 at ahc1: 16 targets
mpi0 at pci2 dev 6 function 0 "Symbios Logic FC919X" rev 0x00: irq 11
scsibus2 at mpi0: 256 targets
sd1 at scsibus2 targ 0 lun 0: <Alliance, NS-2500F, 414A> SCSI3 0/direct fixed
sd1: 419259MB, 52612 cyl, 64 head, 255 sec, 512 bytes/sec, 858642432 sec total
fxp0 at pci0 dev 1 function 0 "Intel 8255x" rev 0x08, i82559: irq 11,
address 00:b0:d0:e1:ff:bb
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci0 dev 2 function 0 "Intel 8255x" rev 0x08, i82559: irq 10,
address 00:b0:d0:e1:ff:bc
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
vga1 at pci0 dev 3 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
piixpm0 at pci0 dev 15 function 0 "ServerWorks OSB4" rev 0x50: SMI
iic0 at piixpm0
admtemp0 at iic0 addr 0x18: max1617
lmenv0 at iic0 addr 0x2c: lm81 rev 3
lmenv1 at iic0 addr 0x2d: lm81 rev 3
lmenv2 at iic0 addr 0x2e: lm81 rev 3
maxtmp0 at iic0 addr 0x4c: max6657
lmtemp0 at iic0 addr 0x4d: lm75
iic0: addr 0x4e 00=d0 01=d0 02=d0 03=d0 04=d0 05=d0 06=d0 07=d0 08=d0
pciide0 at pci0 dev 15 function 1 "ServerWorks OSB4 IDE" rev 0x00: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus3 at atapiscsi0: 2 targets
cd0 at scsibus3 targ 0 lun 0: <TEAC, CD-224E, 3.7D> SCSI0 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x04:
irq 7, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask fbed netmask ffed ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
ahc0: target 0 using 16bit transfers
ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x3f
dkcsum: sd0 matches BIOS drive 0x80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02