From owner-freebsd-current Mon Jul 27 15:50:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA29124 for freebsd-current-outgoing; Mon, 27 Jul 1998 15:50:56 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp02.primenet.com (root@smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA29109 for ; Mon, 27 Jul 1998 15:50:47 -0700 (PDT) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id OAA08195; Mon, 27 Jul 1998 14:30:59 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp02.primenet.com, id smtpd007414; Mon Jul 27 14:30:30 1998 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id NAA20781; Mon, 27 Jul 1998 13:23:33 -0700 (MST) From: Terry Lambert Message-Id: <199807272023.NAA20781@usr08.primenet.com> Subject: Re: New LINT options: what is VM coloring? To: dyson@iquest.net Date: Mon, 27 Jul 1998 20:23:32 +0000 (GMT) Cc: dfr@nlsystems.com, tlambert@primenet.com, roberto@keltia.freenix.fr, freebsd-current@FreeBSD.ORG In-Reply-To: <199807271520.KAA01416@dyson.iquest.net> from "John S. Dyson" at Jul 27, 98 10:20:13 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > For two level caches, the coloring should work fine. However, it is > problematical with 3-level alpha caches. My guess is that one would > want to page-color for the 2nd and 3rd level caches, but of course, > you might want to experiment. It is critical to color for the larger > cache. To color for all three caches, you could just expand the > coloring scheme in FreeBSD. I don't know if it is the right approach > though. The Digital literature suggests for small enough working sets, putting the entire working set into L1 cache and keeping it there. I don't know how you would ensure this if you were allowing interrupts and drivers to run, except to minimize the use of seperate stacks as much as possible, and reduce the amount of auto data usage and function call depth for interrupt code as much as possible. The method they state they use in order to do this is "page coloring" of the L1 cache. This is from the Digitasl UNIX 2.0 release notes. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message