]> granicus.if.org Git - zfs/commit
Allow "arc_p" to drop to zero or grow to "arc_c"
authorPrakash Surya <surya1@llnl.gov>
Fri, 3 Jan 2014 18:20:21 +0000 (10:20 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 22 Feb 2014 00:10:27 +0000 (16:10 -0800)
commitf521ce1b9c6102f9175f26548d4c521e115f8d60
treef96e0ab3f4190b7c4273c3a8bea1a45afd7843f0
parent89c8cac493687875eecc80a4a03f667d98dd82d0
Allow "arc_p" to drop to zero or grow to "arc_c"

Setting a limit on the minimum value of "arc_p" has been shown to have
detrimental effects on the arc hit rate for certain "metadata" intensive
workloads. Specifically, this has been exhibited with a workload that
constantly dirties new "metadata" but also frequently touches a "small"
amount of mfu data (e.g. mkdir's).

What is seen is that the new anon data throttles the mfu list to a
negligible size (because arc_p > anon + mru in arc_get_data_buf), even
though the mfu ghost list receives a constant stream of hits. To remedy
this, arc_p is now allowed to drop to zero if the algorithm deems it
necessary.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2110
man/man5/zfs-module-parameters.5
module/zfs/arc.c