From owner-freebsd-questions Wed May 23 21: 8:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tomts7-srv.bellnexxia.net (tomts7.bellnexxia.net [209.226.175.40]) by hub.freebsd.org (Postfix) with ESMTP id 7E5F637B424; Wed, 23 May 2001 21:08:10 -0700 (PDT) (envelope-from matt@gsicomp.on.ca) Received: from xena.gsicomp.on.ca ([64.228.152.235]) by tomts7-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010524040809.EXKZ16174.tomts7-srv.bellnexxia.net@xena.gsicomp.on.ca>; Thu, 24 May 2001 00:08:09 -0400 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.11.1) with SMTP id f4O45XN89194; Thu, 24 May 2001 00:05:33 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <00b701c0e406$88c480d0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "David S. Geirsson" , "Greg Lehey" Cc: References: <20010522125544.C2342@bong.andmann.eu.org> <20010523093738.A76823@wantadilla.lemis.com> <20010523091347.B1083@bong.andmann.eu.org> Subject: Re: SMP question Date: Thu, 24 May 2001 00:03:46 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 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 Just for sake of comparison, there exist other UNIX operating systems that let you bind multiple processes (or process groups) to certain processors. Obviously it's been a feature that's deemed worthy of implementation by those companies who profit from making OS products. Would this be something that we (as in the FreeBSD project, not just the people in this thread) should consider implementing? -- Matt > Well, for example if I would want a process to run with minimal interruption > from other processes, I would like to be able to run it on one processor, > then just run everything else on the other one. Then again, I suppose it > would get plenty of CPU by changing its nice level. > > On Wed, May 23, 2001 at 09:37:39AM +0930, Greg Lehey wrote: > > 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 > > -- > Davíð Steinn Geirsson > andmann@andmann.eu.org > (354)-8696608 > > "Support staff hung over, Send aspirin and come back LATER." > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message