diff options
author | Mike Snitzer <snitzer@redhat.com> | 2015-06-17 18:43:38 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-06-17 19:40:38 +0300 |
commit | bccab6a01afc26f53d91762d78153513cad10b29 (patch) | |
tree | a93caf5032b84668099e2ab35b7593cada04113c /drivers/md/dm-stats.c | |
parent | 6096d91af0b65a3967139b32d5adbb3647858a26 (diff) | |
download | linux-bccab6a01afc26f53d91762d78153513cad10b29.tar.xz |
dm cache: switch the "default" cache replacement policy from mq to smq
The Stochastic multiqueue (SMQ) policy (vs MQ) offers the promise of
less memory utilization, improved performance and increased adaptability
in the face of changing workloads. SMQ also does not have any
cumbersome tuning knobs.
Users may switch from "mq" to "smq" simply by appropriately reloading a
DM table that is using the cache target. Doing so will cause all of the
mq policy's hints to be dropped. Also, performance of the cache may
degrade slightly until smq recalculates the origin device's hotspots
that should be cached.
In the future the "mq" policy will just silently make use of "smq" and
the mq code will be removed.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Diffstat (limited to 'drivers/md/dm-stats.c')
0 files changed, 0 insertions, 0 deletions