On Monday 26 May 2014 12:15:32 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
Also take a look at mallinfo from malloc.h. It will give you information on the
fragmentation when you compare .keepcost vs. .uordblks.
Bye
--
Milian Wolff
m...@milianw.de
http://milianw.de
------------------------------------------------------------------------------
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