CPU Load balancing in AIX 5.2, Oracle


 
Thread Tools Search this Thread
Operating Systems AIX CPU Load balancing in AIX 5.2, Oracle
# 1  
Old 04-27-2012
CPU Load balancing in AIX 5.2, Oracle

I am neither a DBA nor an AIX spcialist. We are running Oralce 11G on P5, AIX5.3.
Per Oracle reports we are using 16 CPUs and 8 cores. However when I am looking at nmon report I find the cpu utilization is not load balanced.

Code:
CPU_SUMM	User%	Sys%	Wait%	Idle%
xxx001	 74.2	23.6	1.0	1.3
xxx002	 71.1	10.1	1.9	16.9
xxx003	 85.0	13.9	0.5	0.7
xxx004	 73.9	9.9	1.3	14.9
xxx005	 82.4	10.9	0.5	6.2
xxx006	 68.8	11.2	1.0	19.0
xxx007	 31.2	20.6	0.1	48.1
xxx008	 17.0	27.2	0.2	55.6
xxx009	 0.0	30.1	0.0	69.9
xxx010	 0.0	28.7	0.0	71.3
xxx011	 0.0	27.7	0.0	72.2
xxx012	 0.0	31.2	0.0	68.8
xxx013	 0.0	28.8	0.0	71.2
xxx014	 0.0	32.8	0.0	67.1
xxx015	 0.0	27.3	0.0	72.6
xxx016	 0.1	33.7	0.0	66.2

As you can see we are having some processors experiencing wait time where as some are idling. My question is simple:Are we not supposed to have some load balancing in place that would take care of the above imbalances? A more advanced question would be: What do I need to set in ORACLE/AIX to make the above a more uniformly load balanced system.

Last edited by Scrutinizer; 04-28-2012 at 05:26 AM.. Reason: code tags
# 2  
Old 04-28-2012
it would be a lot more helpful if you would post vmstat -Iwt instead of what you did post - but just so much - oracle is a thread based DB - and if you do not have any work for the cpus, than the cpus are not doing anything in the usersection.
The wait times you see are waiting for IO to finish rather than whatever you think it is.
AIX will ALWAYS load balance across all available cpus - primarily between the first threads of the virtual cpus first before utilizing the second thread. In addition you are doing with AIX 5.3 on p5 out of order processing - that means whatever work is available and whatever processor has the 'correct' section idling - the work will be done no matter if it would be per scheduler the next task or not.

Regards
zxmaus
# 3  
Old 04-28-2012
If you add up column 2 and 3 and 4 and 5 it looks different already...
Code:
CPU_Nr	Busy%	Idle%
xxx001	97.8	2.3
xxx002	81.2	18.8
xxx003	98.9	1.2
xxx004	83.8	16.2
xxx005	93.3	6.7
xxx006	80	20
xxx007	51.8	48.2
xxx008	44.2	55.8
xxx009	30.1	69.9
xxx010	28.7	71.3
xxx011	27.7	72.2
xxx012	31.2	68.8
xxx013	28.8	71.2
xxx014	32.8	67.1
xxx015	27.3	72.6
xxx016	33.8	66.2

# 4  
Old 04-28-2012
scrutinizer:
I think I did not understand your suggestion. coluld you pl explain?
# 5  
Old 04-28-2012
There isn't much to explain. I just added up the CPU busy cycles (column 2 and 3) and the idle cycles (column 4 and 5). I thought perhaps that might give a clearer impression of the load on the various CPU's...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Load Balancing in UNIX

Dear All, Can any one help me for this request? There is a case. I have 20 files which I need to FTP to 5 servers. I want to know if there is any possibility to make a load balancer which transfers files in round robin manner to 5 servers. As per theoretical algorithm, what I think, flow can... (9 Replies)
Discussion started by: Zaib
9 Replies

2. UNIX for Advanced & Expert Users

Load balancing in Autosys

Hi, I am working on development project where I have to migrate many jobs from Tidal to Autosys R11. During this project we came across the following requirements. 1. There are 3 real machines. There could be many jobs activated simultaneously, but only one job should execute at a time and... (0 Replies)
Discussion started by: sujeetp
0 Replies

3. UNIX for Advanced & Expert Users

Help in MQ load balancing

Hi, Currently we have 3 old and 3 new servers catering to Live traffic. As my component move from legacy interfaces to MQ one, we want to have load balancing of old interfaces available on MQ interface as well. For this, we want to send only 30% of all MQ traffic on 3 OLD Live servers, and want... (1 Reply)
Discussion started by: senkerth
1 Replies

4. IP Networking

Load Balancing ppp

Hello everybody How can i Load Balance two slow ppp(gprs) connections with iptables . (4 Replies)
Discussion started by: rink
4 Replies

5. Linux

HTTP load balancing.

Hi, We have 2 pools of servers. Lets call them A and B and they would contain 2 servers each. Pool A will be hosting www.example.com/app/v1 and pool B will be hosting www.example.com/app/v2. Clients will be requesting right url (/v1 or /v2) but will be hitting just one IP. I'd like to: 1)... (3 Replies)
Discussion started by: chrisfb
3 Replies

6. Web Development

Load Balancing in Apache

Hi All, I have one webserver which has an application for a set of internal users can be accessed by _http://server1.com I am planning to load balance this application. For that I have cloned this server and build a new one which can be accessed using _http://server2.com]Server2.com. Also i... (2 Replies)
Discussion started by: Tuxidow
2 Replies

7. Solaris

Load balancing with IPMP

Is it possible to do a load balancing ( incoming and outgoing )with with IPMP in solaris 10 like sun trunking ? If yes what are the steps involved in it , i know how to do the failover IPMP both link based and probe based but i 'm looking for possible load balancing (3 Replies)
Discussion started by: fugitive
3 Replies

8. Ubuntu

perlbal and load balancing

Hi guys, I wonder if someone would be able to assist with my problem. I have just set up a load balancer for a company I am working for. HTTP redirection is working fine, however they also want to load balance SSH and FTP too. At the moment the perlbal config looks like; CREATE POOL webhttp ... (1 Reply)
Discussion started by: JayC89
1 Replies

9. AIX

idea on hacmp load balancing

Hi All, Any idea about load balancing on hacmp? Or load balancing is only on lpar. Any idea or link info will do. Thanks in advance. (2 Replies)
Discussion started by: itik
2 Replies

10. UNIX for Dummies Questions & Answers

Question about load balancing

If you have two or more servers load balancing, are the servers mirroring one another? If images, etc., are uploaded, will they be stored on all the servers so that if one server goes down, the images will be served up by another server? (1 Reply)
Discussion started by: wvmlt
1 Replies
Login or Register to Ask a Question