From owner-cvs-all Mon Aug 20 9:33:23 2001 Delivered-To: cvs-all@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 0957437B405; Mon, 20 Aug 2001 09:33:18 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.4/8.11.2) id f7KGXGJ51695; Mon, 20 Aug 2001 09:33:16 -0700 (PDT) (envelope-from dillon) Date: Mon, 20 Aug 2001 09:33:16 -0700 (PDT) From: Matt Dillon Message-Id: <200108201633.f7KGXGJ51695@earth.backplane.com> To: Bruce Evans Cc: Peter Wemm , , Subject: Re: cvs commit: src/sys/boot/common loader.8 src/sys/conf options src/sys/i386/i386 machdep.c src/sys/i386/include param.h src/sys/kern subr_param.c src/sys/sys buf.h src/sys/vm swap_pager.c References: <20010820194057.Y54152-100000@besplex.bde.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :Actually, by not updating all copies of this MD include to define :suitable MD constants for VM_BCACHE_SIZE_MAX and VM_SWZONE_SIZE_MAX. :These constants need to be MD since the amount of KVM is MD. Except :these constants shouldn't exist. Just use a suitable fraction of total :KVM. Alternatively, set these constants to "infinity" by default and :override them on i386's only. 64-bit machines should have enough KVM :to map the buffer cache millions of times. : :Bruce There is no 'suitable fraction'. That's one of the problems. If you have a machine with 64MB of ram then having 512MB of swap is reasonable. If you have a machine with 4G of them then having 32G of swap is typically unreasonable. Also, the kernel_map, clean_map, buffer_map, etc... all the initialization code for these maps is *improperly* sitting in machine-dependant sections. It should be machine-indendant sections. I fixed the buffer map allocation code in IA32 because it is the basis for all the dups, and that is the code that will eventually be migrated to MI. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message