- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to reduce the %sys in sar -u output
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
12-23-2001 11:22 PM
12-23-2001 11:22 PM
How to reduce the %sys in sar -u output
Happy christmas.
With guidance and help from forum members, I am able to tune my HP R380/HP-UX B11.00. Now, in my 'sar -u' output I see the following.
%usr %sys %wio %idle
3 17 7 73
This is the average.
I want to know, is there a possibility to improve the system by reducing the %sys. if so, How it can be done ?
one piece of additional information is,
* this machine is a node of a cluster
* I am at this time connected with 25 users concurrently.
* response to users is good.
Can anybody helpme in this regard,
with thanks
Naga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2001 01:59 AM
12-24-2001 01:59 AM
Re: How to reduce the %sys in sar -u output
Have you checked vmstat, to see if paging is taking place? What about 'sar' reporting on '%wio'? Glance will provide a very good subset of information per process on their modes.
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2001 02:11 AM
12-24-2001 02:11 AM
Re: How to reduce the %sys in sar -u output
In order to lower the % sys metric you would need to identify what activity is causing process/es to spend the time in kernel.
The standard top, glance, gpm performance analysis tools would be the first step to identify the process. You can then further drill down in to system calls/context switches that are being made.
Excessive 'CPU interrupt' activity > 30% would point to an I/O bottleneck. In which case check disk usage/IO cards first.
Memory problems can also come disguised as % sys usage; if the system is > 95% used and paging/deactivations are occurring. The f/s buffer cache may also be set too large, default settings of 50% memory can normally be reduced. (300-400Mb for the F/s cache is usually large enough)
Cheers
AndyZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2001 03:37 AM
12-24-2001 03:37 AM
Re: How to reduce the %sys in sar -u output
* checked vmstat and found no paging
* checked %wio is 7%
* TOP is run and found that CPU activity is around 17%
* there is no waiting due to disk activity ( checked through sar -d )
* kernel parameters were set dbc_max_pct to 15 and dbc_min_pct to 5 prior to this
I hope these things are normal.
Further inputs are welcome
Naga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2001 06:00 AM
12-24-2001 06:00 AM
Re: How to reduce the %sys in sar -u output
In reality I shouldn't be too worried though, a 73% idle figure shows the system still has plenty of power still available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2001 07:03 AM
12-24-2001 07:03 AM
Re: How to reduce the %sys in sar -u output
If you are running ems, it'll consume about 10% of your system resources.
The best way to determine "what" is consuming your resources is to run glance (measureware). You need a license to get the full show, but you can install a trial version (good for 30 days) from your application CD's (The first one I believe).
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2001 01:24 PM
12-24-2001 01:24 PM
Re: How to reduce the %sys in sar -u output
So there is nothing to fix in HP-UX even if the system load grows way beyond 50%. Instead, you need to identify the process(es) that contribute to this high load. A very simple (badly written) program can uselessly consume system time by asking the time of day in an endless loop.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2001 07:00 PM
12-25-2001 07:00 PM
Re: How to reduce the %sys in sar -u output
<<%usr %sys %wio %idle
3 17 7 73
This is the average. >>
Hey, it is 73% idle. Chill out, relax ;-)
For a node in a cluster with 25 users, it is
a decent stat.
You would need to be concerned with a sys
value which goes consistently around the value of 50% and when the idle time is almost Zero.
Generally, it would happen with swapper/vhand
running in sys mode. But, not in this case, since the system is almost idle.
HTH
raj