ceph/qa/suites/rados/singleton/all/admin-socket.yaml
Radoslaw Zarzynski cec7c15f19 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>
2021-06-03 14:24:23 +08:00

27 lines
642 B
YAML

roles:
- - mon.a
- mgr.x
- osd.0
- osd.1
- client.a
openstack:
- volumes: # attached to each instance
count: 2
size: 10 # GB
tasks:
- install:
- ceph:
- admin_socket:
osd.0:
version:
git_version:
help:
config show:
config help:
config set bluestore_csum_type xxhash64:
perf dump:
perf schema:
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: