From owner-freebsd-questions Tue May 22 21:49:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 502F337B42C for ; Tue, 22 May 2001 21:49:09 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 60228 invoked by uid 100); 23 May 2001 04:49:08 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15115.16708.771505.63035@guru.mired.org> Date: Tue, 22 May 2001 23:49:08 -0500 To: "David S. Geirsson" Cc: questions@freebsd.org Subject: Re: SMP question In-Reply-To: <54181444@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ 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 David S. Geirsson 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. 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