SUMMARY: Controlling the execution on two processors (Sol.2.3)

From: Dimitris Kontoudis (kontoudi@ics.forth.gr)
Date: Wed Sep 21 1994 - 13:31:02 CDT


Greetings,

four people responded to my original question which was:

        Is there some way to control which process is
        allocated to which processor, and to manually
        allocate a process to a specific processor ?

The people who responded are:

        hkatz@lehman.com Henry Katz
        stern@sunrise.east.sun.com Hal Stern
        Chris_Terry/Computervision@ausns1.cv.com
        john@oncology.uthscsa.edu

The answer is yes. The ``pbind'' cpmmand can be used to control
and query binding of processes to processors. However,

"the solaris scheduler puts threads (processes and interrupts) on
CPUs in priority order. it tries to keep a process running on
the same processor (so it enjoys the "warm" cache it had), and
tries to direct interrupts to the CPU that issued the i/o request
(again to maximize cache hits). you can try binding a process
to a processor (see psradm), but this may not give you what you
want -- you might want both CPUs to be free to handle interrupts
at the same time. in general, the OS will do a better job
scheduling things on the fly than any hard partitioning of resources
will."
 
Thanks to all who responded.

Regards,

Dimitris.

--
 DIMITRIS KONTOUDIS                    | Internet : kontoudi@ics.forth.gr
 ICS - FORTH                           | 
 Science and Technology Park of Crete, | Tel.     : (+30) 81 391746,
 P.O. Box 1385, Voutes, Heraklion,     |            (+30) 81 391745.
 GR - 71110, Crete.                    | Fax.     : (+30) 81 391740.
  
 



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:10 CDT