Re: ZFS committed to the FreeBSD base.

From: Bernd Walter <ticso_at_cicely12.cicely.de>
Date: Sat, 7 Apr 2007 18:58:00 +0200
On Sat, Apr 07, 2007 at 03:59:02PM +0200, Florian C. Smeets wrote:
> -----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 :-)

I had increased RAM to 384 and still had a panic with default kmem
(IIRC around 100M) and even increasing kmem to 160M did help a long
time, but still produced the panic after a while.
I don't think 64M applies here as the real limit.

-- 
B.Walter                http://www.bwct.de      http://www.fizon.de
bernd_at_bwct.de           info_at_bwct.de            support_at_fizon.de
Received on Sat Apr 07 2007 - 14:58:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC