Plots for Malloc-2.7.0

Time traces

These plots show the amount of memory allocated by the program,
and amount reserved on system (the total number of bytes acquired
via sbrk and mmap -- i.e., the sytem level "footprints") for
traces of various programs running malloc-2.7.0 under default
settings. (To reduce bulk a little bit, these plots contain a
point for every 16th malloc/free/realloc/etc.) The difference
between Allocated and Reserved memory is one (of many) ways to
look at fragmentation. While useful, it is a course-grained
measure, since by default, memory is reserved in page-size units
(usually 4K or 8K), and is only given back to the system when at
least 128K contiguous topmost or mapped bytes are free. Most of
these are traces of interactive programs (browsers, X-window
sessions, etc). The number of operations listed is the total
number malloc-based calls (malloc, free, realloc, etc).

Mozilla, approx version 0.8. 12486613 operations

Netscape version 3.x. 510825 operations

An X-windows session. 380647 operations

An X-windows session. 438656 operations

An X-windows session. 466050 operations

An X-windows session. 929013 operations

An X-windows session. 255063 operations

Roboop (a robotics simulator). 1829022 operations

StarOffice writer version 3.x. 915638 operations

Match3d (an image manipulation program). 254447 operations

xpdf (pdf viewer). 1457687 operations

xpdf (pdf viewer). 755653 operations

xpdf (pdf viewer). 618901 operations

adolc (math differentiation program) 1417 operations

cccc (code counter program). 254928 operations

cccc (code counter program). 748949 operations

Size distributions - 1

These histograms show the numbers of allocations across
size classes. These are allocated sizes (reflecting bookkeeping
and alignment padding), not request sizes.

Mozilla, approx version 0.8. 12486613 operations

Netscape version 3.x. 510825 operations

An X-windows session. 380647 operations

An X-windows session. 438656 operations

An X-windows session. 466050 operations

An X-windows session. 929013 operations

An X-windows session. 255063 operations

Roboop (a robotics simulator). 1829022 operations

StarOffice writer version 3.x. 915638 operations

Match3d (an image manipulation program). 254447 operations

xpdf (pdf viewer). 1457687 operations

xpdf (pdf viewer). 755653 operations

xpdf (pdf viewer). 618901 operations

adolc (math differentiation program) 1417 operations

cccc (code counter program). 254928 operations

cccc (code counter program). 748949 operations

Size distributions - 2

These histograms show the proportions of allocations across
size classes using a log scale, which makes it easier to
see frequencies for less-common sizes.