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
Forums
Discussions
Discussions
Discussions
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
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
04-01-2009 08:32 AM
04-01-2009 08:32 AM
CPU
Dear Gurus,
I have 2 cpu running in the server, please let me know to the load balance the work load for this cpu.
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 1.65 96.6% 0.0% 0.0% 3.4% 0.0% 0.0% 0.0% 0.0%
1 1.11 14.5% 0.0% 2.0% 83.5% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 1.38 55.6% 0.0% 1.0% 43.4% 0.0% 0.0% 0.0% 0.0%
From the above output cpu 0 is consuming 97% load where as cpu 1 is consuming only 17%, please let me know how to balance the work for the cpu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 08:51 AM
04-01-2009 08:51 AM
Re: CPU
I think you may need PRM (Processer Resource Manager) product to assign load balancing.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 09:01 AM
04-01-2009 09:01 AM
Re: CPU
If you need to dedicate cpus exclusevly to a process(PID), you can use prset.
man prset
processor sets:
http://h20338.www2.hp.com/hpux11i/cache/324638-0-0-0-121.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 10:32 AM
04-01-2009 10:32 AM
Re: CPU
Such a program cannot get full benefit from multiple CPUs: of course it gets *some* benefit from the 2nd CPU because the application can fully use one CPU while the OS uses the other for managing I/O and any other housekeeping tasks it needs to run. But adding a 3rd or 4th CPU would probably not give any significant benefit.
If you can run 2 copies of your program on 2 different pieces of data, that would allow you to place a full load on both CPUs.
If your program cannot be used in this way, the only way to fix it would be to re-design and re-write the program to perform several actions in parallel, making it a threaded program.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2009 04:10 PM
04-01-2009 04:10 PM
Re: CPU
Why? Do you think this will wear out the chip? :-)
The only way to balance the load would be to make both at 100% by implementing threads or multiple processes and MK said.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2009 02:30 AM
04-02-2009 02:30 AM
Re: CPU
Thanks for the reply, can you please brief in implementing threads, i think that has to take care internally by OS or by application program. please correct me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2009 02:53 AM
04-02-2009 02:53 AM
Re: CPU
Yes, as MK said, the application must be rewritten, unless you can run multiple instances of it, without them interfering with each other.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2009 07:39 AM
04-02-2009 07:39 AM
Re: CPU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2009 08:54 PM
04-02-2009 08:54 PM