ZFS kmem_map too small.

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Oct 8 05:15:40 PDT 2007


Here are some updates:

I was able to reproduce the panic by rsyncing big files and trying
bonnie++ test suggested in this thread.

Can you guys retry with this patch:

	http://people.freebsd.org/~pjd/patches/vm_kern.c.2.patch

It's a hack, yes, but allows to mitigate the problem quite well. I'm
looking for a solution that can be used for 7.0 before we find a better
fix.

BTW. To use ZFS you _must_ increase vm.kmem_size/vm.kmem_size_max.
If you have the problem discussed here and you're using standard values,
please retry with vm.kmem_size/vm.kmem_size_max set to at least 600MB in
/boot/loader.conf.

I'm not sure if it's not too late to ask re@ about increasing the
default kmem size at least on amd64. ~300MB we have there is silly
small.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
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: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20071008/10fdabbd/attachment.pgp


More information about the freebsd-fs mailing list