Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Apr 2007 15:59:02 +0200
From:      "Florian C. Smeets" <flo@kasimir.com>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-fs@freebsd.org, freebsd-current@freebsd.org, ticso@cicely.de
Subject:   Re: ZFS committed to the FreeBSD base.
Message-ID:  <4617A3A6.60804@kasimir.com>
In-Reply-To: <20070407131353.GE63916@garage.freebsd.pl>
References:  <20070406025700.GB98545@garage.freebsd.pl>	<20070407025644.GC8831@cicely12.cicely.de> <20070407131353.GE63916@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pawel Jakub Dawidek wrote:
> On Sat, Apr 07, 2007 at 04:56:45AM +0200, Bernd Walter wrote:
>> My sandbox just has 128MB RAM so kmem was set to ~40M.
>> After raising kmem to 80M it survived copying the file, but paniced
>> again while tar -xvzf the file into the same pool.
>> vfs.zfs.vdev.cache.size is unchanged at 10M.
> 
> 128MB RAM of suggested minimum in ZFS requirements, but it may be not
> enough... Minimum of ARC is set to 1/8 of all memory or 64MB (whichever
> is more). Could you locate these lines in
> sys/contrib/opensolaris/uts/common/fs/zfs/arc.c file:
> 
> 	/* set min cache to 1/32 of all memory, or 64MB, whichever is more */
> 	arc_c_min = MAX(arc_c / 4, 64<<20);
> 
> Change 64 to eg. 32, recompile and retest?
> 

Hi Pawel,

i had the same problems like Bernd while trying to copy the src tree to
a ZFS volume. I have 384MB RAM but i got the same "kmem_map: too small"
panic. I compiled my kernel like you proposed and now i am able to copy
anything to the volume without panic :-)

Regards,
Florian

P.S. Thanks for all the work on ZFS!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFGF6OmA+1tjUZ1YScRAnSMAJ4y27u0nGu9L4RgDBclxKh5q6Z/RgCgjbi7
1Ri2CZfH8YKqj8Bdmx7bedM=
=PUsh
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4617A3A6.60804>