xinyiZzz commented on code in PR #12496:
URL: https://github.com/apache/doris/pull/12496#discussion_r981925548


##########
bin/start_be.sh:
##########
@@ -207,6 +207,8 @@ export UBSAN_OPTIONS=print_stacktrace=1
 ## 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"
+

Review Comment:
   `muzzy_decay_ms` and `dirty_decay_ms` are currently 30s
   
   `lg_tcache_max` is not the size of the thread cache, it is the maximum size 
of a single class (memory block) cached by the thread cache, the default is 
32K, and the size of the thread cache is controlled by jemalloc itself



-- 
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-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to