summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/tsearch.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-04-10 02:35:57 +0000
committerpjd <pjd@FreeBSD.org>2007-04-10 02:35:57 +0000
commit648f58f532a7d0f21a8b274e2caec17c98a880ff (patch)
tree2e0afb886e8d0f7afaf6d324c896b1187944512a /lib/libc/stdlib/tsearch.c
parent9cb5f5d713f6ab8b5b850ee732b46aa4b9c80d49 (diff)
downloadFreeBSD-src-648f58f532a7d0f21a8b274e2caec17c98a880ff.zip
FreeBSD-src-648f58f532a7d0f21a8b274e2caec17c98a880ff.tar.gz
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."
Diffstat (limited to 'lib/libc/stdlib/tsearch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud