RE: Limiting CPUs on SUN

  • From: Wolfson Larry - lwolfs <lawrence.wolfson@xxxxxxxxxx>
  • To: "'oracle-l@xxxxxxxxxxxxx'" <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 12 May 2004 18:37:19 -0500

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@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of Wolfson Larry -
lwolfs
Sent: Wednesday, May 12, 2004 12:37 PM
To: oracle-l@xxxxxxxxxxxxx
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  



**********************************************************************
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.



----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: