- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CPU not switching
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-24-2002 04:27 AM
04-24-2002 04:27 AM
we have hp-ux 11.00 on L1000 machine. it has 2 processors.
when i observe through glance plus, the processes which are running on TOPEND (middleware) are always using only one CPU. CPU switching is not happennig.
what could be the reason?
suggest me.
thanks in advance
ravi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 04:48 AM
04-24-2002 04:48 AM
Re: CPU not switching
sar -M 3 | cut -b9-80
tells you ?
--CJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 05:26 AM
04-24-2002 05:26 AM
Re: CPU not switching
this is the output of
sar -M 3 | cut -b9-80
tst B.11.00 U 9000/800 04/24/02
cpu %usr %sys %wio %idle
0 0 0 2 98
1 0 0 3 96
system 0 0 3 97
---------
regds
ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 05:44 AM
04-24-2002 05:44 AM
Re: CPU not switching
#sar -M 2 300
while you know there is activity on the system to verify that your observation is correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 05:54 AM
04-24-2002 05:54 AM
Re: CPU not switching
Do a top , that will report the CPU activity , in all the porbability I think your application is a 32 BIT one and is not multithreaded to use the multi CPU loading . So you would see only one cpu under load.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 06:03 AM
04-24-2002 06:03 AM
Re: CPU not switching
not all the processes are running on one CPU.
Only processes which uses a middleware (TOPEND) are running on one CPU
regds
ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 06:53 AM
04-24-2002 06:53 AM
Re: CPU not switching
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xad97663ce855d511abcd0090277a778c,00.html
I wonder if TOPEND incorporates this "feature". Have you called the vendor?
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 07:09 AM
04-24-2002 07:09 AM
Re: CPU not switching
Is it that this process is always running on one particular CPU? like always on CPU 0?. If that is the case, your vendor may be using mpctl() calls to use processor affinity. Else, it may a single threaded process and no one can help it.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2002 07:46 AM
04-24-2002 07:46 AM
SolutionUse GSP ( type control B ) to see your CPu situation.
There is an option to activate your CPU.
Maybe this is your problem...
I hope this help you.
Juanma.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 12:13 PM
04-25-2002 12:13 PM
Re: CPU not switching
If your application uses DCE threads (enabled on HP-UX 11.0 by loading the package off the application CDs), all the threads are handled as a single process, and thus served by a single CPU.
If your application uses Posix threads, threads are handled within the kernel and are thus able to be scheduled by the kernel scheduler, who can then distribute the threads among the CPUs.
The DCE threads support was supposed to go away at 11.00, but there are so many applications written that still support them, so HP has the package to enable them. Unfortunately, the threads are handled as a subset of the parent user process and, thus, don't go through the kernel scheduler. Whatever CPU the parent process happens to be on is the CPU that gets the entire load of the application.
Unfortunately, the only real fix is to rewrite the application...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 01:24 PM
04-25-2002 01:24 PM
Re: CPU not switching
This member has assigned points to 5 of 44 responses to his/her questions.