Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Limiting CPUs on SUN
I found these on GOOGLE re psrset:
http://www.sas.com/partners/directory/sun/sunfire.pdf
http://www.sun.com/sun-on-net/itworld/UIR980501perf.html
Anybody using this with Oracle?
Thanks Larry
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Wolfson Larry -
lwolfs
Sent: Wednesday, May 12, 2004 12:37 PM
To: oracle-l_at_freelists.org
Subject: Limiting CPUs on SUN
Wanted to check on this.
Client (Currently 8174) discovered they're only licensed for X CPUs where they have X+14. They want to limit this to be in compliance and still run associated apps.
Someone's looking at CPU_COUNT which I don't think really works at limiting anything. I've seen it set higher than actual by some DBAs, but didn't hear what benefit that really was.
Sun does have a psrset command I just heard of. Will that do the job for them?
Thanks
Larry Wolfson
We did this on TRU64 but we had to modify the OS ourselves. Not a popular decision.
NAME
psrset - creation and management of processor sets
SYNOPSIS psrset -a processor_set_id processor_id...
psrset -b processor_set_id pid...
psrset -c [processor_id]...
psrset -d processor_set_id
psrset -e processor_set_id command [argument(s)]
psrset -f processor_set_id
psrset [-i] [processor_set_id]...
psrset -n processor_set_id
psrset -p [processor_id]...
psrset -q [pid]...
psrset -r processor_id...
psrset -u pid...
DESCRIPTION The psrset utility controls the management of processor sets. Processor sets allow the binding of processes to groups of processors, rather than just a single processor. There are two types of processor sets, those created by the user using the psrset command or the pset_create(2) <@FPI2SOI;targetdocent=-%2F%2FSun%3A%3ASunSoft%2F%2FDOCUMENT+REFMAN2+Version +2.0%2F%2FEN;localinfo=pset-create-2;type=> system call, and those automatically created by the system. Processors assigned to user-created processor sets will run only LWPs that have been bound to that processor set, but system processor sets may run other LWPs as well.
System-created processor sets will not always exist on a given machine. When they exist, they will generally represent particular characteristics of the underlying machine, such as groups of processors that can communicate more quickly with each other than with other processors in the system. These processor sets cannot be modified or removed, but processes may be bound to them.
l
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
![]() |
![]() |