Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 
 

Dedicating CPU processors - Oracle affinity

Oracle Database Tips by Donald Burleson

Question: I have a 32 CPU Linux server with four large applications and I want to dedicate 4 banks of 8 CPU's of each application.  Is CPU affinity a good practice for Oracle?

Answer: Processor (CPU) dedication is called "CPU affinity", and it's been used for decades on large mainframe computers.

Today, CPU affinity a common technique on large Oracle servers with dozens of applications and Oracle databases to keep any single application from "hogging" all of the processing power.  The downside, of course, is that one application may suffer CPU enqueues (as evidenced by the "r" column of vmstat output).

For complete details on CPU configuration for Oracle, see my book "Oracle Tuning: The Definitive Reference".

Remember, CPU affinity is O/S specific, where you tell the OS to route specific classes of tasks to specific processors:

  • Solaris - You can create a processor set:
     
  • Linux - You use the Linux processor schedule utility (schedutils)

Oracle also has some hidden parameters that enable/disable CPU affinity, but YOU MUST get the consent of Oracle Technical support before altering an undocumented parms:

_affinity
_enable_default_affinity

 Also see my notes on using the _high_priority_processes parameter to change dispatching priority of background tasks.

If you like Oracle tuning, see the book "Oracle Tuning: The Definitive Reference", with 950 pages of tuning tips and scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.