KDE 3.5.0 seems much chubbier than 3.4.2
Daniel O'Connor
doconnor at gsoft.com.au
Mon Jan 30 21:46:34 PST 2006
[ 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 = 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
*significantly*.
A make.conf knob would be highly appreciated here :)
Here's a patch which seems to work here although my eyeballs almost exploded
when reading the makefile so I don't know if it will have bad side-effects..
Index: lib/libc/Makefile
===================================================================
RCS file: /usr/CVS-Repository/src/lib/libc/Makefile,v
retrieving revision 1.58
diff -u -r1.58 Makefile
--- 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?= 2
CFLAGS+=-I${.CURDIR}/include -I${.CURDIR}/../../include
CFLAGS+=-I${.CURDIR}/${MACHINE_ARCH}
+.if defined(NO_MALLOC_EXTRAS)
+CFLAGS+=-DNO_MALLOC_EXTRAS
+.endif
CLEANFILES+=tags
INSTALL_PIC_ARCHIVE=
PRECIOUSLIB=
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060131/867f24f7/attachment.bin
More information about the freebsd-current
mailing list