Solaris 8 and processor bindings

From: Bernd Schemmer (Bernd.Schemmer@gmx.de)
Date: Tue Dec 13 2005 - 06:30:07 EST


Hi,

a project running Solaris 8 on a E2900 wants to implement CPU bindings
for their processes.

The project runs an Oracle database and an application on that machine.
Half of the CPUs should be used for the Oracle DB and the others for the
application. psrinfo gives the following output:

0 on-line since 12/12/05 16:15:06
1 on-line since 12/12/05 16:15:16
2 on-line since 12/12/05 16:15:16
3 on-line since 12/12/05 16:15:16
8 on-line since 12/12/05 16:15:16
9 on-line since 12/12/05 16:15:16
10 on-line since 12/12/05 16:15:16
11 on-line since 12/12/05 16:15:16
512 on-line since 12/12/05 16:15:16
513 on-line since 12/12/05 16:15:16
514 on-line since 12/12/05 16:15:16
515 on-line since 12/12/05 16:15:16
520 on-line since 12/12/05 16:15:16
521 on-line since 12/12/05 16:15:16
522 on-line since 12/12/05 16:15:16
523 on-line since 12/12/05 16:15:16

AFAIK this can be done with prset without using the Resource Manager.

At this time I' m planning to implement it this way:

- create an init script to create the two processor sets

- bind the startup script for Oracle to one of the processor sets (this
should be done in the startup script for Oracle)

- bind the startup script for the application to the other processor set
(this should be done in the startup scrpit for the application)

Again AFAIK, binding the startup script to a processor set should be
enough to bind all processes started by the startup script also to the
processor set. Right?

But I have some questions about how to implement this:

Is there any additional documentation about doing this apart from the
man page and docs.sun.com?

Are there any pitfalls that I've to be aware of?

What about Interrupt handling? Should I disable interrupts for the
processor sets?

Can/Should I use all existing CPUs for the processor sets?

Any hints about which CPUs I should use for the processor sets?

Do I need to install extra patches (in addition to the recommended
patchset) to get it working?

regards

Bernd

-- 
Bernd Schemmer, Frankfurt am Main, Germany
http://home.arcor.de/bnsmb/index.html
Mas temprano que tarde el mundio cambiara
                        Fidel Castro
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:37:38 EDT