]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: update some of the outdated cache tiering doc 5603/head
authorZhiqiang Wang <zhiqiang.wang@intel.com>
Thu, 20 Aug 2015 02:58:45 +0000 (10:58 +0800)
committerZhiqiang Wang <zhiqiang.wang@intel.com>
Thu, 20 Aug 2015 02:58:45 +0000 (10:58 +0800)
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
doc/dev/cache-pool.rst
doc/rados/operations/cache-tiering.rst

index 718a2b325408a51a012a617e237f172c62fca25f..2d22f1f3b7df08820b0e843a667ee382cc95c37b 100644 (file)
@@ -105,13 +105,7 @@ The hit_set_count and hit_set_period define how much time each HitSet
 should cover, and how many such HitSets to store.  Binning accesses
 over time allows Ceph to independently determine whether an object was
 accessed at least once and whether it was accessed more than once over
-some time period ("age" vs "temperature").  Note that the longer the
-period and the higher the count the more RAM will be consumed by the
-ceph-osd process.  In particular, when the agent is active to flush or
-evict cache objects, all hit_set_count HitSets are loaded into RAM.
-
-Currently there is minimal benefit for hit_set_count > 1 since the
-agent does not yet act intelligently on that information.
+some time period ("age" vs "temperature").
 
 The ``min_read_recency_for_promote`` defines how many HitSets to check for the
 existence of an object when handling a read operation. The checking result is
@@ -124,6 +118,11 @@ found in any of the most recent ``min_read_recency_for_promote`` HitSets. ::
 
  ceph osd pool set {cachepool} min_read_recency_for_promote 1
 
+Note that the longer the ``hit_set_period`` and the higher the
+``min_read_recency_for_promote`` the more RAM will be consumed by the ceph-osd
+process. In particular, when the agent is active to flush or evict cache objects,
+all hit_set_count HitSets are loaded into RAM.
+
 Cache mode
 ~~~~~~~~~~
 
index e77137e7dc87c4af4471033adbefa9f2bce8f9f8..f53526600d3086b765e283fb951673f3101d4441 100644 (file)
@@ -197,10 +197,10 @@ found in any of the most recent ``min_read_recency_for_promote`` HitSets. ::
 
        ceph osd pool set {cachepool} min_read_recency_for_promote 1
 
-.. note:: The longer the period and the higher the count, the more RAM the
-   ``ceph-osd`` daemon consumes.  In particular, when the agent is active to 
-   flush or evict cache objects, all ``hit_set_count`` HitSets are loaded 
-   into RAM.
+.. note:: The longer the period and the higher the min_read_recency_for_promote,
+   the more RAM the ``ceph-osd`` daemon consumes. In particular, when the agent
+   is active to flush or evict cache objects, all ``hit_set_count`` HitSets are
+   loaded into RAM.
 
 
 Cache Sizing