Date: Wed, 22 Jun 2016 08:58:08 +0200 From: Borja Marcos <borjam@sarenet.es> To: Jason Zhang <jasonzhang@cyphytech.com> Cc: Mark Felder <feld@FreeBSD.org>, freebsd-performance@freebsd.org, freebsd-stable@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: mfi driver performance too bad on LSI MegaRAID SAS 9260-8i Message-ID: <B2239257-E136-4918-8FA3-1EE51BC50FB4@sarenet.es> In-Reply-To: <1790833A-9292-4A46-B43C-BF41C7C801BE@cyphytech.com> References: <16CD100A-3BD0-47BA-A91E-F445E5DF6DBC@cyphytech.com> <1466527001.2694442.644278905.18E236CD@webmail.messagingengine.com> <1790833A-9292-4A46-B43C-BF41C7C801BE@cyphytech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 22 Jun 2016, at 04:08, Jason Zhang <jasonzhang@cyphytech.com> wrote: > > Mark, > > Thanks > > We have same RAID setting both on FreeBSD and CentOS including cache setting. In FreeBSD, I enabled the write cache but the performance is the same. > > We don’t use ZFS or UFS, and test the performance on the RAW GEOM disk “mfidx” exported by mfi driver. We observed the “gstat” result and found that the write latency > is too high. When we “dd" the disk with 8k, it is lower than 1ms, but it is 6ms on 64kb write. It seems that each single write operation is very slow. But I don’t know > whether it is a driver problem or not. There is an option you can use (I do it all the time!) to make the card behave as a plain HBA so that the disks are handled by the “da” driver. Add this to /boot/loader.conf hw.mfi.allow_cam_disk_passthrough=1 mfip_load=“YES" And do the tests accessing the disks as “da”. To avoid confusions, it’s better to make sure the disks are not part of a “jbod” or logical volume configuration. Borja.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B2239257-E136-4918-8FA3-1EE51BC50FB4>
