LSI - MR-Fusion controller driver <mrsas> patch and man page

Borja Marcos borjam at sarenet.es
Thu Mar 27 09:42:50 UTC 2014


On Mar 25, 2014, at 6:46 PM, Doug Ambrisko wrote:

> Quick question, what version of FreeBSD are you using?  I netbooted
> current and then did:
> 	newfs /dev/da4
> 	mount /dev/da4 /mnt
> 	cd /mnt ; bonnie++ -u 0
> da4 is a Toshiba 300G SAS drive.  This worked okay.

Sorry for the delay, I had to rearrange some stuff to repeat the tests.

For me, it corrupts data with -CURRENT, -STABLE (the one which has a backport of the mfi driver from -CURRENT) and 10-RELEASE.

I noticed (I didn't check it when I ran the first tests, as data corruption was enough of a problem) that the controller is negotiating just
150 MB/s. Not sure if the driver is lying, though. 

# camcontrol devlist
<ATA Samsung SSD 840 AB0Q>         at scbus0 target 3 lun 0 (da0,pass0)
<ATA Samsung SSD 840 BB0Q>         at scbus0 target 4 lun 0 (da1,pass1)
<IBM-ESXS SAS EXP BP 61A6>         at scbus1 target 8 lun 0 (ses0,pass2)
<IBM-ESXS SAS EXP BP 61A6>         at scbus1 target 12 lun 0 (ses1,pass3)
<ATA Samsung SSD 840 BB0Q>         at scbus1 target 15 lun 0 (da2,pass4)
<ATA Samsung SSD 840 BB0Q>         at scbus1 target 16 lun 0 (da3,pass5)
<ATA Samsung SSD 840 BB0Q>         at scbus1 target 17 lun 0 (da4,pass6)
<ATA Samsung SSD 840 BB0Q>         at scbus1 target 32 lun 0 (da5,pass7)
<ATA Samsung SSD 840 BB0Q>         at scbus1 target 33 lun 0 (da6,pass8)
<ATA Samsung SSD 840 BB0Q>         at scbus1 target 34 lun 0 (da7,pass9)
<ATA Samsung SSD 840 BB0Q>         at scbus1 target 35 lun 0 (da8,pass10)
<ATA Samsung SSD 840 BB0Q>         at scbus1 target 36 lun 0 (da9,pass11)
<ATA Samsung SSD 840 BB0Q>         at scbus1 target 37 lun 0 (da10,pass12)
<SEAGATE ST9146803SS FS03>         at scbus1 target 39 lun 0 (da11,pass13)
<SEAGATE ST9146803SS FS03>         at scbus1 target 40 lun 0 (da12,pass14)
<SEAGATE ST9146803SS FS03>         at scbus1 target 41 lun 0 (da13,pass15)
<SEAGATE ST9146803SS FS03>         at scbus1 target 42 lun 0 (da14,pass16)


# camcontrol inq ses0
pass2: <IBM-ESXS SAS EXP BP 61A6> Fixed Enclosure Services SCSI-4 device 
pass2: 150.000MB/s transfers, Command Queueing Enabled

# camcontrol inq da8
pass10: <ATA Samsung SSD 840 BB0Q> Fixed Direct Access SCSI-6 device 
pass10: Serial Number S1D9NEADA08547X     
pass10: 150.000MB/s transfers, Command Queueing Enabled

But I've noticed that disk transfers to one of the SSDs peak around 200 MB/s, while they reach 400 MB/s with mps and
a LSI2008 card replacing the Invader.

Looking for the mrsas driver to download I stumbled upon this:
http://www.lsi.com/downloads/Public/RAID%20Controllers/RAID%20Controllers%20Common%20Files/6.602.01.00_MR_Free-BSD_Driver.txt

Bug Fixes/Enhancements:  
=======================
SCGCQ00523785 (CSET) - Data Corruption observed on JBODs while running IOs with 32k block size.
SCGCQ00459075 (DFCT) - On converting from UG to JBOD and vice versa, fw sees reply msQOverflow and hit montask.


I'll try to install this driver on my 10-STABLE and see how it goes.





Borja.



More information about the freebsd-scsi mailing list