You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/12/27 05:53:13 UTC
[GitHub] [doris] spaces-X commented on a diff in pull request #15382: [Enhancement](Jemalloc): enable prof & correct the conf name in jemalloc
spaces-X commented on code in PR #15382:
URL: https://github.com/apache/doris/pull/15382#discussion_r1057455971
##########
bin/start_be.sh:
##########
@@ -233,7 +233,8 @@ set_tcmalloc_heap_limit() {
## set hdfs conf
export LIBHDFS3_CONF="${DORIS_HOME}/conf/hdfs-site.xml"
-export MALLOC_CONF="percpu_arena:percpu,background_thread:true,metadata_thp:auto,muzzy_decay_ms:30000,dirty_decay_ms:30000,oversize_threshold:0,lg_tcache_max:16"
+# see https://github.com/jemalloc/jemalloc/issues/2366
+export JEMALLOC_CONF="percpu_arena:percpu,background_thread:true,metadata_thp:auto,muzzy_decay_ms:30000,dirty_decay_ms:30000,oversize_threshold:0,lg_tcache_max:16,prof:true,prof_prefix:jeprof.out"
Review Comment:
Only set `prof:true` will not generate dump file unless we call the `mallctl` function in the doris code.
It seems that it will not affect performance.
i think we can keep this item in conf, which needs to be paid attention to in subsequent performance tests.
In the nex pr, i will add a http interface to generate the heap dump file at runtime and enrich `debug-tool.md`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org