Both dhat and massif are replacing the memory allocator. So, as the memory fragmentation is very dependent on the allocator behaviour (and not only from the application malloc/free pattern/behaviour), you will not get much additional information from these tools that what you can certainly get from ptmalloc2 itself (I guess it has some statistical reporting and/or support mallinfo or similar).
Philippe On Mon, 2014-05-26 at 12:15 +0200, Rentas Dimitris wrote: > Hello to the community once more. > My concern is if I can use DHAT and MASSIF to measure the external > fragmentation of my application which is using the default Ubuntu > ptmalloc2 allocator. > I have found a several formulas on the paper The Memory Fragmentation > Problem : Solved?, most of them use the live memory, maximum amount of > memory used by the allocator, maximum amount requested by the > program. > How can I interpret the DHAT and MASSIF output to get those values? > In case you have any other suggestion for another formula please let > me know. > > > I am aware that the most common way is to find the largest free > contiguous block in heap, relative to the total heap amount. But I > have not figured out how to get this measurement. > > > If you have any information or tip it will be a real great help. > > > Thank you everyone in advance > > ------------------------------------------------------------------------------ > The best possible search technologies are now affordable for all companies. > Download your FREE open source Enterprise Search Engine today! > Our experts will assist you in its installation for $59/mo, no commitment. > Test it for FREE on our Cloud platform anytime! > http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk > _______________________________________________ Valgrind-users mailing list > Valgrind-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/valgrind-users ------------------------------------------------------------------------------ The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users