Skip to content

Commit a7d73dd

Browse files
committed
Update TUNING.md to include the new tcache_max option.
1 parent 254b011 commit a7d73dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

TUNING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This document summarizes the common approaches for performance fine tuning with
2-
jemalloc (as of 5.1.0). The default configuration of jemalloc tends to work
2+
jemalloc (as of 5.3.0). The default configuration of jemalloc tends to work
33
reasonably well in practice, and most applications should not have to tune any
44
options. However, in order to cover a wide range of applications and avoid
55
pathological cases, the default setting is sometimes kept conservative and
@@ -76,14 +76,14 @@ Examples:
7676

7777
* High resource consumption application, prioritizing memory usage:
7878

79-
`background_thread:true` combined with shorter decay time (decreased
80-
`dirty_decay_ms` and / or `muzzy_decay_ms`,
79+
`background_thread:true,tcache_max:4096` combined with shorter decay time
80+
(decreased `dirty_decay_ms` and / or `muzzy_decay_ms`,
8181
e.g. `dirty_decay_ms:5000,muzzy_decay_ms:5000`), and lower arena count
8282
(e.g. number of CPUs).
8383

8484
* Low resource consumption application:
8585

86-
`narenas:1,lg_tcache_max:13` combined with shorter decay time (decreased
86+
`narenas:1,tcache_max:1024` combined with shorter decay time (decreased
8787
`dirty_decay_ms` and / or `muzzy_decay_ms`,e.g.
8888
`dirty_decay_ms:1000,muzzy_decay_ms:0`).
8989

0 commit comments

Comments
 (0)