From owner-freebsd-fs@FreeBSD.ORG Mon Nov 23 02:36:22 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 757E4106566B for ; Mon, 23 Nov 2009 02:36:22 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 249818FC1E for ; Mon, 23 Nov 2009 02:36:21 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so1128139qwb.7 for ; Sun, 22 Nov 2009 18:36:21 -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=u/ZYeVBdOzOUYmb98Tg00E9Qhz/weu3M5rqDxNlvNRuq+/t6+JZUqsOZKeolD8W6l5 ZCwRDda4e22fxtPCHoc3BYb0OG8osMpbWFWarxWEfHcs2MBtmrjT5OjsxUEx+28iFmeD 51ZxJ9i60bKDrn0Dk+5Sr5fK68Y8TFEYK0sZ0= 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=P5dhus8xtcjDi4cXo5X10HGb2mSpZ8ClwxKCnpFtxVAKN+MuIADDWQJhRNAT6lQdzQ IxU3ow3lyipg8PdOCWlfApFb2YwlM37js5JZlyNbH87ZeD8s7o6tjtz+lvb14g9ea+s3 ot4w7AXCtx7qeRXkl77WgS+j5ap2c4zVogKRg= Received: by 10.224.36.161 with SMTP id t33mr2157260qad.346.1258943781477; Sun, 22 Nov 2009 18:36:21 -0800 (PST) Received: from blackcell.5p.local (ppp-21.118.dialinfree.com [209.172.21.118]) by mx.google.com with ESMTPS id 20sm1899735qyk.5.2009.11.22.18.36.17 (version=SSLv3 cipher=OTHER); Sun, 22 Nov 2009 18:36:19 -0800 (PST) Sender: "J. Hellenthal" Date: Sun, 22 Nov 2009 21:36:18 -0500 From: jhell X-Mailer: The Bat! (v4.0.24) Professional X-Priority: 3 (Normal) Message-ID: <917839072.20091122213618@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:36:22 -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