Hi All I am trying to match output from malloc_stats with output from top and also trying to figure out total process virtual memory usage from stats.
What fields in the stats should be added to get the total virtual memory for my process ? Also is this link an accurate measurement of fragmentation for my process? http://www.canonware.com/pipermail/jemalloc-discuss/2014-April/000766.html from the link it seems active should be less than allocated, but I see otherwise. Is there a documentation somewhere to decipher this interesting output from jemalloc stats ? CPUs: 2 Arenas: 8 Pointer size: 4 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: 251363184, active: 270594048, mapped: 415236096 Current active ceiling: 1488977920 chunks: nchunks highchunks curchunks 100 99 99 huge: nmalloc ndalloc allocated 0 0 0 Merged arenas stats: assigned threads: 21 dss allocation precedence: N/A dirty pages: 66063:6587 active:dirty, 295 sweeps, 7009 madvises, 94136 purged allocated nmalloc ndalloc nrequests small: 176254832 8893481 6427006 22584955 large: 75108352 4791 2711 8062 total: 251363184 8898272 6429717 22593017 active: 270594048 mapped: 411041792
_______________________________________________ jemalloc-discuss mailing list [email protected] http://www.canonware.com/mailman/listinfo/jemalloc-discuss
