From owner-cvs-all Sun Feb 22 23:42:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA04089 for cvs-all-outgoing; Sun, 22 Feb 1998 23:42:50 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA04084; Sun, 22 Feb 1998 23:42:48 -0800 (PST) (envelope-from dyson@FreeBSD.org) From: John Dyson Received: (from dyson@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id XAA04441; Sun, 22 Feb 1998 23:42:44 -0800 (PST) Date: Sun, 22 Feb 1998 23:42:44 -0800 (PST) Message-Id: <199802230742.XAA04441@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_malloc.c src/sys/vm vm_zone.c src/sys/i386/include vmparam.h src/sys/conf options Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dyson 1998/02/22 23:42:44 PST Modified files: sys/kern kern_malloc.c Log: Try to dynamically size the VM_KMEM_SIZE (but is still able to be overridden in a way identically as before.) I had problems with the system properly handling the number of vnodes when there is alot of system memory, and the default VM_KMEM_SIZE. Two new options "VM_KMEM_SIZE_SCALE" and "VM_KMEM_SIZE_MAX" have been added to support better auto-sizing for systems with greater than 128MB. Revision Changes Path 1.44 +39 -10 src/sys/kern/kern_malloc.c Modified files: sys/vm vm_zone.c sys/i386/include vmparam.h sys/conf options Log: Try to dynamically size the VM_KMEM_SIZE (but is still able to be overridden in a way identically as before.) I had problems with the system properly handling the number of vnodes when there is alot of system memory, and the default VM_KMEM_SIZE. Two new options "VM_KMEM_SIZE_SCALE" and "VM_KMEM_SIZE_MAX" have been added to support better auto-sizing for systems with greater than 128MB. Add some accouting for vm_zone memory allocations, and provide properly for vm_zone allocations out of the kmem_map. Also move the vm_zone allocation stats to the VM OID tree from the KERN OID tree. Revision Changes Path 1.19 +14 -2 src/sys/vm/vm_zone.c 1.29 +18 -2 src/sys/i386/include/vmparam.h 1.62 +6 -1 src/sys/conf/options To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message