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 <rzarzyns@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Radoslaw Zarzynski 2021-05-17 14:49:20 +00:00 committed by Kefu Chai
parent 83e4edcd80
commit cec7c15f19

View 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: