*BSD News Article 52568


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!solaris.cc.vt.edu!news.seanet.com!news.seanet.com!michaelv
From: michaelv@MindBender.HeadCandy.com (Michael L. VanLoon)
Newsgroups: comp.sys.ibm.pc.hardware.chips,comp.sys.ibm.pc.hardware.systems,comp.os.linux.hardware,comp.unix.bsd.freebsd.misc
Subject: Re: Dual Pentium MotherBoard.
Date: 05 Oct 1995 03:17:31 GMT
Organization: HeadCandy Associates... Sweets for the lobes.
Lines: 29
Message-ID: <MICHAELV.95Oct4201732@MindBender.HeadCandy.com>
References: <44735j$7qo@kappa.usc.edu> <DFHG2v.7Mw@ritz.mordor.com>
	<MICHAELV.95Oct2203731@MindBender.HeadCandy.com>
	<44u8h7$3n9@news.bu.edu>
NNTP-Posting-Host: mindbender.seanet.com
In-reply-to: mi@bu.edu's message of 4 Oct 1995 15:16:55 GMT
Xref: euryale.cc.adfa.oz.au comp.sys.ibm.pc.hardware.chips:35296 comp.sys.ibm.pc.hardware.systems:20921 comp.os.linux.hardware:17935 comp.unix.bsd.freebsd.misc:7136

In article <44u8h7$3n9@news.bu.edu> mi@bu.edu (Mikhail Teterin) writes:

   Some time ago (03 Oct 1995 03:37:23 GMT) honorable Michael L. VanLoon, 
   residing at michaelv@MindBender.HeadCandy.com wrote:

   |Yes.  If your process is given a set of processors to run on (a
   |process affinity mask or something like that), you can specify for each
   |thread or spawned process a subset of those processors you want it to
   |run on, but you can't specify more than you've been given.  For
   |example, your process is given a mask that lets it run on processor
   |1 and 2, in a four-processor system.  It can't twiddle its mask to let
   |it run on processor 3, but it could limit a spawned thread or process
   |such that it could ONLY run on processor 1 or 2.

   Just curious, how can user/programmer specify the _process'_ affinity?
   up to NT 3.51 there is only SetThreadAffinityMask()... Thanks!

Yes, that is what I meant.  I was only trying to speak in general
terms here, and did not have a reference handy.  That is why I
specifically said he should go find books on the subject.

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Michael L. VanLoon                                 michaelv@HeadCandy.com
       --<  Free your mind and your machine -- NetBSD free un*x  >--
     NetBSD working ports: 386+PC, Mac 68k, Amiga, HP300, Sun3, Sun4,
                           DEC PMAX (MIPS), DEC Alpha, PC532
     NetBSD ports in progress: VAX, Atari 68k, others...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -