]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
dedup-tool: add sampling ratio to crawling
authorJinyongHa <jyha200@gmail.com>
Mon, 21 Feb 2022 02:09:17 +0000 (02:09 +0000)
committerJinyongHa <jy200.ha@samsung.com>
Fri, 26 Aug 2022 00:50:21 +0000 (00:50 +0000)
commit41d532302d10fb0dacea7332904b8b9f2d29842f
treefe58e03f6a01c92707300a6f7a2e3c2dc3fa76bf
parent3a5876be6e3121b11f8167aa59da75ee9b0efa7b
dedup-tool: add sampling ratio to crawling

By using lower sampling ratio, runtime deduplication with lower overhead.
It tries deduplication with sampled few objects in base-pool, and
only deduplicates objects or chunks which are highly duplicated among
samples.
The option "sampling-ratio" is used for controling the ratio of the objects
to be picked.

Signed-off-by: JinyongHa <jy200.ha@samsung.com>
src/tools/ceph_dedup_tool.cc