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-09-27 09:14:51 -06:00
2014-06-23 16:47:44 -07:00
2014-07-12 00:07:05 +02:00
2014-08-08 11:34:32 -07:00
2014-08-05 09:47:45 +02:00
2014-09-27 09:14:50 -06:00
2014-08-08 15:57:17 -07:00
2014-07-07 01:22:19 +02:00
2014-11-10 15:25:29 -05:00
2014-09-15 15:12:01 -07:00
2014-08-15 09:50:41 +10:00
2014-07-11 17:56:55 -07:00
2014-07-27 17:01:12 -03:00
2014-09-07 15:21:13 -07:00
2014-07-17 18:43:40 -07:00
2014-08-29 08:53:53 +02:00
2014-08-04 07:01:38 -07:00
2014-09-07 15:21:13 -07:00
2014-08-10 20:36:00 -07:00
2014-08-06 23:36:12 -07:00
2014-08-09 09:13:40 -07:00
2014-08-14 11:14:29 -06:00
2014-08-29 16:28:17 -07:00
2014-08-16 01:23:56 -07:00
2014-07-11 18:31:12 -07:00
2014-09-07 15:21:13 -07:00
2014-08-02 19:41:13 -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-08-06 18:01:24 -07:00
2014-08-06 21:03:53 -07:00
2014-08-06 21:03:53 -07:00
2014-08-04 15:20:48 +02:00
2014-08-08 15:57:24 -07:00
2014-07-23 15:07:13 -07:00
2014-08-06 18:01:20 -07:00
2014-07-09 16:05:42 -07:00
2014-07-26 11:55:10 -03:00
2014-08-05 09:58:11 +02:00
2014-06-19 17:45:14 -07:00
2014-08-05 22:43:21 +02:00
2014-08-10 09:09:26 +02:00
2014-08-06 21:03:53 -07:00
2014-07-12 11:30:36 -07:00
2014-08-28 11:57:24 +05:30
2014-07-25 14:21:23 +05:30
2014-06-29 13:38:33 -07:00
2014-09-08 14:33:09 -07:00
2014-07-08 08:32:51 -07:00
2014-06-23 16:47:43 -07:00
2014-08-08 15:57:24 -07:00
2014-07-22 12:46:11 +05:30
2014-07-09 15:54:27 -07:00
2014-09-07 15:21:13 -07:00
2014-08-26 13:49:57 -07:00
2014-08-05 15:28:48 +10:00