Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2008 11:10:43 -0800
From:      Rudy <crapsh@monkeybrains.net>
To:        Bartosz Stec <admin@kkip.pl>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   (actually ZFS discussion) Re: Will XFS be adopted
Message-ID:  <492464B3.4050306@monkeybrains.net>
In-Reply-To: <4923E977.8030107@kkip.pl>
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>	<b41c75520811190106w7f951760m95c12358f1008c5b@mail.gmail.com> <4923E977.8030107@kkip.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
 
> 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 **
---------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?492464B3.4050306>