- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Context Switch Rate?
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
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
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
тАО03-01-2002 01:10 PM
тАО03-01-2002 01:10 PM
Context Switch Rate?
Is there a formula to determine what is an acceptable context switch rate?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2002 01:30 PM
тАО03-01-2002 01:30 PM
Re: Context Switch Rate?
I don't know of a formula but I know it when I see it. Some boxes perform very well with process switch rates in the thousands/sec other are dogs at far less. It depends upon whether you are running large batch jobs or many, many interactive processes. If you are concerned that this might be a problem the very first thing to check is whether someone used one of the dumb tuned parameter sets that incorrectly sets timeslice to 1 rather than 10.
A very good tuning guide can be found at:
http://docs.hp.com//hpux/onlinedocs/os/11.0/tuningwp.html#kernparmrec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2002 02:06 PM
тАО03-01-2002 02:06 PM
Re: Context Switch Rate?
We have a N4000 with 6 cpus and 8GB of memory, and most of the heavy processing is batch with an OracleDB, with some interactive.
Our context switch rate varies between between a normal of just over 3K, to a high of 34K.
The equivalent Cswitch cpu% is .03% to 4.3%.
My main concern is, is a high 4.3% Cswitch cpu% normal?
Thanks.
J.Vidal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2002 02:24 PM
тАО03-01-2002 02:24 PM
Re: Context Switch Rate?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2002 04:05 PM
тАО03-01-2002 04:05 PM
Re: Context Switch Rate?
Otherwise, high context switching can be caused by programs that perform polling or other fast I/O, low compute time operations. Whether this is by design or not is an exercise for the original programmers to decicde.
Bill Hassell, sysadmin