Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2012 19:18:44 +0400
From:      Darren Baginski <kickbsd@yandex.com>
To:        Stefan Johansson <steve.johansson@telia.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: mpt(4) enabling write cache on raw disk
Message-ID:  <195811343661524@web9h.yandex.ru>
In-Reply-To: <AF5AA83A-0DCA-4900-8A54-3FB83F93460E@telia.com>
References:  <AF5AA83A-0DCA-4900-8A54-3FB83F93460E@telia.com>

next in thread | previous in thread | raw e-mail | index | archive | help


29.07.2012, 17:00, "Stefan Johansson" <steve.johansson@telia.com>:
> Hello!
>
> I have a HP 3080X SAS/SATA 8 port mpt(4) controller card that I want to use in
> a ZFS setup.
> My problem is that the write cache is not enabled on disks that are not a part of a RAID volume (RAID0 or RAID1).
> The write speed is limited to about 20MB/s with both UFS and ZFS.
> If I create a RAID0 volume with mptutil(8) and then destroy it, write cache gets enabled and the write speed reaches about 60MB/s with UFS and ZFS.
> Unfortunately it won't survive a reboot.
>
> Has anyone else seen this problem with mpt(4) controllers and/or knows how to fix it?

I have to create 8 raid0 volumes consisting of one drive, and then enable 
#/usr/sbin/mptutil volume  cache  0 enable
#/usr/sbin/mptutil volume  cache  1 enable





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?195811343661524>