From owner-freebsd-stable@FreeBSD.ORG Wed Nov 19 19:46:49 2008 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 BB17E1065673 for ; Wed, 19 Nov 2008 19:46:49 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from ape.monkeybrains.net (mail.monkeybrains.net [208.69.40.9]) by mx1.freebsd.org (Postfix) with ESMTP id A16548FC0C for ; Wed, 19 Nov 2008 19:46:49 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from [192.168.2.105] (adsl-76-203-175-18.dsl.pltn13.sbcglobal.net [76.203.175.18]) (authenticated bits=0) by ape.monkeybrains.net (8.14.1/8.14.1) with ESMTP id mAJJA5aX074080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Nov 2008 11:10:06 -0800 (PST) (envelope-from crapsh@monkeybrains.net) Message-ID: <492464B3.4050306@monkeybrains.net> Date: Wed, 19 Nov 2008 11:10:43 -0800 From: Rudy User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Bartosz Stec References: <20081109174303.GA5146@ourbrains.org> <20081109184349.GG51239@server.vk2pj.dyndns.org> <4920D879.3070806@jrv.org> <20081117050441.GA16855@ourbrains.org> <20081118175210.GA3753@hyperion.scode.org> <20081119001742.GA21835@ourbrains.org> <49235D86.4050106@modulus.org> <86bpwcp1d8.fsf@ds4.des.no> <4923D460.5020900@kkip.pl> <4923E977.8030107@kkip.pl> In-Reply-To: <4923E977.8030107@kkip.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on pita.monkeybrains.net X-Virus-Status: Clean Cc: FreeBSD Stable Subject: (actually ZFS discussion) Re: Will XFS be adopted 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: Wed, 19 Nov 2008 19:46:49 -0000 > Well it's not simple indeed. I use ZFS on my home (not critical) box > (RAIDZ1). After 4 weeks uptime with varied workload I assumed it's > stable. Unfortunately ZFS crashed next week ;) Tune your system for ZFS and the crashes will go away. Read this: http://wiki.freebsd.org/ZFSTuningGuide A running system with ZFS caches a lot of disk access (making it really fast for some applications). WHen you run the 'top' command, you will see that WIRED amount of ram is higher than a system without ZFS. Mem: 161M Active, 114M Inact, 639M Wired, 1084K Cache, 199M Buf, 1086M Free What applications will benefit from ZFS? Read this article on MySQL and ZFS: http://dev.mysql.com/tech-resources/articles/mysql-zfs.html It proposed that you allocate less ram to MySQL in your my.cnf and let ZFS take care of caching. Here are my loader.conf settings. zfs_load="YES" # ZFS tunings vm.kmem_size="800M" vm.kmem_size_max="800M" # http://wiki.freebsd.org/ZFSTuningGuide vfs.zfs.arc_max="160M" vfs.zfs.vdev.cache.size="5M" # and I have my root on zfs... vfs.root.mountfrom="zfs:tank/root" - Rudy --------------------------------- ** monkeybrains.net colocation ** ---------------------------------