- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 1 CPU Maximum Utilized, others are stying idle
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2009 09:24 PM
тАО09-07-2009 09:24 PM
is there any way to over-come the situation like out of four CPU; 1 of the CPU is nearly 100% utilized where as the other 3 CPU are staying almost idle?
the machine is rx2660.
O/S is HPUX 11.31.
Thank You.
Regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2009 10:09 PM
тАО09-07-2009 10:09 PM
Re: 1 CPU Maximum Utilized, others are stying idle
Why are you worried?
If you want to make one process use multiple CPUs, you'll need to reprogram to use threads.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2009 10:25 PM
тАО09-07-2009 10:25 PM
Re: 1 CPU Maximum Utilized, others are stying idle
Dennis: Thanks for your reply.
1. in respect to reprogram the code so that it could be executed in a multi-threaded way or in a scalable way, Infact Only Oracle Database service is running on this machine what can we do on O/S layer in this regard?
2. why the 4 CPU's are not being utilized in a balanced manner?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2009 10:43 PM
тАО09-07-2009 10:43 PM
Re: 1 CPU Maximum Utilized, others are stying idle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2009 11:48 PM
тАО09-07-2009 11:48 PM
Re: 1 CPU Maximum Utilized, others are stying idle
It is absolutely possible, using WLM(Work Load Manager) and PRM ( PRocess Resource Manager)
Rgds
Yogesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 03:03 AM
тАО09-08-2009 03:03 AM
Re: 1 CPU Maximum Utilized, others are stying idle
If Oracle is the only thing running, you'll have to talk to them. If you aren't using threads, there is not much the OS can do.
>2. why the 4 CPUs are not being utilized in a balanced manner?
If you only have one process, multiple CPUs can't help, without using threads. And even then, not all algorithms can be improved by using threads.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 03:49 AM
тАО09-08-2009 03:49 AM
Solution>> 1 of the CPU is nearly 100% utilized where as the other 3 CPU are staying almost idle?
That's perfectly reasonable, if either
- there is only one process (thread!) burning CPU
- the system is forced to use just one processor for the most CPU consuming threads (WLM, mpsched actions, mpctl calls in the application)
Is the system 'happy'?
YOU have to help us understand which might be the case.
First, how did you come to your conclusion?
May we assume through 'top'? What other info did it show? Notably... did it show a single process or more than one 'fighting' for that special CPU?
Next looks around with 'mpsched -s' and 'mpsched -q'.
Any binding happening?
Check out: http://docs.hp.com/en/B2355-90689/mpsched.1.html
Did you start to investigate based on complaints, or out of curiosity?
>> fact Only Oracle Database service is running on this machine what can we do on O/S layer in this regard?
The OS will do what it is told to do. No more, no less. It is indeed rare, but not impossible, to see an Oracle installation use just 1 cpu. But it could be 'normal' with just one heavy, or broken application connected.
Was the busy process an Oracle foreground or background process?
What does Oracle believe the situation is like? (AWR, Statspack). Is it happy? Does it identify a CPU hog?
hth,
Hein van den Heuvel
HvdH Performance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 10:49 AM
тАО09-09-2009 10:49 AM
Re: 1 CPU Maximum Utilized, others are stying idle
If you have one process, then one CPU will be utilized. Without completely rewriting the program to break it up into parallel tasks (which you cannot do with most programs), the system executes each instruction in order. If you run 4 separate copies (instances) of Oracle then you'll see the other processors busy, but that is because they are independent.
The standard comparison to illustrate sequential versus parallel execution is this idea:
If one woman can have a baby in 9 months, then 9 women working in parallel should be able to have a baby in one month.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 11:39 PM
тАО09-09-2009 11:39 PM
Re: 1 CPU Maximum Utilized, others are stying idle
And if the user isn't using threads, it would be very silly to move the process from one CPU to another to prevent wear on the the CPU. ;-)
This may require moving megabytes from the cache from one to the other. Or mess up on CCNUMA if using cell local memory.
Once you have a CPU, you should stay there if there is no other higher priority tasks.