Re: memory allocations.
- From: Alan Cox <alan redhat com>
- To: drepper redhat com (Ulrich Drepper)
- Cc: sv117949 ireland sun com (Sander Vesik), alan redhat com (Alan Cox), chabotc reviewboard com (Chris Chabot), hp redhat com (Havoc Pennington), iain ximian com (iain), gnome-hackers gnome org
- Subject: Re: memory allocations.
- Date: Thu, 28 Feb 2002 20:32:13 -0500 (EST)
> 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
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]