[ 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 _at__at_ -15,6 +15,9 _at__at_ 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
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:51 UTC