From owner-freebsd-questions@FreeBSD.ORG Mon Jul 30 15:19:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7CBC106564A for ; Mon, 30 Jul 2012 15:19:17 +0000 (UTC) (envelope-from kickbsd@yandex.com) Received: from forward4h.mail.yandex.net (forward4h.mail.yandex.net [84.201.186.22]) by mx1.freebsd.org (Postfix) with ESMTP id 8E42B8FC0A for ; Mon, 30 Jul 2012 15:19:17 +0000 (UTC) Received: from web9h.yandex.ru (web9h.yandex.ru [84.201.186.38]) by forward4h.mail.yandex.net (Yandex) with ESMTP id 84D031B20A9C; Mon, 30 Jul 2012 19:18:45 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1343661525; bh=THLEoKeh1GdiqEwbb2edebaEXIM+fmPLbrWCFTWKswQ=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=nBlIsBrlocmBMFZwuqIJZIJdsF5orL2Lbr5/+sMloj5zwLVG70BvY0BtXh+0DBu5N 01EDWmmE0JdbIzpKwx0ECI+fkN5aYjOiGBwQHW2X26/cteHyfdZUcHrmb20BVP+4km tA5ru0ZzamiOYIU/yMhAwv8840JzTqR+b2be2VeI= Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web9h.yandex.ru (Yandex) with ESMTP id 030125D7011B; Mon, 30 Jul 2012 19:18:44 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1343661525; bh=THLEoKeh1GdiqEwbb2edebaEXIM+fmPLbrWCFTWKswQ=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=nBlIsBrlocmBMFZwuqIJZIJdsF5orL2Lbr5/+sMloj5zwLVG70BvY0BtXh+0DBu5N 01EDWmmE0JdbIzpKwx0ECI+fkN5aYjOiGBwQHW2X26/cteHyfdZUcHrmb20BVP+4km tA5ru0ZzamiOYIU/yMhAwv8840JzTqR+b2be2VeI= Received: from leo.de.teleglobe.net (leo.de.teleglobe.net [64.86.53.146]) by web9h.yandex.ru with HTTP; Mon, 30 Jul 2012 19:18:44 +0400 From: Darren Baginski To: Stefan Johansson In-Reply-To: References: MIME-Version: 1.0 Message-Id: <195811343661524@web9h.yandex.ru> Date: Mon, 30 Jul 2012 19:18:44 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Cc: "freebsd-questions@freebsd.org" Subject: Re: mpt(4) enabling write cache on raw disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2012 15:19:18 -0000 29.07.2012, 17:00, "Stefan Johansson" : > 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