From owner-freebsd-current@FreeBSD.ORG Tue Jan 8 07:56:20 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 E701416A41A for ; Tue, 8 Jan 2008 07:56:20 +0000 (UTC) (envelope-from davidt@yadt.co.uk) Received: from outcold.yadt.co.uk (outcold.yadt.co.uk [81.187.204.178]) by mx1.freebsd.org (Postfix) with ESMTP id 9F8FD13C43E for ; Tue, 8 Jan 2008 07:56:20 +0000 (UTC) (envelope-from davidt@yadt.co.uk) Received: from localhost (localhost [127.0.0.1]) by outcold.yadt.co.uk (Postfix) with ESMTP id 41DA53F1C; Tue, 8 Jan 2008 07:56:19 +0000 (GMT) X-Virus-Scanned: amavisd-new at yadt.co.uk Received: from outcold.yadt.co.uk ([127.0.0.1]) by localhost (outcold.yadt.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PZ5qUsM77QnG; Tue, 8 Jan 2008 07:56:17 +0000 (GMT) Received: by outcold.yadt.co.uk (Postfix, from userid 1001) id 0D9283F15; Tue, 8 Jan 2008 07:56:17 +0000 (GMT) Date: Tue, 8 Jan 2008 07:56:17 +0000 From: David Taylor To: Adam McDougall Message-ID: <20080108075616.GA21296@outcold.yadt.co.uk> Mail-Followup-To: Adam McDougall , freebsd-current@FreeBSD.org References: <4780D289.7020509@FreeBSD.org> <4780E546.9050303@FreeBSD.org> <9bbcef730801060651y489f1f9bw269d0968407dd8fb@mail.gmail.com> <4780EF09.4090908@FreeBSD.org> <47810BE3.4080601@FreeBSD.org> <4781227B.5020800@rcn.com> <47814EAB.70405@FreeBSD.org> <20080106233254.GE1138@egr.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20080106233254.GE1138@egr.msu.edu> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-current@FreeBSD.org Subject: Re: Should we simply disallow ZFS on FreeBSD/i386? 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: Tue, 08 Jan 2008 07:56:21 -0000 On Sun, 06 Jan 2008, Adam McDougall wrote: > > The amount of kmem required for a particular workload on any one machine can vary > alot. Believe it or not, it is one of my AMD64 systems that I had to increase kmem > to 1.6G to prevent kmem panics (it does some heavy nightly rsyncs); versus just > having kmem set to 1G on a i386 system that constantly serves out files to the > internet with various rsyncs running through the day. Note that you're probably running into an integer overflow in arc.c if vm.kmem_size is set to 1GB or higher on i386. As a result kstat.zfs.misc.arcstats.size won't grow above kstat.zfs.misc.arcstats.c_min... I posted to freebsd-fs about it, but haven't heard anything from pjd, yet. Sadly, after fixing that problem I started encountering the kmem_map too small panics. -- David Taylor