aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/jemalloc/TUNING.md
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-05-10 11:24:08 +0300
committerthegeorg <thegeorg@yandex-team.ru>2022-05-10 11:24:08 +0300
commit3eee94a865e8dff399329dee911906cddb7b0d67 (patch)
tree90049cea53c3a2850723b8104f922d1fc70e94b1 /contrib/libs/jemalloc/TUNING.md
parent8d4afd14b8ae14ffb50992a59dc674e30e076a8e (diff)
downloadydb-3eee94a865e8dff399329dee911906cddb7b0d67.tar.gz
Update contrib/libs/jemalloc to 5.3.0
ref:984a35af48908b64eabafda01bb2e47403689121
Diffstat (limited to 'contrib/libs/jemalloc/TUNING.md')
-rw-r--r--contrib/libs/jemalloc/TUNING.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/jemalloc/TUNING.md b/contrib/libs/jemalloc/TUNING.md
index 34fca05b43..e96399d7c9 100644
--- a/contrib/libs/jemalloc/TUNING.md
+++ b/contrib/libs/jemalloc/TUNING.md
@@ -1,5 +1,5 @@
This document summarizes the common approaches for performance fine tuning with
-jemalloc (as of 5.1.0). The default configuration of jemalloc tends to work
+jemalloc (as of 5.3.0). The default configuration of jemalloc tends to work
reasonably well in practice, and most applications should not have to tune any
options. However, in order to cover a wide range of applications and avoid
pathological cases, the default setting is sometimes kept conservative and
@@ -76,14 +76,14 @@ Examples:
* High resource consumption application, prioritizing memory usage:
- `background_thread:true` combined with shorter decay time (decreased
- `dirty_decay_ms` and / or `muzzy_decay_ms`,
+ `background_thread:true,tcache_max:4096` combined with shorter decay time
+ (decreased `dirty_decay_ms` and / or `muzzy_decay_ms`,
e.g. `dirty_decay_ms:5000,muzzy_decay_ms:5000`), and lower arena count
(e.g. number of CPUs).
* Low resource consumption application:
- `narenas:1,lg_tcache_max:13` combined with shorter decay time (decreased
+ `narenas:1,tcache_max:1024` combined with shorter decay time (decreased
`dirty_decay_ms` and / or `muzzy_decay_ms`,e.g.
`dirty_decay_ms:1000,muzzy_decay_ms:0`).