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


##########
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:
   could we set the thread cache size to 1MB, for doris there maybe 1000 
threads and the total cache will be 1GB, I think it is ok.
   And the decay time is too long, I think 30s is ok?



-- 
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