From owner-freebsd-hackers Thu Sep 16 11:37:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from unix1.it-datacntr.louisville.edu (unix1.it-datacntr.louisville.edu [136.165.4.27]) by hub.freebsd.org (Postfix) with ESMTP id 20C6314D61 for ; Thu, 16 Sep 1999 11:37:41 -0700 (PDT) (envelope-from k.stevenson@louisville.edu) Received: from homer.louisville.edu (ktstev01@homer.louisville.edu [136.165.1.20]) by unix1.it-datacntr.louisville.edu (8.8.8/8.8.7) with ESMTP id OAA28444 for ; Thu, 16 Sep 1999 14:37:25 -0400 Received: (from ktstev01@localhost) by homer.louisville.edu (8.8.8/8.8.8) id OAA11989 for freebsd-hackers@freebsd.org; Thu, 16 Sep 1999 14:37:24 -0400 (EDT) Message-ID: <19990916143724.F17119@homer.louisville.edu> Date: Thu, 16 Sep 1999 14:37:24 -0400 From: Keith Stevenson To: freebsd-hackers@freebsd.org Subject: Re: cache-friendly scheduling for SMP References: <199909161225.MAA14962@jules.res.cmu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199909161225.MAA14962@jules.res.cmu.edu>; from greg on Thu, Sep 16, 1999 at 12:25:52PM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Sep 16, 1999 at 12:25:52PM +0000, greg wrote: > I'm trying to run 1-2 processes with very large memory footprints on my P2 SMP > machine. I'm finding that the process switches cpu's quite often, which > obviously isn't good for the caches on the CPU. > > Can anybody point me to a paper, mailing list discussion, etc. that discusses > scheduling processes to not thrash the cpu caches? Or if there's anything in > place, how I can take advantage of it, etc. I got stumped on the idea a while > ago, so I'm really curious... All I've heard is a marketing presentation. I haven't seen this is the real world yet. IBM just released a new version of AIX (4.3.3). One of the big features is CPU affinity in order to made better use of the CPU caches. They claim to have done this be having a separate run queue for each CPU. Just food for thought, --Keith Stevenson-- -- Keith Stevenson System Programmer - Data Center Services - University of Louisville k.stevenson@louisville.edu PGP key fingerprint = 4B 29 A8 95 A8 82 EA A2 29 CE 68 DE FC EE B6 A0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message