*BSD News Article 53870


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!gatech!news.mathworks.com!news.kei.com!travelers.mail.cornell.edu!newsstand.cit.cornell.edu!newsfeed.cit.cornell.edu!cornellcs!rochester!cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!rnw+
From: Robert N Watson <rnw+@andrew.cmu.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: XF86_SVGA eats 9Mb ?
Date: Sun, 29 Oct 1995 16:56:16 -0500
Organization: Freshman, H&SS Undeclared, Carnegie Mellon, Pittsburgh, PA
Lines: 32
Distribution: world
Message-ID: <skYzW0u00YUxEVzl80@andrew.cmu.edu>
References: <DGJqKz.2KI@cr-df.rnp.br> <463tmb$d6s@agate.berkeley.edu>
	<imag6uqjho.fsf@crater.cs.uidaho.edu>
NNTP-Posting-Host: po7.andrew.cmu.edu
In-Reply-To: <imag6uqjho.fsf@crater.cs.uidaho.edu>

Excerpts from netnews.comp.unix.bsd.freebsd.misc: 21-Oct-95 Re:
XF86_SVGA eats 9Mb ? Faried Nawaz@uidaho.edu (1391*)



> there's a fix:

> get the Xserver link kit (part of XFree86),
> edit /usr/X11R6/lib/X11/config/FreeBSD.cf and uncomment -lgnumalloc,
> relink and install the server.

> you're done.  the size of my Xserver dropped from 3-8mb to 1.9-5mb (depending
> on what i ran, etc).


> another option is to install XFree86 3.12.  that has everything linked with
> gnumalloc.

I relinked my X server today, and I believe the leak has gone away (not
sure if I relinked it right, though.)  One really dramatic difference I
noticed (that may or may not be there legitimastely) was a difference in
the size of binary produced compared to the dist version:

-rwsr-xr-x  1 root  bin  1747609 Oct 29 16:00 /usr/X11R6/bin/XF86_SVGA*
-rwsr-xr-x  1 root  bin  2811834 Oct  8 19:58 /usr/X11R6/bin/XF86_SVGA-old*

That's a pretty dramatic difference -- I did a showconfig and they both
have the same drivers.  Is it just that it's using the shlib now and
wasn't in the distirbution version..?
----
    Robert Watson (rnw+@andrew.cmu.edu) * Double major: IDS/CS * H&SS
          http://www.watson.org/	robert@fledge.watson.org