From owner-freebsd-smp Mon Nov 12 22:36:26 2001 Delivered-To: freebsd-smp@freebsd.org Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [133.11.205.11]) by hub.freebsd.org (Postfix) with ESMTP id 5462437B416; Mon, 12 Nov 2001 22:36:23 -0800 (PST) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is1.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 20AEB21826F; Tue, 13 Nov 2001 15:36:17 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) by is1.mh.itc.u-tokyo.ac.jp (8.11.3/8.11.3) with ESMTP id fAD6aG724319; Tue, 13 Nov 2001 15:36:16 +0900 Received: from ring.myn.rcast.u-tokyo.ac.jp (cognac.myn.rcast.u-tokyo.ac.jp [157.82.66.106]) by mailhosting.itc.u-tokyo.ac.jp (Mirapoint) with ESMTP id AEJ15447; Tue, 13 Nov 2001 15:36:08 +0900 (JST) Date: Tue, 13 Nov 2001 15:37:26 +0900 Message-ID: From: Hiroharu Tamaru To: freebsd-smp@FreeBSD.org Cc: "Andrew R. Reiter" , Hiroharu Tamaru , Alfred Perlstein , John Baldwin , Terry Lambert Subject: Re: cpu affinity In-Reply-To: <20011112115942.N89342@elvis.mu.org> References: <20011112115942.N89342@elvis.mu.org> User-Agent: Wanderlust/2.4.1 (Stand By Me) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386--freebsd) MULE/4.0 (HANANOEN) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Great! I'll try this patch as well when things get set up. I'll be back again after playing around with them. Thanks again. At Mon, 12 Nov 2001 11:59:42 -0600, Alfred Perlstein wrote: > > * Andrew R. Reiter [011112 11:46] wrote: > > > > One idea I had been thinking about, tho Im sure others have already > > thought about doing this many times, is to allow for something like > > chooseproc() to choose a cpu that is on another machine. So, as a stupid > > example, say we have a process/thread controlling utility (psctl)... one > > would be able to: > > > > psctl --move --process= --cpu-location=host:cpu# > > > > Im not sure how useful this would be for anyone outside myself to use, but > > would be interesting to see what we could do with SMP and KSE as things > > become stable later on. Like I said, I believe this work has already been > > done, but imo is something interesting nevertheless. > > I've done this work and proved a small but measurable performance > improvement using my method. > > http://people.freebsd.org/~alfred/bind_cpu.diff > > I'm not sure if that's the one that'll work ATM, i know that KSE > most likely broke it and it doesn't include my patch to psctl to > fiddle the boundness of a process. I'll try to look it up again. > > -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message