Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 1996 09:12:54 +0900 (JST)
From:      Michael Hancock <michaelh@cet.co.jp>
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
Message-ID:  <Pine.SV4.3.93.961001090412.21043A-100000@parkplace.cet.co.jp>
In-Reply-To: <199609292000.PAA10815@dyson.iquest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.93.961001090412.21043A-100000>