|
1 | 1 | 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 |
3 | 3 | reasonably well in practice, and most applications should not have to tune any |
4 | 4 | options. However, in order to cover a wide range of applications and avoid |
5 | 5 | pathological cases, the default setting is sometimes kept conservative and |
@@ -76,14 +76,14 @@ Examples: |
76 | 76 |
|
77 | 77 | * High resource consumption application, prioritizing memory usage: |
78 | 78 |
|
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`, |
81 | 81 | e.g. `dirty_decay_ms:5000,muzzy_decay_ms:5000`), and lower arena count |
82 | 82 | (e.g. number of CPUs). |
83 | 83 |
|
84 | 84 | * Low resource consumption application: |
85 | 85 |
|
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 |
87 | 87 | `dirty_decay_ms` and / or `muzzy_decay_ms`,e.g. |
88 | 88 | `dirty_decay_ms:1000,muzzy_decay_ms:0`). |
89 | 89 |
|
|
0 commit comments