From owner-cvs-sys Fri Oct 24 22:12:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA13892 for cvs-sys-outgoing; Fri, 24 Oct 1997 22:12:56 -0700 (PDT) (envelope-from owner-cvs-sys) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA13883; Fri, 24 Oct 1997 22:12:49 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.6.9) id PAA31664; Sat, 25 Oct 1997 15:11:13 +1000 Date: Sat, 25 Oct 1997 15:11:13 +1000 From: Bruce Evans Message-Id: <199710250511.PAA31664@godzilla.zeta.org.au> To: bde@zeta.org.au, toor@dyson.iquest.net Subject: Re: cvs commit: src/sys/vm vm_map.c vm_object.c src/sys/i386/i386 pmap.c Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, dyson@FreeBSD.ORG Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> > Decrease the initial allocation for the zone allocations. >> >> The initial allocation is still huge. 224K of real memory is statically >> allocated for pvinit[8192] alone. 3/4 of this normally remains free on >> my 32MB system. >> >I guess that could be made smaller. That is not really the "zone allocator" >but one of the clients (pmap.) The key is to make it large enough to boot, >maybe should be allocated with kmem_alloc.. Other clients take 42K. My ld sorts the bss on size, so big sizes are easy to see: f023b8d0 B _map_init 0.70K f023bd08 B _font_8 f023c508 B _font_14 f023d308 B _font_16 f023e308 B _kmap_entry_init 4.5K f023f508 B _map_entry_init 4.5K f0240708 B _nfsrtt f0241d0c B _sl_softc f0243c8c B _vm_objects_init 32K f024bc8c B _pvinit 224K f0283c8c B _end ffc00000 A _APTmap fffff000 A _APTD Bruce