Skip to content

Instantly share code, notes, and snippets.

@mattsta
Created November 16, 2014 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattsta/c2d3db5aa19f34355d69 to your computer and use it in GitHub Desktop.
Save mattsta/c2d3db5aa19f34355d69 to your computer and use it in GitHub Desktop.
DEBUG JEMALLOC INFO
matt@ununoctium:~/repos/redis/src% ./redis-cli -p 6379 debug jemalloc info
___ Begin jemalloc statistics ___
Version: 3.6.0-0-g46c0af68bd248b04df75e4f92d5fb804c3d75340
Assertions disabled
Run-time option settings:
opt.abort: false
opt.lg_chunk: 22
opt.dss: "secondary"
opt.narenas: 32
opt.lg_dirty_mult: 3
opt.stats_print: false
opt.junk: false
opt.quarantine: 0
opt.redzone: false
opt.zero: false
opt.tcache: true
opt.lg_tcache_max: 15
CPUs: 8
Arenas: 32
Pointer size: 8
Quantum size: 16
Page size: 4096
Min active:dirty page ratio per arena: 8:1
Maximum thread-cached size class: 32768
Chunk size: 4194304 (2^22)
Allocated: 15689144, active: 16715776, mapped: 25165824
Current active ceiling: 41943040
chunks: nchunks highchunks curchunks
8 7 6
huge: nmalloc ndalloc allocated
2 1 8388608
arenas[0]:
assigned threads: 1
dss allocation precedence: disabled
dirty pages: 2033:182 active:dirty, 2 sweeps, 11 madvises, 743 purged
allocated nmalloc ndalloc nrequests
small: 6444472 21392 6342 1020703
large: 856064 12 4 12
total: 7300536 21404 6346 1020715
active: 8327168
mapped: 12582912
bins: bin size regs pgs allocated nmalloc ndalloc nrequests nfills nflushes newruns reruns curruns
0 8 501 1 24 101 98 3 1 4 1 0 1
1 16 252 1 166000 10402 27 10475 104 2 42 0 42
2 32 126 1 78720 5351 2891 1001762 198 194 42 21 20
3 48 84 1 1824 94 56 1984 2 3 1 0 1
4 64 63 1 1152 63 45 40 1 3 1 0 1
5 80 50 1 400 50 45 26 1 3 1 0 1
6 96 84 2 9216 173 77 2045 3 4 2 0 2
7 112 72 2 224 72 70 27 1 4 1 0 1
8 128 63 2 128 63 62 23 1 3 1 0 1
9 160 51 2 160 51 50 26 1 3 1 0 1
10 192 63 3 192 63 62 26 1 3 1 0 1
11 224 72 4 448 72 70 28 1 4 1 0 1
12 256 63 4 4352 63 46 40 1 3 1 0 1
13 320 63 5 320 63 62 27 1 3 1 0 1
14 384 63 6 384 63 62 27 1 3 1 0 1
15 448 63 7 448 63 62 27 1 3 1 0 1
16 512 63 8 512 63 62 24 1 3 1 0 1
17 640 51 8 640 51 50 27 1 3 1 0 1
18 768 47 9 768 47 46 26 1 3 1 0 1
19 896 45 10 5376 50 44 1953 2 3 1 0 1
20 1024 63 16 4096 63 59 24 1 3 1 0 1
21 1280 51 16 1280 51 50 26 1 3 1 0 1
22 1536 42 16 1536 42 41 26 1 3 1 0 1
23 1792 38 17 1792 38 37 27 1 3 1 0 1
24 2048 65 33 6144 65 62 23 1 3 1 0 1
25 2560 52 33 166400 117 52 77 6 8 3 0 2
26 3072 43 33 5852160 3959 2054 1884 188 187 92 44 45
27 3584 39 35 139776 39 0 0 1 0 1 0 1
large: size pages nmalloc ndalloc nrequests curruns
[1]
8192 2 1 0 1 1
[1]
16384 4 1 1 1 0
20480 5 2 0 2 2
[2]
32768 8 1 0 1 1
36864 9 3 2 3 1
[10]
81920 20 1 0 1 1
[59]
327680 80 2 0 2 2
[598]
2781184 679 1 1 1 0
[339]
--- End jemalloc statistics ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment