Skip to content

Commit 307c3c9

Browse files
committed
Run perf tests with memory sampling (for allocations >1M)
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
1 parent c257255 commit 307c3c9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docker/test/performance-comparison/config/users.d/perf-comparison-tweaks-users.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
<allow_introspection_functions>1</allow_introspection_functions>
77
<log_queries>1</log_queries>
88
<metrics_perf_events_enabled>1</metrics_perf_events_enabled>
9+
<memory_profiler_sample_probability>1</memory_profiler_sample_probability>
10+
<max_untracked_memory>1048576</max_untracked_memory> <!-- 1MB -->
911
</default>
1012
</profiles>
1113
</yandex>

0 commit comments

Comments
 (0)