Brian Behlendorf 7cb67b45f3 Add direct+indirect ARC reclaim
Under OpenSolaris all memory reclaim is done asyncronously.  Under
Linux memory reclaim is done asynchronously _and_ synchronously.
When a process allocates memory with GFP_KERNEL it explicitly allows
the kernel to do reclaim on its behalf to satify the allocation.
If that GFP_KERNEL allocation fails the kernel may take more drastic
measures to reclaim the memory such as killing user space processes.

This was observed to happen with ZFS because the ARC could consume
a large fraction of the system memory but no synchronous reclaim
could be performed on it.  The result was GFP_KERNEL allocations
could fail resulting in OOM events, and only moments latter the
arc_reclaim thread would free unused memory from the ARC.

This change leaves the arc_thread in place to manage the fundamental
ARC behavior.  But it adds a synchronous (direct) reclaim path for
the ARC which can be called when memory is badly needed.  It also
adds an asynchronous (indirect) reclaim path which is called
much more frequently to prune the ARC slab caches.
2011-04-07 09:52:10 -07:00
2011-04-05 13:00:51 -07:00
2011-03-17 16:52:04 -07:00
2011-03-31 12:20:53 -07:00
2011-04-07 09:52:10 -07:00
2010-08-31 13:41:27 -07:00
2011-04-05 13:00:51 -07:00
2011-03-17 16:52:04 -07:00
2010-09-01 15:42:32 -07:00
2010-08-31 13:41:27 -07:00
2010-05-18 10:32:23 -07:00
2011-03-17 16:52:04 -07:00
2011-03-09 15:26:48 -08:00
2008-12-01 14:49:34 -08:00
2010-09-15 09:09:37 -07:00
2011-03-31 13:49:42 -07:00
2010-08-26 14:24:34 -07:00
2011-03-25 10:08:49 -07:00

Native ZFS for Linux! ZFS is an advanced file system and volume manager which was originally developed for Solaris. It has been successfully ported to FreeBSD and now there is a functional Linux ZFS kernel port too. The port currently includes a fully functional and stable SPA, DMU, and ZVOL with a ZFS Posix Layer (ZPL) on the way!

$ ./configure
$ make pkg

Full documentation for building, configuring, and using ZFS can be found at: http://zfsonlinux.org

Description
freebsd with flexible iflib nic queues
Readme 2.6 GiB
Languages
C 60.1%
C++ 26.1%
Roff 4.9%
Shell 3%
Assembly 1.7%
Other 3.7%