1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys/compat
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
..
freebsd32 Regen. 2006-12-20 19:39:10 +00:00
ia32 Move some declaration of 32-bit signal structures into file 2006-10-05 01:56:11 +00:00
linprocfs Fix kernel module dependency. linprocfs depends on sysvmsg and sysvsem. 2007-04-06 18:15:56 +00:00
linsysfs Add a pn_destroy field to pfs_node. This field points to a destructor 2007-03-12 12:16:52 +00:00
linux Add the CAM 'SG' peripheral device. This device implements a subset of the 2007-04-07 19:40:58 +00:00
ndis We have strcasecmp() in libkern now. 2007-04-06 11:18:57 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
opensolaris Try to stabilize ZFS with regard to memory consumption: 2007-04-10 02:35:57 +00:00
pecoff remove dead code 2005-02-22 01:26:48 +00:00
svr4 Replace custom file descriptor array sleep lock constructed using a mutex 2007-04-04 09:11:34 +00:00