From owner-freebsd-current@FreeBSD.ORG Wed Nov 19 09:48:24 2008 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 9F9E6106564A for ; Wed, 19 Nov 2008 09:48:24 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 22CBA8FC13 for ; Wed, 19 Nov 2008 09:48:23 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so1322360eyi.7 for ; Wed, 19 Nov 2008 01:48:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-pgp-agent:x-mailer; bh=ctMX6eG1XawuPLmKvJ9cKuHLzdRP6HB6JgLtxbeUWug=; b=aW5r33a8Cst9i24ey1jA1lqidQq55cuTDC+bTCPPEsOYOCRCAyK1BcxnBJRHlbOoVm h3y/wIPc58FE9f/CrxjAasRd4r9E+2C3pdztpeTA9g/WS/SJZ//bjqXcyw+pDSJe7+nF bjP3tGWp5t97ApqiVMwfLMtiqm2TXRHy6Nc04= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-pgp-agent:x-mailer; b=mqw3JRXYo+lyCqAZ0Hdkk0OAH/4fBC9cda1bdr2sQg2lKZbREbJB4r0NTFf28TFnlH 8/B3y+ZxlG1QSjjnASfVUZFSVIcDEjSeKobqWUqyr/KzLSX838Jpr4u2zNq02cASapkl SShXNowsaSy9N3eNWZmYz0g7Zx5Q45NN7V+H8= Received: by 10.103.131.18 with SMTP id i18mr290389mun.120.1227088102815; Wed, 19 Nov 2008 01:48:22 -0800 (PST) Received: from ndenev.cmotd.com (blah.sun-fish.com [217.18.249.150]) by mx.google.com with ESMTPS id j9sm6876129mue.3.2008.11.19.01.48.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 19 Nov 2008 01:48:21 -0800 (PST) Message-Id: From: Nikolay Denev To: Larry Rosenman In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Wed, 19 Nov 2008 11:48:17 +0200 References: <20081117205526.GC1733@garage.freebsd.pl> <8ECD400F-BFE3-4E31-94F0-39AF5F44FDAC@gmail.com> <20081119090307.GA81236@icarus.home.lan> X-Pgp-Agent: GPGMail d53 (v53, Leopard) X-Mailer: Apple Mail (2.929.2) Cc: Jeremy Chadwick , freebsd-current@freebsd.org Subject: Re: HEADS UP: New ZFS in the tree. 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: Wed, 19 Nov 2008 09:48:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19 Nov, 2008, at 11:25 , Larry Rosenman wrote: > On Wed, 19 Nov 2008, Jeremy Chadwick wrote: > >> >> Since this is CURRENT, you should be able to increase the kmem_size >> and kmem_size_max entries to something larger than 1536M, especially >> since the box has 4GB of RAM. (You shouldn't do this on RELENG_7). >> >> You might also consider disabling prefetch; there are reports of >> peoples' boxes locking up hard (requiring a hard reset) when prefetch >> is enabled. Others (like myself) just see "better overall system >> responsiveness" when prefetch is disabled. > Just as a note, with a -CURRENT from shortly after the ZFS upgrade, > the vm.kmem* tuneables, without ANY override on my 4G amd64 box: > > vm.kmem_size_scale: 3 > vm.kmem_size_max: 4509713203 > vm.kmem_size_min: 0 > vm.kmem_size: 1381195776 > > this is with a 2T zfs array, if that matters. > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 512-248-2683 E-Mail: ler@lerctr.org > US Mail: 430 Valona Loop, Round Rock, TX 78681-3893 Well, it looks like that on -current and a 4G amd64 machine probably there is no need to tune anything. Here are my defaults with everything vm and zfs related in loader.conf commented : vm.kmem_size_max: 4509713203 vfs.zfs.arc_max: 863907840 - -- Regards, Nikolay Denev -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (Darwin) iEYEARECAAYFAkkj4OEACgkQHNAJ/fLbfrkuRgCgqwvwgFubaHeL1UL516ITcekI 6e4An2+hUp1V5Ped6BKVJ7LaAoyVahNt =tuNb -----END PGP SIGNATURE-----