From owner-freebsd-hackers Wed Feb 6 9:45:57 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 83DCA37B419 for ; Wed, 6 Feb 2002 09:45:48 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.11.6/8.11.6) id g16Hjft49656; Wed, 6 Feb 2002 12:45:41 -0500 (EST) (envelope-from mwlucas) Date: Wed, 6 Feb 2002 12:45:40 -0500 From: Michael Lucas To: Charles Peterman Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Binding a Process to a specific CPU Message-ID: <20020206124540.A49624@blackhelicopters.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from cjp@sandbox.sandstorm.net on Wed, Feb 06, 2002 at 11:31:58AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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