- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Semaphore question
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
06-29-2006 01:59 AM
06-29-2006 01:59 AM
Semaphore question
We are having performance issues on our HPUX 11iV1 system. It is a 32-way dome with plenty of memory.
We are seeing unexplainable load spikes and we are working with the software vendor to try to find the cause.
We have been told that we should be monitoring the semaphore utilization. Using MWA, we have collected the following data on Semaphore Wait% and Time. We have determined that the wait % does not correlate to the wait time. The high values that we are seeing are happening during extended periods of very high load.
I am looking for an explanation of what I am seeing with these high semaphore time spikes.
Our semmni and semmns are both set at 3072.
The data is consolidated from a long time period.
Thanks,
Craig
Here is the data:
Sem ; Sem ;
Wait %; WaitTm ;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
10.31; 33856.691;
1.16; 3771.003;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
0.13; 35.777;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
0.56; 142.137;
0.00; 0.000;
0.00; 0.000;
7.47; 2030.291;
3.03; 0.120;
1.48; 310.002;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
6.98; 1752.705;
1.56; 346.436;
0.00; 0.000;
0.00; 0.000;
0.00; 0.000;
0.36; 91.137;
0.00; 0.000;
0.00; 0.000;
44.11; 10705.630;
14.59; 3770.927;
0.00; 0.000;
0.00; 0.000;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2006 02:11 AM
06-29-2006 02:11 AM
Re: Semaphore question
If you look in the database and do a latch analysis, you'll see a similar problem (latch waits).
It's pretty simple, you've got busy areas in your database with a lot of contention for that resource. You'll need to find it and identify it.
I'd start with a statspack analysis from Oracle, and begin looking for the top code being called, on two fronts - total time running, and total number of executions. Your problem code is probably somewhere in there, and it probably needs tuning.
If you find it's tuned (it's probably not... just programs in general), then you've got to start looking at how the data is being striped across the data areas. You should look into making sure the data involved in the above criteria (run time and execution time) is striped across a good many database files. Also all tables and (hopefully) indexes involved should have their "inittrans" levels set high enough to keep the latch contention levels low. If it's a busy table, a rough guess would be to start at 12 (vs default of 2) and work your way up from there.
Anyway, you've got database tuning to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2006 02:13 AM
06-29-2006 02:13 AM
Re: Semaphore question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2006 02:28 AM
06-29-2006 02:28 AM
Re: Semaphore question
In short, blocking on a sema4 can be a perfectly normal thing and no amount of changing kernel tunables will help in that case. Depending upon the application design, you might see Process A blocking on a sema4 but what it is really doing is waiting for Process B to complete some task (possibly i/o bound) and set the semaphore to tell Process A to proceed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 02:35 AM
07-27-2006 02:35 AM