From owner-freebsd-stable@FreeBSD.ORG Tue Feb 8 15:30:39 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06A4A1065673 for ; Tue, 8 Feb 2011 15:30:39 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id A830F8FC15 for ; Tue, 8 Feb 2011 15:30:38 +0000 (UTC) Received: by qyk8 with SMTP id 8so432195qyk.13 for ; Tue, 08 Feb 2011 07:30:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=A+nGJAOgERQcwmU6QYDBob29iBy0Vc1pzh5COpR5utA=; b=QJifK0ObNcHY1Arc1vwSYZyA5l84CC8e5LD0WV11btA6Rpjfp9C1y3g1n9aOm1jPTk +uBa5r1co/EABMdNelVv1TgQzQWv0S6kKLCgpGfNRaexANzyhfVlqHe5Rf0dyg3zxq4N 4VEQWGxSKsvQric2beNiN/FwEli4HhzkmESpM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=hlEMyBpy9sBb/v8b4/djGIXlwq4kcwvQyDcmFH7nnCzCbIJXzHLlWA2TgBom0nBHmN rD25utqwLyaga/qNd2h3/ywtMIUOE1yihUI47mX2qSDR3sMM3dAxDVw8yVNoItn1QM8+ hpmE5X24QeLmLRHyI9XHW038TX81fkaKqKx7Q= MIME-Version: 1.0 Received: by 10.229.190.204 with SMTP id dj12mr12230767qcb.101.1297177258220; Tue, 08 Feb 2011 07:00:58 -0800 (PST) Received: by 10.229.246.8 with HTTP; Tue, 8 Feb 2011 07:00:58 -0800 (PST) In-Reply-To: <6E948342-DEFF-4DEB-B0DC-990B647549EB@punkt.de> References: <1297026074.23922.8.camel@ubuntu> <20110207045501.GA15568@icarus.home.lan> <1297065041.754.12.camel@ubuntu> <20110207085537.GA20545@icarus.home.lan> <6E948342-DEFF-4DEB-B0DC-990B647549EB@punkt.de> Date: Tue, 8 Feb 2011 15:00:58 +0000 Message-ID: From: Tom Evans To: "Patrick M. Hausen" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable Subject: Re: 8.1 amd64 lockup (maybe zfs or disk related) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2011 15:30:39 -0000 On Tue, Feb 8, 2011 at 2:52 PM, Patrick M. Hausen wrote: > Hello, Jeremy, > > Am 07.02.2011 um 09:55 schrieb Jeremy Chadwick: >> The Wiki is outdated, I'm sorry to say. =C2=A0Given that you have 8GB RA= M, I >> would recommend these settings. >> ... > > Thank you very much for the insight. A current summary of recommended > settings is very much appreciated. > > Could you add values for amd64 machines with 4 and 16 GB of memory? > That would help me a lot. Storage around 4 and 11 TB, respectively. > Access pattern: backup storage. > > Kind regards, > Patrick My home file server is similar in spec to that - Core 2 Duo, 4 GB RAM and running 8.2-RC3/amd64, with a pool with two 6 x 1.5 TB raidz arrays, for a total capacity of ~16 TB. The only ZFS settings I have changed from default are: # Allow prefetch (normally disabled for 4GB or less RAM) vfs.zfs.prefetch_disable=3D0 # Don't let ZFS use UMA, restricts available memory vfs.zfs.zio.use_uma=3D0 I think vfs.zfs.zio.use_uma defaults to 0 now anyway. I've never had a crash related to memory pressure or any other ZFS issue - it doesn't get that stressed. YMMV! Cheers Tom