Hi folks, I already sent this to netbsd-users but didn“t get an answer. The Netbsd mpt driver in release 5.0.2 and 5.1 does perform extremely slow on LSI Logic 1030 RAID controllers. Some findings:
Write speed: # dd if=/dev/zero of=myfile bs=4096 count=10000 10000+0 records in 10000+0 records out 40960000 bytes transferred in 12.762 secs (3209528 bytes/sec) Read speed after reboot: # dd if=myfile of=/dev/null 80000+0 records in 80000+0 records out 40960000 bytes transferred in 6.929 secs (5911386 bytes/sec) # dmesg | egrep 'sd0|ses0|mpt' mpt0 at pci2 dev 5 function 0: vendor 0x1000 product 0x0030 mpt0: interrupting at ioapic1 pin 1 scsibus0 at mpt0: 16 targets, 8 luns per target sd0 at scsibus0 target 0 lun 0: <LSILOGIC, 1030 IM, 1000> disk fixed sd0: fabricating a geometry sd0: 69400 MB, 69400 cyl, 64 head, 32 sec, 512 bytes/sect x 142131200 sectors sd0: fabricating a geometry sd0: sync (6.25ns offset 127), 16-bit (320.000MB/s) transfers, tagged queueing ses0 at scsibus0 target 8 lun 0: <SDR, GEM318, 0> processor fixed ses0: SAF-TE Compliant Device ses0: async, 8-bit transfers boot device: sd0 root on sd0a dumps on sd0b sd0(mpt0:0:0:0): Check Condition on CDB: 0x1a 08 48 00 17 00 sd0(mpt0:0:0:0): Check Condition on CDB: 0x1a 08 48 00 17 00 sd0(mpt0:0:0:0): Check Condition on CDB: 0x1a 08 48 00 17 00 # pcictl pci2 list 002:05:0: Symbios Logic 53c1020/53c1030 (SCSI mass storage, revision 0xc1) # dkctl sd0 strategy: /dev/rsd0d: priocscan cache: /dev/rsd0d: read cache enabled /dev/rsd0d: read cache enable is not changeable /dev/rsd0d: write cache enable is not changeable /dev/rsd0d: cache parameters are not savable wedges: /dev/rsd0d: no wedges configured Obviously, there is no write cache. FreeBSDs mpt driver is performing much faster (over 60MB/s). What could be wrong here? Regards, Stephan