Files
linux/Documentation
Joe Thornber b155aa0e5a dm cache policy mq: tweak algorithm that decides when to promote a block
Rather than maintaining a separate promote_threshold variable that we
periodically update we now use the hit count of the oldest clean
block.  Also add a fudge factor to discourage demoting dirty blocks.

With some tests this has a sizeable difference, because the old code
was too eager to demote blocks.  For example, device-mapper-test-suite's
git_extract_cache_quick test goes from taking 190 seconds, to 142
(linear on spindle takes 250).

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2014-11-10 15:25:29 -05:00
..
2014-08-04 07:01:38 -07:00
2014-08-06 23:36:12 -07:00
2014-08-27 22:04:36 +01:00
2014-07-28 15:23:15 +02:00
2014-08-08 15:57:24 -07:00
2014-07-09 16:05:42 -07:00
2014-06-19 17:45:14 -07:00
2014-08-08 15:57:24 -07:00