]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: use dump_metrics as alternative of get_heap_property 41652/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 17 May 2021 14:49:20 +0000 (14:49 +0000)
committerKefu Chai <kchai@redhat.com>
Thu, 3 Jun 2021 06:24:23 +0000 (14:24 +0800)
"get_heap_property *" asock commands are exposed to operators
to check the tcmalloc internals for understanding the performance
of the memory subsystem. but crimson uses the builtin seastar allocator
which is not backed by tcmalloc. but we can dump the metrics using
the "dump_metrics" asock command which is only available from
crimson-osd.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/suites/rados/singleton/all/admin-socket.yaml

index 76bee411c432d26576e38594691645fb308901b0..9ed67c249dc337bc7a06c0796a35f7a159805dae 100644 (file)
@@ -21,6 +21,6 @@ tasks:
       config set bluestore_csum_type xxhash64:
       perf dump:
       perf schema:
-      get_heap_property tcmalloc.max_total_thread_cache_byte:
-      set_heap_property tcmalloc.max_total_thread_cache_bytes 67108864:
-      set_heap_property tcmalloc.max_total_thread_cache_bytes 33554432:
+      get_heap_property tcmalloc.max_total_thread_cache_byte || dump_metrics memory:
+      set_heap_property tcmalloc.max_total_thread_cache_bytes 67108864 || dump_metrics memory:
+      set_heap_property tcmalloc.max_total_thread_cache_bytes 33554432 || dump_metrics memory: