It depends on your workload, which in turn depends on your hardware.
The harder you can drive ZFS the more memory it will require.
Tuning is an interactive process. If 512MB is not enough kmem_map, then
increase it. Repeat as necessary.
ZFS is a memory hog. There is nothing that can really be done about
this, and it is just not a good fit on i386 because of limitations of
the hardware architecture. Note that Sun does not recommend using ZFS
on a 32-bit system either, for the same reasons. It is unlikely this
can really be fixed, although mitigation strategies like the vm_kern.c
patch are possible.
OK.
Increasing vm.kmem_size.max to 512MB by default has other implications,
but it is something that should be considered.
> Better yet, why not
That is answered in the tuning guide. Tuning KVA_PAGES by default is
not appropriate.
This was in reply to a comment you made about the vm_kern.c patch
affecting users of 7.0-RELEASE.
Anyway, to sum up, ZFS has known bugs, some of which are unresolved by
the authors, and it is difficult to make it work on i386. It is likely
that the bugs will be fixed over time (obviously), but amd64 will always
be a better choice than i386 for using ZFS because you will not be
continually bumping up against the hardware limitations.
Kris
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"