Skip to content

Instantly share code, notes, and snippets.

@mdcallag
Created September 16, 2022 19:24
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 mdcallag/0f2d2f6d63607dc4ec114b6fc73e106d to your computer and use it in GitHub Desktop.
Save mdcallag/0f2d2f6d63607dc4ec114b6fc73e106d to your computer and use it in GitHub Desktop.
2022/09/13-20:06:57.357272 3553863 [/db_impl/db_impl.cc:1102] ------- Malloc STATS -------
2022/09/13-20:06:57.357395 3553863 [/db_impl/db_impl.cc:1104] ___ Begin jemalloc statistics ___
Version: "5.2.1-..."
Build-time option settings
config.cache_oblivious: false
config.debug: false
config.fill: true
config.lazy_lock: false
config.malloc_conf: "background_thread:true,metadata_thp:auto,abort_conf:true,muzzy_decay_ms:0,zero_realloc:free,prof_unbias:false,prof_time_resolution:high"
config.opt_safety_checks: true
config.prof: true
config.prof_libgcc: false
config.prof_libunwind: true
config.stats: true
config.utrace: false
config.xmalloc: false
Run-time option settings
opt.abort: false
opt.abort_conf: true
opt.cache_oblivious: false
opt.confirm_conf: false
opt.retain: true
opt.dss: "secondary"
opt.narenas: 320
opt.percpu_arena: "disabled"
opt.oversize_threshold: 8388608
opt.hpa: false
opt.hpa_slab_max_alloc: 65536
opt.hpa_hugification_threshold: 1992294
opt.hpa_hugify_delay_ms: 10000
opt.hpa_min_purge_interval_ms: 5000
opt.hpa_dirty_mult: "0.25"
opt.hpa_sec_nshards: 4
opt.hpa_sec_max_alloc: 32768
opt.hpa_sec_max_bytes: 262144
opt.hpa_sec_bytes_after_flush: 131072
opt.hpa_sec_batch_fill_extra: 0
opt.metadata_thp: "auto"
opt.mutex_max_spin: 600
opt.background_thread: true (background_thread: true)
opt.dirty_decay_ms: 10000 (arenas.dirty_decay_ms: 10000)
opt.muzzy_decay_ms: 0 (arenas.muzzy_decay_ms: 0)
opt.lg_extent_max_active_fit: 6
opt.junk: "false"
opt.zero: false
opt.experimental_infallible_new: false
opt.tcache: true
opt.tcache_max: 32768
opt.tcache_nslots_small_min: 20
opt.tcache_nslots_small_max: 200
opt.tcache_nslots_large: 20
opt.lg_tcache_nslots_mul: 1
opt.tcache_gc_incr_bytes: 65536
opt.tcache_gc_delay_bytes: 0
opt.lg_tcache_flush_small_div: 1
opt.lg_tcache_flush_large_div: 1
opt.thp: "default"
opt.prof: false
opt.prof_prefix: "jeprof"
opt.prof_active: true (prof.active: false)
opt.prof_thread_active_init: true (prof.thread_active_init: false)
opt.lg_prof_sample: 19 (prof.lg_sample: 0)
opt.prof_accum: false
opt.lg_prof_interval: -1
opt.prof_gdump: false
opt.prof_final: false
opt.prof_leak: false
opt.prof_leak_error: false
opt.stats_print: false
opt.stats_print_opts: ""
opt.stats_print: false
opt.stats_print_opts: ""
opt.stats_interval: -1
opt.stats_interval_opts: ""
opt.zero_realloc: "free"
Profiling settings
prof.thread_active_init: false
prof.active: false
prof.gdump: false
prof.interval: 0
prof.lg_sample: 0
Arenas: 321
Quantum size: 16
Page size: 4096
Maximum thread-cached size class: 32768
Number of bin size classes: 36
Number of thread-cache bin size classes: 41
Number of large size classes: 196
Allocated: 54304112832, active: 60911218688, metadata: 837951792 (n_thp 0), resident: 61749039104, mapped: 62123438080, retained: 5944348672
Count of realloc(non-null-ptr, 0) calls: 0
Background threads: 4, num_runs: 307, run_interval: 8507498986 ns
Merged arenas stats:
assigned threads: 10
uptime: 697411684686
dss allocation precedence: "N/A"
decaying: time npages sweeps madvises purged
dirty: N/A 16 1396 34719 177557
muzzy: N/A 0 0 0 0
allocated nmalloc (#/sec) ndalloc (#/sec) nrequests (#/sec) nfill (#/sec) nflush (#/sec)
small: 53761679552 227902757 326976 99029076 142079 10930622435 15682385 21041383 30188 6053735 8685
large: 542433280 1001 1 892 1 1029 1 1001 1 575 0
total: 54304112832 227903758 326978 99029968 142080 10930623464 15682386 21042384 30189 6054310 8686
active: 60911218688
mapped: 62123438080
retained: 5944348672
base: 837599536
internal: 352256
metadata_thp: 0
tcache_bytes: 313704
tcache_stashed_bytes: 0
resident: 61749039104
abandoned_vm: 0
extent_avail: 1992
bins: size ind allocated nmalloc (#/sec) ndalloc (#/sec) nrequests (#/sec) nshards curregs curslabs nonfull_slabs regs pgs util nfills (#/sec) nflushes (#/sec) nslabs nreslabs (#/sec)
8 0 192 266641 382 266617 382 220889585 316914 1 24 1 0 512 1 0.046 241119 345 242629 348 35 0 0
16 1 486864 235076 337 204647 293 220800847 316787 1 30429 157 3 256 1 0.757 40111 57 2207 3 928 330 0
32 2 1253530944 70566160 101242 31393318 45040 4560054238 6542402 1 39172842 396635 186701 128 1 0.771 5707099 8188 1161277 1666 397593 9337484 13396
48 3 14585424 408146 585 104283 149 6030068 8651 1 303863 1201 34 256 3 0.988 95888 137 91477 131 1258 92 0
64 4 4646784 381318 547 308712 442 1032462276 1481294 1 72606 1219 107 64 1 0.930 224609 322 202312 290 1801 15426 22
80 5 301557680 7547344 10828 3777873 5420 18032487 25871 1 3769471 14796 1345 256 5 0.995 1112628 1596 990027 1420 19989 2466175 3538
96 6 4105782720 71947079 103223 29178509 41862 1223636085 1755575 1 42768570 418466 192143 128 3 0.798 5456399 7828 1153439 1654 418502 8847777 12694
112 7 97552 1348 1 477 0 85 0 1 871 10 0 256 7 0.340 22 0 71 0 13 0 0
128 8 9856 276 0 199 0 1092 1 1 77 5 3 32 1 0.481 27 0 105 0 9 6 0
160 9 2305440 15466 22 1057 1 28874 41 1 14409 122 14 128 5 0.922 193 0 57 0 128 19 0
192 10 5760 3166 4 3136 4 104201542 149500 1 30 2 0 64 3 0.234 66 0 209 0 49 0 0
224 11 6458368 38992 55 10160 14 43308 62 1 28832 242 0 128 7 0.930 1075 1 1033 1 301 58 0
256 12 97536 15449 22 15068 21 43668 62 1 381 25 0 16 1 0.952 2406 3 1063 1 965 3 0
320 13 4662400 23438 33 8868 12 1101464841 1580293 1 14570 257 0 64 5 0.885 4452 6 5426 7 321 4 0
384 14 4608 18744 26 18732 26 505497453 725247 1 12 2 0 32 3 0.187 13045 18 13219 18 34 0 0
448 15 17439408896 70081082 100546 31153830 44697 1205610931 1729714 1 38927252 789352 364201 64 7 0.770 6611107 9485 1229668 1764 789393 10184045 14611
512 16 11264 399 0 377 0 141 0 1 22 3 0 8 1 0.916 46 0 141 0 76 37 0
640 17 9297280 20244 29 5717 8 17334 24 1 14527 479 1 32 5 0.947 3292 4 4273 6 596 143 0
768 18 11321088 43330 62 28589 41 505520381 725280 1 14741 955 27 16 3 0.964 21062 30 23498 33 1477 7649 10
896 19 571648 25043 35 24405 35 15022 21 1 638 35 2 32 7 0.569 14727 21 21895 31 88 77 0
1024 20 16384 525 0 509 0 14556 20 1 16 15 3 4 1 0.266 73 0 188 0 148 63 0
1280 21 25600 38 0 18 0 27 0 1 20 2 0 16 5 0.625 5 0 52 0 2 0 0
1536 22 7680 32 0 27 0 30 0 1 5 2 0 8 3 0.312 8 0 57 0 4 2 0
1792 23 3584 104 0 102 0 52 0 1 2 1 0 16 7 0.125 38 0 89 0 30 0 0
2048 24 6144 404 0 401 0 102 0 1 3 2 0 2 1 0.750 47 0 156 0 202 64 0
2560 25 33280 582 0 569 0 104187136 149479 1 13 11 0 8 5 0.147 195 0 355 0 66 33 0
3072 26 147456 270 0 222 0 89 0 1 48 25 3 4 3 0.480 68 0 106 0 72 25 0
3584 27 19095552 7019 10 1691 2 5379 7 1 5328 678 1 8 7 0.982 1107 1 744 1 884 135 0
4096 28 925696 879 1 653 0 104187526 149479 1 226 226 0 1 1 1 319 0 200 0 879 0 0
5120 29 97280 425 0 406 0 200 0 1 19 14 1 4 5 0.339 141 0 294 0 150 33 0
6144 30 153600 465 0 440 0 2693 3 1 25 19 0 2 3 0.657 139 0 248 0 247 72 0
7168 31 45617152 7328 10 964 1 6421 9 1 6364 1606 0 4 7 0.990 949 1 446 0 1851 169 0
8192 32 30513446912 6242546 8956 2517760 3612 17865283 25631 1 3724786 3724786 0 1 2 1 1488457 2135 906355 1300 6242546 0 0
10240 33 27146240 3304 4 653 0 2654 3 1 2651 1335 7 2 5 0.992 447 0 299 0 1650 155 0
12288 34 0 16 0 16 0 7 0 1 0 0 0 1 3 1 4 0 52 0 16 0 0
14336 35 114688 79 0 71 0 22 0 1 8 7 0 2 7 0.571 13 0 68 0 38 15 0
large: size ind allocated nmalloc (#/sec) ndalloc (#/sec) nrequests (#/sec) curlextents
16384 36 278528 90 0 73 0 96 0 17
20480 37 61440 7 0 4 0 10 0 3
24576 38 24576 5 0 4 0 8 0 1
28672 39 315392 60 0 49 0 62 0 11
32768 40 0 75 0 75 0 89 0 0
40960 41 0 12 0 12 0 12 0 0
49152 42 0 6 0 6 0 6 0 0
57344 43 0 1 0 1 0 1 0 0
65536 44 65536 136 0 135 0 136 0 1
81920 45 245760 8 0 5 0 8 0 3
98304 46 0 6 0 6 0 6 0 0
114688 47 114688 4 0 3 0 4 0 1
131072 48 262144 95 0 93 0 95 0 2
163840 49 0 3 0 3 0 3 0 0
196608 50 0 5 0 5 0 5 0 0
229376 51 0 1 0 1 0 1 0 0
262144 52 786432 83 0 80 0 83 0 3
327680 53 0 3 0 3 0 3 0 0
393216 54 0 5 0 5 0 5 0 0
458752 55 0 1 0 1 0 1 0 0
524288 56 0 75 0 75 0 75 0 0
655360 57 0 5 0 5 0 5 0 0
786432 58 0 5 0 5 0 5 0 0
917504 59 0 1 0 1 0 1 0 0
1048576 60 2097152 93 0 91 0 93 0 2
1310720 61 1310720 3 0 2 0 3 0 1
1572864 62 0 4 0 4 0 4 0 0
1835008 63 0 1 0 1 0 1 0 0
2097152 64 0 69 0 69 0 69 0 0
2621440 65 0 2 0 2 0 2 0 0
3145728 66 0 2 0 2 0 2 0 0
3670016 67 0 1 0 1 0 1 0 0
4194304 68 0 65 0 65 0 65 0 0
5242880 69 0 3 0 3 0 3 0 0
6291456 70 0 1 0 1 0 1 0 0
7340032 71 0 1 0 1 0 1 0 0
8388608 72 536870912 64 0 0 0 64 0 64
---
extents: size ind ndirty dirty nmuzzy muzzy nretained retained ntotal total
4096 0 0 0 0 0 1782 7299072 1782 7299072
8192 1 0 0 0 0 10606 86884352 10606 86884352
12288 2 0 0 0 0 129 1585152 129 1585152
16384 3 0 0 0 0 1017 16662528 1017 16662528
20480 4 0 0 0 0 43 880640 43 880640
24576 5 0 0 0 0 127 3121152 127 3121152
28672 6 0 0 0 0 6 172032 6 172032
32768 7 0 0 0 0 26 856064 26 856064
40960 8 0 0 0 0 4 167936 4 167936
49152 9 0 0 0 0 2 102400 2 102400
57344 10 0 0 0 0 2 114688 2 114688
65536 11 1 65536 0 0 1 77824 2 143360
---
131072 15 0 0 0 0 1 131072 1 131072
---
196608 17 0 0 0 0 1 212992 1 212992
---
917504 26 0 0 0 0 1 987136 1 987136
1048576 27 0 0 0 0 1 1245184 1 1245184
---
1835008 30 0 0 0 0 8 16490496 8 16490496
2097152 31 0 0 0 0 4 9347072 4 9347072
---
3670016 34 0 0 0 0 1 3796992 1 3796992
4194304 35 0 0 0 0 3 12582912 3 12582912
---
6291456 37 0 0 0 0 2 13369344 2 13369344
---
10485760 40 0 0 0 0 1 10485760 1 10485760
---
16777216 43 0 0 0 0 1 16777216 1 16777216
---
134217728 55 0 0 0 0 4 651440128 4 651440128
167772160 56 0 0 0 0 28 5089558528 28 5089558528
---
Bytes in small extent cache: 0
HPA shard stats:
Purge passes: 0 (0 / sec)
Purges: 0 (0 / sec)
Hugeifies: 0 (0 / sec)
Dehugifies: 0 (0 / sec)
In full slabs:
npageslabs: 0 huge, 0 nonhuge
nactive: 0 huge, 0 nonhuge
ndirty: 0 huge, 0 nonhuge
nretained: 0 huge, 0 nonhuge
In empty slabs:
npageslabs: 0 huge, 0 nonhuge
nactive: 0 huge, 0 nonhuge
ndirty: 0 huge, 0 nonhuge
nretained: 0 huge, 0 nonhuge
size ind npageslabs_huge nactive_huge ndirty_huge npageslabs_nonhuge nactive_nonhuge ndirty_nonhuge nretained_nonhuge
---
--- End jemalloc statistics ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment