]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: add parallel clean_pg_upmaps test 28373/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 3 Jun 2019 08:43:25 +0000 (16:43 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 6 Jun 2019 02:10:46 +0000 (10:10 +0800)
commita45112a9761d7b11f62cf4dac9f3a8e093cdd78f
treedb9b9994d80bd3de9b3dc14ad974b9c9a1a36239
parentc395f45f1f4d6f5e2b538a34730d9c92d8f9ae8b
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>
src/test/osd/TestOSDMap.cc