mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
307c3c92a5
This is to know the memory allocation size distribution, that can be obtained later from left-metric-log.tsv. This is an attempt to tune tcmalloc (new CPP version by google) to use lock-free part of the allocator for typical allocations (and it is a bad idea just to increase kMaxSize there, since number of allocation for each size class is also important). P.S. hope that this file will be applied, if no, then the same effect can be reached by tunning defaults in Settings.h Refs: #11590 Cc: @akuzm
14 lines
622 B
XML
14 lines
622 B
XML
<yandex>
|
|
<profiles>
|
|
<default>
|
|
<query_profiler_real_time_period_ns>10000000</query_profiler_real_time_period_ns>
|
|
<query_profiler_cpu_time_period_ns>0</query_profiler_cpu_time_period_ns>
|
|
<allow_introspection_functions>1</allow_introspection_functions>
|
|
<log_queries>1</log_queries>
|
|
<metrics_perf_events_enabled>1</metrics_perf_events_enabled>
|
|
<memory_profiler_sample_probability>1</memory_profiler_sample_probability>
|
|
<max_untracked_memory>1048576</max_untracked_memory> <!-- 1MB -->
|
|
</default>
|
|
</profiles>
|
|
</yandex>
|