From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 11 23:21:57 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1985B1065699 for ; Sat, 11 Oct 2008 23:21:57 +0000 (UTC) (envelope-from neldredge@math.ucsd.edu) Received: from euclid.ucsd.edu (euclid.ucsd.edu [132.239.145.52]) by mx1.freebsd.org (Postfix) with ESMTP id EAB378FC0A for ; Sat, 11 Oct 2008 23:21:56 +0000 (UTC) (envelope-from neldredge@math.ucsd.edu) Received: from zeno.ucsd.edu (zeno.ucsd.edu [132.239.145.22]) by euclid.ucsd.edu (8.11.7p3+Sun/8.11.7) with ESMTP id m9BNLt622709; Sat, 11 Oct 2008 16:21:55 -0700 (PDT) Received: from localhost (neldredg@localhost) by zeno.ucsd.edu (8.11.7p3+Sun/8.11.7) with ESMTP id m9BNLtA11857; Sat, 11 Oct 2008 16:21:55 -0700 (PDT) X-Authentication-Warning: zeno.ucsd.edu: neldredg owned process doing -bs Date: Sat, 11 Oct 2008 16:21:55 -0700 (PDT) From: Nate Eldredge X-X-Sender: neldredg@zeno.ucsd.edu To: Pegasus Mc Cleaft In-Reply-To: <200810112330.53214.ken@mthelicon.com> Message-ID: References: <200810112330.53214.ken@mthelicon.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org Subject: Re: ZFS boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 23:21:57 -0000 On Sat, 11 Oct 2008, Pegasus Mc Cleaft wrote: >> FWIW, my system is amd64 with 1 G of memory, which the page implies is >> insufficient. Is it really? > > This may be purely subjective, as I have never bench marked the speeds, but > when I was first testing zfs on a i386 machine with 1gig ram, I thought the > performance was mediocre. However, when I loaded the system on a quad core - > core2 with 8 gigs ram, I was quite impressed. I put localized changes in my > /boot/loader.conf to give the kernel more breathing room and disabled the > prefetch for zfs. > > #more loader.conf > vm.kmem_size_max="1073741824" > vm.kmem_size="1073741824" > vfs.zfs.prefetch_disable=1 I was somewhat confused by the suggestions on the wiki. Do the kmem_size sysctls affect the allocation of *memory* or of *address space*? It seems a bit much to reserve 1 G of memory solely for the use of the kernel, expecially in my case when that's all I have :) But on amd64, it's welcome to have terabytes of address space if it will help. > The best advice I can give is for you to find an old machine and test-bed zfs > for yourself. I personally have been pleased with it and It has saved my > machines data 4 times already (dieing hardware, unexpected power bounces, etc) Sure, but if my "new" machine isn't studly enough to run it, there's no hope for an old machine. So I'm trying to figure out what I actually need. -- Nate Eldredge neldredge@math.ucsd.edu