Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2002 12:45:40 -0500
From:      Michael Lucas <mwlucas@blackhelicopters.org>
To:        Charles Peterman <cjp@sandbox.sandstorm.net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Binding a Process to a specific CPU
Message-ID:  <20020206124540.A49624@blackhelicopters.org>
In-Reply-To: <Pine.LNX.4.33.0202061129160.17154-100000@sandbox.sandstorm.net>; from cjp@sandbox.sandstorm.net on Wed, Feb 06, 2002 at 11:31:58AM -0500
References:  <Pine.LNX.4.33.0202061129160.17154-100000@sandbox.sandstorm.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Short answer: no.

This requires some way of telling processes which CPU to bind to,
i.e., CPU affinity.

Right now, FreeBSD assigns processors based on a simple "scatter"
algorithm.

On Wed, Feb 06, 2002 at 11:31:58AM -0500, Charles Peterman wrote:
> 
> I am currently playing with a dual CPU machine.
> With 4.5, is there a way to guarantee that
> two specific processes never end up on the same
> processor?
> 
> Or does this question betray my fundamental
> ignorance of how processes are allocated on an
> SMP based machine?
> 
> Thanks much,
> 
> Charles Peterman
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message

-- 
Michael Lucas		mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org
my FreeBSD column: http://www.oreillynet.com/pub/q/Big_Scary_Daemons

http://www.blackhelicopters.org/~mwlucas/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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