heaptrack: regularly sample malloc_info
Open, NormalPublic

Description

We could regularly track malloc_info and store that in the heaptrack file to visualize it later.

This would add the following information:

  • per-heap (i.e. per thread) information
  • internal small/large bins
  • fragmentation
  • in general, useful to double-check against overhead estimation

The bad is that this is potentially costly and generates relatively large XML data streams... Maybe worth doing only every 1s or so.

See also:

http://man7.org/linux/man-pages/man3/malloc_info.3.html

mwolff created this task.Feb 26 2016, 6:09 PM
mwolff renamed this task from heaptrack: regularly track store malloc_info to heaptrack: regularly sample malloc_info.Feb 26 2016, 9:37 PM