summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2022-05-03 14:28:30 -0700
committerQi Wang <interwq@gmail.com>2022-05-04 10:59:40 -0700
commita7d73dd4c9ba97bb033f7ae15f218a65d8b8ace6 (patch)
tree9a58e39cb04c1e07b6cf164c20f62e65e84fef12
parent254b011915c0c68549beb7a91be02cf56d81fa32 (diff)
downloadjemalloc-a7d73dd4c9ba97bb033f7ae15f218a65d8b8ace6.tar.gz
Update TUNING.md to include the new tcache_max option.
-rw-r--r--TUNING.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/TUNING.md b/TUNING.md
index 34fca05b..e96399d7 100644
--- a/TUNING.md
+++ b/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`).