[Gllug] Re: What is the Gnome & KDE difference??

Daniel P. Berrange dan at berrange.com
Wed Mar 29 22:56:18 UTC 2006


On Wed, Mar 29, 2006 at 11:25:33PM +0100, Nix wrote:
> On Wed, 29 Mar 2006, Daniel P. Berrange stated:
> > Out of 450 MB of VIRT size of Epiphany:
> > 
> >  - 50 MB is locale-data (share by all apps)
> >  - 100 MB is ELF libs from /usr/lib & /lib (libc, Xfree, gtk, etc)
> >    mostly shared by all apps
> >  - 130 MB of heap/anonymous maps (genuine mozilla data bloat)
> >  - 65 MB of icons (shared across all desktop apps)
> >  - 55 MB of mozilla ELF libs (genuine mozilla code bloat)
> >  - 8 MB for VDSO page (placed by the OS, app has no choice in matter)
> > 
> > Ok, so that doesn't add up to 450 exactly, but you get the idea. Now would
> > I've not figured out yet is a way to identify exactly which memory pages are
> > shared vs private - I'm just guesstimating based on type of object. 
> 
> You might find it useful to kick up xrestop and scream at the amount of
> memory in the X server that your apps are blowing on pixmap caching.

I did look at xrestop initially, but it unfortunately does not provide
a way to capture the actual pixmaps associted with a client. So I wrote
a nasty LD_PRELOAD hack which overrode the XCreatePixmap & XFreePixmaps
method, dumping the pixmap to a TIFF file. A little post-processing and
I could visualize all pixmaps stored by mozilla at any time during the
course of a controlled test-run.

Dan.
-- 
|=-            GPG key: http://www.berrange.com/~dan/gpgkey.txt       -=|
|=-       Perl modules: http://search.cpan.org/~danberr/              -=|
|=-           Projects: http://freshmeat.net/~danielpb/               -=|
|=-   berrange at redhat.com  -  Daniel Berrange  -  dan at berrange.com    -=|
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list