From owner-cvs-sys Mon Sep 30 17:13:15 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA23369 for cvs-sys-outgoing; Mon, 30 Sep 1996 17:13:15 -0700 (PDT) Received: from parkplace.cet.co.jp (parkplace.cet.co.jp [202.32.64.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA23291 for ; Mon, 30 Sep 1996 17:13:10 -0700 (PDT) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.8.0/CET-v2.1) with SMTP id AAA21199; Tue, 1 Oct 1996 00:12:54 GMT Date: Tue, 1 Oct 1996 09:12:54 +0900 (JST) From: Michael Hancock To: dyson@freebsd.org cc: ache@nagual.ru, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/vm vm_object.c vm_object.h vm_page.c vm_pageout.c In-Reply-To: <199609292000.PAA10815@dyson.iquest.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 29 Sep 1996, John S. Dyson wrote: > > > BTW, what is "page coloring"? Do you know any papers (URLs) available? > > > > I just realized that I might have been a bit rude by not answering your > initial question as to what "page coloring" is. It is a way of choosing > pages more carefully so that a direct mapped cache is used more effectively. > It is a way of making a direct mapped cache look more like an associative > cache. Unfortunately, our inclusion of page coloring has exacted a small > performance hit for certain low level benchmarks (it is because we have > optimizations to reuse recently used pages so that they are more likely > in the cache.) In the long run, the performance is higher. Specifically, > you might try running multiple copies of the heapsort/nsieve benchmark(s) > in ftp.nosc.mil:/pub/aburto. It might be interesting to note that Solaris does it's coloring in it's slab memory allocator. +-------------+-------+-------+--- ---+-----------------------+ |Coloring area|Object1|Object2|... ...|Link to next slab, etc.| +-------------+-------+-------+--- ---+-----------------------+ Regards, Mike Hancock