From owner-freebsd-fs@FreeBSD.ORG Mon Nov 23 02:37:01 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A537510656C2 for ; Mon, 23 Nov 2009 02:37:01 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id 59CAF8FC0A for ; Mon, 23 Nov 2009 02:37:01 +0000 (UTC) Received: by qyk6 with SMTP id 6so2467389qyk.3 for ; Sun, 22 Nov 2009 18:37:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:x-mailer :x-priority:message-id:to:cc:subject:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=UHa0QN2sNGmWS1sT/3Nd5uf4yybeSvv2+k9gocI4L08=; b=RzOWLelgPUc2wBdLProMO3cbhHdj8czG9y0+a+NaAsJPUZ4LQUEu1Wo5HLudALP9Eh gbTCM/UqrzdLzY3KzycbJxKzEhfJHkO36SqFpZGkpoHreIm5XG7m5nxwM6t/4so9iGwL fRTYIg3UxQ7XFXQ/0mYYph2z1QPwjLQeZ8Rrs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:x-mailer:x-priority:message-id:to:cc:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; b=qWTD7H/+B7ttd9uHzy/Z7LyPe0mhc9pKui/4awr+5kSfxHbZGJajM2eSahFzoTz5RD iXb6xi86NJrwKZAOHwMCgsTAbOWzg7ZkSdCEA9O6cFEs2Nb1o5LsFSDMKrLGLpLzU6wH uk7kiEXoSDc6RjTcQOhTavZ+PVWyXJ7+7+QRM= Received: by 10.224.35.130 with SMTP id p2mr2178034qad.114.1258943820606; Sun, 22 Nov 2009 18:37:00 -0800 (PST) Received: from blackcell.5p.local (ppp-21.118.dialinfree.com [209.172.21.118]) by mx.google.com with ESMTPS id 23sm1107776qyk.15.2009.11.22.18.36.55 (version=SSLv3 cipher=OTHER); Sun, 22 Nov 2009 18:36:59 -0800 (PST) Sender: "J. Hellenthal" Date: Sun, 22 Nov 2009 21:36:55 -0500 From: jhell X-Mailer: The Bat! (v4.0.24) Professional X-Priority: 3 (Normal) Message-ID: <1710337060.20091122213655@DataIX.net> To: Randy Bush In-Reply-To: References: <20091122154228.GB55532@rron.freenix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.org Subject: Re[2]: 7.2 dies in zfs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2009 02:37:01 -0000 =0D=0ASunday, November 22, 2009, 2:47:03 PM, Randy wrote: >> I've given up on ZFS on i386. Whatever tuning you could do is only >> delaying the inevitable. Even with lots of RAM, it will panic. I'd >> love being proven wrong as I also hav a 4 GB i386 with ZFS and it >> panics regularely. > i am not sure one can not tune it to stay up. it's just not clear how. > and that is the critical point. > on a 4g i386 with moderate+ load, my current parms are > vm.kmem_size=3D1500M > vm.kmem_size_max=3D2G > vfs.zfs.arc_min=3D120M > vfs.zfs.arc_max=3D900M > vfs.zfs.prefetch_disable=3D1 > and it's up over two days, wooo wooo! > i suspect that i will next lower arc max. 7.2-STABLE --- arc_min & arc_max AFAIR are auto tuned on boot by values that dont come to mind right now. Have you tried just leaving these for the system to tune.... On my i386 running 7.2-STABLE with 1G RAM 1800MHz with two 7200RPM drives I dual boot with Win7 & FreeBSD not that it makes a difference. My large drive carries FreeBSD, ZFS only with two slices of my second drive one for the ZFS cache and one for the ZIL. kmem_size is 512M and max is 768M & I dont disable the prefetch... Kernel config invludes KVA_PAGES=3D512 along with no other kernel tuning. Seems no matter what I do with this machine I can not get it to crash whatsoever. I have stress tested it with unixbench, iozone & dd(1). This machines uptime during long periods of not having to boot into (Windows for Work) purposes is around 13 days or so. ;-) I could not be more pleased other than I would like some faster write speeds when doing inbound xfers from a personal fileserver but this I just blame on lack of better hardware. Best of Luck. PS: If you go too low on arc_* you are going to inhibit your write speeds dramaticly while trying to save your memory for other purposes. --=20 Sunday, November 22, 2009 9:18:42 PM jhell