summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2013-02-01 09:33:04 -0800
committerBrian Behlendorf <[email protected]>2013-02-01 11:17:14 -0800
commit0c5493d47059f25ce9dbf20c9fe87655f55102a1 (patch)
tree4d9643b3b516172560b2220748dd72820f849d2d /lib
parent1f7c30df8fe2ca778a83a83ba7f98de883881d42 (diff)
Add zfs_arc_memory_throttle_disable module option
The way in which virtual box ab(uses) memory can throw off the free memory calculation in arc_memory_throttle(). The result is the txg_sync thread will effectively spin waiting for memory to be released even though there's lots of memory on the system. To handle this case I'm adding a zfs_arc_memory_throttle_disable module option largely for virtual box users. Setting this option disables free memory checks which allows the txg_sync thread to make progress. By default this option is disabled to preserve the current behavior. However, because Linux supports direct memory reclaim it's doubtful throttling due to perceived memory pressure is ever a good idea. We should enable this option by default once we've done enough real world testing to convince ourselve there aren't any unexpected side effects. Signed-off-by: Brian Behlendorf <[email protected]> Closes #938
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions