In the Ceph scenario, enabling tcmalloc huge pages can reduce the TLB miss rate and improve performance. However, tcmalloc does not support huge page release. Therefore, release logic needs to be added. In this way, when the tcmalloc huge page is used, the memory can be released from the OS, preventing memory overuse. The libtcmalloc_2m.so file is added to tcmalloc to support hugetlb and services that require 2 MB tcmalloc. The native tcmalloc.so file is not affected. Signed-off-by: liubo <liubo254@huawei.com>
Description
No description provided
Languages
Diff
100%