From owner-freebsd-current@FreeBSD.ORG Fri Dec 18 10:33:58 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A96AF106566B; Fri, 18 Dec 2009 10:33:58 +0000 (UTC) (envelope-from alexz@visp.ru) Received: from mail.visp.ru (srv1.visp.ru [91.215.204.2]) by mx1.freebsd.org (Postfix) with ESMTP id 5C79A8FC1E; Fri, 18 Dec 2009 10:33:58 +0000 (UTC) Received: from 91-215-205-255.static.visp.ru ([91.215.205.255] helo=zagrebin) by mail.visp.ru with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1NLa9k-0005nN-Ql; Fri, 18 Dec 2009 13:33:57 +0300 From: "Alexander Zagrebin" To: "'Stefan Esser'" References: <398F182D4FC14D43A1CFD89C4D69817C@vosz.local> <4B2B52FD.7070206@FreeBSD.org> Date: Fri, 18 Dec 2009 13:33:56 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acp/yRTxWtwX+HwHTt+R5tv7gcXixAAA5haQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 In-Reply-To: <4B2B52FD.7070206@FreeBSD.org> Cc: freebsd-current@freebsd.org Subject: RE: ZFS and UFS on the same box. Cache memory allocation issue. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 10:33:58 -0000 > > As result UFS returns memory to "free" pool and ZFS can > allocate it for ARC. > > It significantly increases ZFS performance. > > > > Is there an another workaround? > > do you know about the following ZFS loader tunables: > > vfs.zfs.arc_min="400M" > vfs.zfs.arc_max="500M" > > These should be added to /boot/loader.conf (and they can of course be > adjusted to make your system behave well ...) Yes, I do. vfs.zfs.arc_min would be used at this situation, but it seems that setting this sysctl doesn't help. -- Alexander Zagrebin