Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2001 11:59:42 -0600
From:      Alfred Perlstein <bright@mu.org>
To:        "Andrew R. Reiter" <arr@FreeBSD.org>
Cc:        Hiroharu Tamaru <tamaru@myn.rcast.u-tokyo.ac.jp>, freebsd-smp@FreeBSD.org, John Baldwin <jhb@FreeBSD.org>
Subject:   Re: cpu affinity
Message-ID:  <20011112115942.N89342@elvis.mu.org>
In-Reply-To: <Pine.NEB.3.96L.1011112124127.28029D-100000@fledge.watson.org>; from arr@FreeBSD.org on Mon, Nov 12, 2001 at 12:45:41PM -0500
References:  <sa6g07jdib6.wl@ring.myn.rcast.u-tokyo.ac.jp> <Pine.NEB.3.96L.1011112124127.28029D-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Andrew R. Reiter <arr@FreeBSD.org> [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=<pid> --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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011112115942.N89342>