From owner-freebsd-questions Tue May 22 17: 7:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 249B437B424 for ; Tue, 22 May 2001 17:07:45 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 169DA6ACBC; Wed, 23 May 2001 09:37:39 +0930 (CST) Date: Wed, 23 May 2001 09:37:39 +0930 From: Greg Lehey To: "David S. Geirsson" Cc: freebsd-questions@freebsd.org Subject: Re: SMP question Message-ID: <20010523093738.A76823@wantadilla.lemis.com> References: <20010522125544.C2342@bong.andmann.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010522125544.C2342@bong.andmann.eu.org>; from andmann@andmann.eu.org on Tue, May 22, 2001 at 12:55:44PM +0000 Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tuesday, 22 May 2001 at 12:55:44 +0000, David S. Geirsson wrote: > 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? No. The scheduler chooses which CPU to run processes on. In the course of execution they will probably run on all processors. Why would you want to outguess the scheduler? Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html Finger grog@FreeBSD.org for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message