threads and smp stuff

Warren Togami warren at togami.com
Thu Jan 10 13:59:14 PST 2002


Are you looking for SMP processor affinity?
http://www.ibiblio.org/pub/Linux/docs/faqs/SMP-FAQ

  7. Does Linux SMP support processor affinity?

     Standard kernel
        No and Yes.  There is no way to force a process onto specific
        CPU's but the linux scheduler has a processor bias for each
        process, which tends to keep processes tied to a specific CPU.

     Patch
        Yes. Look at PSET - Processor Sets for the Linux kernel
        <http://isunix.it.ilstu.edu/~thockin/pset/>:

          The goal of this project is to make a source compatible
          and functionally equivalent version of pset (as defined
          by SGI - partially removed from their IRIX 6.4 kernel)
          for Linux.  This enables users to determine which
     processor or set of processors a process may run on.
     Possible uses include forcing threads to seperate proces
     sors, timings, security (a `root' only CPU?) and probably
     more.

----- Original Message ----- 
From: <lockhart at irtf.ifa.hawaii.edu>
To: "Linux & Unix Advocates & Users" <luau at list.luau.hi.net>
Sent: Thursday, January 10, 2002 11:24 AM
Subject: [luau] threads and smp stuff


> Anybody out there have any experience tying a thread to a specific
> processor on and smp machine?  Basically dedicating that processor to a
> particular thread?  Can anybody point me to information on same?
> 
> Thanks,
> 
> -Charles



More information about the LUAU mailing list