HomeFreeBSD

Allow "arc_p" to drop to zero or grow to "arc_c"

Description

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

Details

Provenance
Prakash Surya <surya1@llnl.gov>Authored on Jan 3 2014, 6:20 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 22 2014, 12:10 AM
Parents
rG89c8cac49368: Disable aggressive arc_p growth by default
Branches
Unknown
Tags
Unknown