From cec7c15f19677ca8706cd904e4c749853e3a0936 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Mon, 17 May 2021 14:49:20 +0000 Subject: [PATCH] qa: use dump_metrics as alternative of get_heap_property "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 Signed-off-by: Kefu Chai --- qa/suites/rados/singleton/all/admin-socket.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qa/suites/rados/singleton/all/admin-socket.yaml b/qa/suites/rados/singleton/all/admin-socket.yaml index 76bee411c43..9ed67c249dc 100644 --- a/qa/suites/rados/singleton/all/admin-socket.yaml +++ b/qa/suites/rados/singleton/all/admin-socket.yaml @@ -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: -- 2.39.5