Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2001 23:49:08 -0500
From:      Mike Meyer <mwm@mired.org>
To:        "David S. Geirsson" <andmann@andmann.eu.org>
Cc:        questions@freebsd.org
Subject:   Re: SMP question
Message-ID:  <15115.16708.771505.63035@guru.mired.org>
In-Reply-To: <54181444@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
David S. Geirsson <andmann@andmann.eu.org> types:
> I don't have an SMP system, but I might buy one in the near future. I just
> have one question, having never used SMP: Can I specify which CPU a process
> runs on? I.E., I want to start process X, and it should run on CPU #0, but
> process Y should run on CPU #1. Is this possible? How?

It's not possible. For most things, you don't want to do that - you
want to let the system schedule whichever processor is available
next. The S in SMP is for symmetric. If a specific CPU is required to
do certain things, the MP is no longer symmetric, it's
asymmetric. There are applications where that's desirable, but most
don't suffer from being on an SMP system.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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




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