freebsd-dev/sys/cddl/contrib/opensolaris/uts/common
Pawel Jakub Dawidek 2d03e33170 Try to stabilize ZFS with regard to memory consumption:
- Allow to shrink ARC down to 16MB (instead of 64MB).
- Set arc_max to 1/2 of kmem_map by default.
- Start freeing things earlier when low memory situation is detected.
- Serialize execution of arc_lowmem().

I decided to setup minimum ZFS memory requirements to 512MB of RAM and 256MB of
kmem_map size. If there is less RAM or kmem_map, a warning will be printed.
World is cruel, be no better. In other words: modern file system requires
modern hardware:)

From ZFS administration guide:

"Currently the minimum amount of memory recommended to install a Solaris
 system is 512 Mbytes. However, for good ZFS performance, at least one
 Gbyte or more of memory is recommended."
2007-04-10 02:35:57 +00:00
..
fs Try to stabilize ZFS with regard to memory consumption: 2007-04-10 02:35:57 +00:00
os Limit the number of system taskq threads to the number of CPUs. 2007-04-07 21:41:11 +00:00
rpc
sys Move zpool.cache from /etc/zfs/ to /boot/zfs/, so we can keep it on 2007-04-08 23:59:39 +00:00
zmod
Makefile.files