Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jul 2008 01:14:49 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        CZUCZY Gergely <phoemix@harmless.hu>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Thinking of using ZFS/FBSD for a backup system
Message-ID:  <4873F4E9.3040203@FreeBSD.org>
In-Reply-To: <20080708225449.1070252d@mort.in.publishing.hu>
References:  <bd9320b30807072315x105cf058tf9f952f0f5bb2a6a@mail.gmail.com>	<20080708100701.57031cda@twoflower.in.publishing.hu>	<bd9320b30807080131j5e0e02a4y3231d7bfa1738517@mail.gmail.com>	<4873C4FA.2020004@FreeBSD.org>	<20080708221327.5c1d0e92@mort.in.publishing.hu>	<4873CF6C.7000205@FreeBSD.org> <20080708225449.1070252d@mort.in.publishing.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
CZUCZY Gergely wrote:
> On Tue, 08 Jul 2008 22:34:52 +0200
> Kris Kennaway <kris@FreeBSD.org> wrote:
>>> I've finetuned ZFS as much as I could, I've read every little tiny
>>> bit of hint/information/whatever that was available and I couldn't
>>> get rid of those kmem_size panics in -RELEASE and -STABLE.
>> Well, it's still almost certainly because you aren't setting
>> kmem_size high enough.  As you saw, that is the only thing I tuned
>> (disabling prefetch is just for performance in my environment).
>>
>> If you can't set it high enough because you don't have enough RAM,
>> that means your system does't have enough RAM to run ZFS, not that
>> ZFS is unstable.
> I've had a box with 2GB of memory for it, and around 5-6 filesystems.
> I've set kmem_size as large as it was allowed, not a bit smaller.
> 
> Where's the guide showing how much memory should I have for a setup?
> How can "enough memory" be determined for a setup, without having
> panics?

I don't know; empirically my setup is an upper bound.  How large was "as 
large as it was allowed" for you?

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4873F4E9.3040203>