Enable percpu_arena:percpu for jemalloc

This will reduce memory fragmentation due to thread pool.
This commit is contained in:
Azat Khuzhin 2020-05-21 01:01:28 +03:00
parent 07924f0ae1
commit 58ffa4c59c
2 changed files with 2 additions and 2 deletions

View File

@ -369,7 +369,7 @@
/* #undef JEMALLOC_EXPORT */
/* config.malloc_conf options string. */
#define JEMALLOC_CONFIG_MALLOC_CONF ""
#define JEMALLOC_CONFIG_MALLOC_CONF "percpu_arena:percpu"
/* If defined, jemalloc takes the malloc/free/etc. symbol names. */
#define JEMALLOC_IS_MALLOC 1

View File

@ -360,7 +360,7 @@
/* #undef JEMALLOC_EXPORT */
/* config.malloc_conf options string. */
#define JEMALLOC_CONFIG_MALLOC_CONF ""
#define JEMALLOC_CONFIG_MALLOC_CONF "percpu_arena:percpu"
/* If defined, jemalloc takes the malloc/free/etc. symbol names. */
#define JEMALLOC_IS_MALLOC 1