Re: memory allocations.



> I just ran this with gedit (don't know whether this is a good choice).
> 47% of all allocations are less than 16 bytes, 75% are less then 32
> bytes.  The PNG file shows you at which times in the program run the
> many little allocations happened.

In which case a front end slab allocator will really clean up the gnome
behaviour and be a lot lot more polite to glibc. If you stick below 64
bytes you don't even really need slab as your cache line colouring is 
for free due to the small object size



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]