docs/en/08-operation/21-performance/21-performance-tuning.md
TDengine provides a memory allocator configuration script, set_taos_malloc.sh, for optimizing memory allocation strategies. With this script, users can easily switch between different memory allocator modes to improve the performance and stability of TDengine.
set_taos_malloc.sh is a script provided by TDengine to quickly switch the memory allocation strategy for services such as taosd and taosadapter.
-m <mode>/usr/local/taos/bin/set_taos_malloc_env.sh/etc/default/taosd/etc/default/taosadapter/var/log/taos/set_taos_malloc.log/usr/local/taos and /var/log/taos are the default installation and log paths for TDengine.
/usr/local/taos/bin/.For more advanced usage, please refer to the script comments or contact operations support.