Date: Tue, 31 Jan 2006 16:16:09 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-current@freebsd.org, Michael Nottebrock <lofi@freebsd.org> Subject: Re: KDE 3.5.0 seems much chubbier than 3.4.2 Message-ID: <200601311616.10870.doconnor@gsoft.com.au> In-Reply-To: <200601310914.39886.doconnor@gsoft.com.au> References: <200601301652.16237.doconnor@gsoft.com.au> <20060130215554.GA68540@xor.obsecurity.org> <200601310914.39886.doconnor@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1168042.Loj1ExDysi Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline [ fixed CC ] On Tuesday 31 January 2006 09:14, Daniel O'Connor wrote: > On Tuesday 31 January 2006 08:25, Kris Kennaway wrote: > > > I did have a kernel from before the new malloc and it still seemed > > > quite sluggish. I remember being stuck because a commit to the AGP > > > driver on 20/12/05 prevented the nvidia driver building. > > > > new malloc =3D userland, not kernel. > > Yeah but I don't install world without first doing install kernel :) I think I was crack smoking here.. Recompiling the new libc with NO_MALLOC_EXTRAS reduced the memory usage=20 *significantly*. A make.conf knob would be highly appreciated here :) Here's a patch which seems to work here although my eyeballs almost explode= d=20 when reading the makefile so I don't know if it will have bad side-effects.. Index: lib/libc/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/CVS-Repository/src/lib/libc/Makefile,v retrieving revision 1.58 diff -u -r1.58 Makefile =2D-- lib/libc/Makefile 29 Dec 2005 04:10:52 -0000 1.58 +++ lib/libc/Makefile 31 Jan 2006 05:42:53 -0000 @@ -15,6 +15,9 @@ WARNS?=3D 2 CFLAGS+=3D-I${.CURDIR}/include -I${.CURDIR}/../../include CFLAGS+=3D-I${.CURDIR}/${MACHINE_ARCH} +.if defined(NO_MALLOC_EXTRAS) +CFLAGS+=3D-DNO_MALLOC_EXTRAS +.endif CLEANFILES+=3Dtags INSTALL_PIC_ARCHIVE=3D PRECIOUSLIB=3D =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1168042.Loj1ExDysi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBD3vmi5ZPcIHs/zowRAqFvAKCC7Ji23ePN/Lc6WCpMF3Y/spOzBQCdHPK8 1pAWYXudHcTfbkJJvUBx8Jw= =pA7P -----END PGP SIGNATURE----- --nextPart1168042.Loj1ExDysi--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601311616.10870.doconnor>