From owner-freebsd-current Thu Sep 12 20:08:16 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA01847 for current-outgoing; Thu, 12 Sep 1996 20:08:16 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA01821 for ; Thu, 12 Sep 1996 20:08:11 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.7.5/8.6.9) id WAA00231; Thu, 12 Sep 1996 22:07:55 -0500 (EST) From: "John S. Dyson" Message-Id: <199609130307.WAA00231@dyson.iquest.net> Subject: Re: VM problem (OK!!) To: jdli@FreeBSD.csie.NCTU.edu.tw (Jian-Da Li) Date: Thu, 12 Sep 1996 22:07:55 -0500 (EST) Cc: freebsd-current@freebsd.org In-Reply-To: <199609130235.KAA02639@FreeBSD.csie.NCTU.edu.tw> from "Jian-Da Li" at Sep 13, 96 10:35:29 am Reply-To: dyson@freebsd.org X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > Addition of page coloring support. Various levels of coloring are afforded. > > The default level works with minimal overhead, but one can also enable > > full, efficient use of a 512K cache. (Parameters can be generated > > to support arbitrary cache sizes also.) > > BTW, I don't understand this, does it mean that I can tune my kernel > to use cache better ? (I got 512k pb-cache, 32MB DRAM, ASUS T2P4 M/B) > Yes!!! I haven't documented the options yet, their names are probably not final. > > What option to set ? > For 256K cache 'options PQ_MEDIUMCACHE' For 512K cache 'options PQ_LARGECACHE' The default is to color for only a 64K cache, which provides only minor improvements, but is much better than the random allocations that we (and almost every other free OS) had previously done. You'll see only small improvments on normal workloads, but it does work very well at what it does :-). John