mirror of
https://github.com/ceph/ceph
synced 2025-01-23 19:46:56 +00:00
cec7c15f19
"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>
27 lines
642 B
YAML
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:
|