]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: add parallel clean_pg_upmaps test 28756/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 3 Jun 2019 08:43:25 +0000 (16:43 +0800)
committerNathan Cutler <ncutler@suse.com>
Wed, 26 Jun 2019 15:25:12 +0000 (17:25 +0200)
commitd0fef6fbe20638d0a1f2693720c52f0b19e8f6f2
tree187ee8ce88ec1155fa9c3c578a4eb47f25840295
parent8d85f933debf6c65481ac1a01feaa3f715ec2c1d
test: add parallel clean_pg_upmaps test

With parallel clean_pg_upmaps feature on, the total time cost
of the performance test which now can utilize up to 8 threads for
parallel upmap validating decreased from:

maybe_remove_pg_upmaps (~10000 pg_upmap_items) latency:104s

to:

clean_pg_upmaps (~10000 pg_upmap_items) latency:7s

Note that by default the mon uses only 4 worker threads for
CPU intensive background work, you could further increase
the "mon_cpu_threads" option value if you decided the
time-consuming of clean_pg_upmaps still matters.

Fixes: http://tracker.ceph.com/issues/40104
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit a45112a9761d7b11f62cf4dac9f3a8e093cdd78f)
src/test/osd/TestOSDMap.cc