From owner-freebsd-fs@FreeBSD.ORG Mon Oct 13 20:43:13 2008 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 753F11065691 for ; Mon, 13 Oct 2008 20:43:13 +0000 (UTC) (envelope-from matt@corp.spry.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.freebsd.org (Postfix) with ESMTP id 375B08FC15 for ; Mon, 13 Oct 2008 20:43:12 +0000 (UTC) (envelope-from matt@corp.spry.com) Received: by wx-out-0506.google.com with SMTP id s17so611819wxc.7 for ; Mon, 13 Oct 2008 13:43:12 -0700 (PDT) Received: by 10.142.240.19 with SMTP id n19mr2678329wfh.332.1223929302164; Mon, 13 Oct 2008 13:21:42 -0700 (PDT) Received: from matt.spry.com (207-178-4-6.wia.com [207.178.4.6]) by mx.google.com with ESMTPS id 27sm15060879wfa.2.2008.10.13.13.21.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Oct 2008 13:21:40 -0700 (PDT) Message-Id: <9AAEBB23-75E8-49B2-BA2F-0AF98F79280F@corp.spry.com> From: Matt Simerson To: freebsd-fs@freebsd.org In-Reply-To: <48F334A0.3080005@quip.cz> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Mon, 13 Oct 2008 13:21:36 -0700 References: <48F334A0.3080005@quip.cz> X-Mailer: Apple Mail (2.929.2) Subject: Re: ZFS on backup fileserver - RAM usage 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, 13 Oct 2008 20:43:13 -0000 It all depends on your workload. If you work your backup serves hard (as I do, backing up thousands of OS instances), you'll have significant reliability problems using FreeBSD 7.1 and ZFS. After a crash that corrupted my file systems, I have moved to 8-head with Pawel's latest patch. My backup servers have between 16 and 24 disks each. The ones with 16GB of RAM crash far less frequently than my server that has only 2GB. That one is getting upgraded soon. Matt On Oct 13, 2008, at 4:44 AM, Miroslav Lachman wrote: > I am planning to install new server for backups with 4x 1TB SATA II > drives in RAIDZ. There will be about 20 separated filesystems from > one zpool, few jails with ssh (scp/sftp), rsync and maybe FTP > daemons, no other services with huge RAM utilization. As FreeBSD > 7.1(-BETA) amd64 still have some limits of kernel space memory, are > there any benefits to put more then 2GB or 3GB in this server? Will > it be more stabel or faster with for example 6GB of RAM? (I can buy > it, RAM is really cheap in these days, but will it have some sense > or is it vaste?) > > I am using this tuning on testing machine (with 2GB RAM): > vm.kmem_size="1024M" > vm.kmem_size_max="1024M" > vfs.zfs.prefetch_disable="1" > vfs.zfs.arc_min="16M" > vfs.zfs.arc_max="64M" > kern.maxvnodes="400000" > > (recommendations from http://wiki.freebsd.org/ZFSTuningGuide) > > Have somebody better results with another values? > > Miroslav Lachman > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"