Freebsd 8.0 kmem map too small

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue May 11 22:38:28 UTC 2010


On Tue, May 11, 2010 at 04:43:59PM +0300, Alexander V. Ribchansky wrote:
> As Artem advised, I comment out
> 
> CFLAGS+=-DZIO_USE_UMA in sys/modules/zfs/Makefile
> 
> and things like to be "back in USSR :)" if seriously - all become as good 
> as before 18.04.2010 mega ZFS-MFC.
> While with UMA, Wired memory constantly grow up to kmem_max limit and than 
> PANIC! :(, without it, Wired is approx 380 - 450M on typical 8-STABLE KDE3 
> desktop with plain ZFS.
> So or there is something wrong with my (and many many other's people's) 
> hands or UMA broke ZFS at all.
> 
> Thank you, Artem for hint! I already start to think, that revert to 
> pre-18.04.2010 8-STABLE is the only solution.

Could you try the following patch without disabling UMA?

	http://people.freebsd.org/~pjd/patches/vfs_subr.c.7.patch

It works quite well for me.

Also we still don't have back-pressure mechanism when arc_meta_limit is
exceeded. OpenSolaris frees namecache entires then and we currently do
nothing. I'll experiment with a bit and let you know if the patch above
doesn't fix your problem still.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20100511/117f5aea/attachment.pgp


More information about the freebsd-fs mailing list