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:
firstname.lastname@example.org Henry Katz
email@example.com Hal Stern
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
Thanks to all who responded.
-- DIMITRIS KONTOUDIS | Internet : firstname.lastname@example.org 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