From owner-freebsd-fs@FreeBSD.ORG Mon Oct 13 11:44:03 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 B26C41065692 for ; Mon, 13 Oct 2008 11:44:03 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 6E8EF8FC16 for ; Mon, 13 Oct 2008 11:44:03 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 4746219E02D for ; Mon, 13 Oct 2008 13:44:01 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 3462C19E023 for ; Mon, 13 Oct 2008 13:43:59 +0200 (CEST) Message-ID: <48F334A0.3080005@quip.cz> Date: Mon, 13 Oct 2008 13:44:32 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 11:44:03 -0000 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