GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: High SysUtil than User Util
Operating System - HP-UX
1848132
Members
7931
Online
104022
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-01-2004 01:57 PM
12-01-2004 01:57 PM
High SysUtil than User Util
Hi Folks,
My application is doing high system util that is 80% than user util(15%).
As a first step I used the tusc for that process. I saw, there are many many system calls and hence the sysUtil.
My question is,
Most of the time my process is doing ksleep(U can see in tusc output attached). What is this ksleep?
Why this is taking too much of CPU?
How this is differ from sleep?
Please check the tusc output and can anybody explain what it says..I am new to tusc..
Thanks in Advance,
Sree
My application is doing high system util that is 80% than user util(15%).
As a first step I used the tusc for that process. I saw, there are many many system calls and hence the sysUtil.
My question is,
Most of the time my process is doing ksleep(U can see in tusc output attached). What is this ksleep?
Why this is taking too much of CPU?
How this is differ from sleep?
Please check the tusc output and can anybody explain what it says..I am new to tusc..
Thanks in Advance,
Sree
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2004 02:20 PM
12-01-2004 02:20 PM
Re: High SysUtil than User Util
If system is using 80% and user(the application) is using 15% a few causes come to mind.
1) A poorly written application is doing too many system calls or other unfriendly things triggering the system resource useage.
2) The system is swapping badly, or otherwise overloading system resources.
The key to figuring out the trouble is to see what processes are running.
I've attached a sar based data collection script that should help us figure out what process is doing what. It can also detect disk i/o and wait issues.
Attached:
SEP
1) A poorly written application is doing too many system calls or other unfriendly things triggering the system resource useage.
2) The system is swapping badly, or otherwise overloading system resources.
The key to figuring out the trouble is to see what processes are running.
I've attached a sar based data collection script that should help us figure out what process is doing what. It can also detect disk i/o and wait issues.
Attached:
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2004 05:43 PM
12-01-2004 05:43 PM
Re: High SysUtil than User Util
ksleep is part of the sleep routines and is used in multi-threaded processes. It is taking the amount of CPU time that the programmer wrote. It is taking a lot of CPU time because it is being called a lot. But from your tusc output, there are far more reads and lseeks than any other system calls. When an application uses massive amounts of kernel time, there is always a question about the design of the program. There is nothing you can do about this in HP-UX. You'll have to call Cognos to discuss the excesively high system overhead. There's always a possibility that you are not up to date on thread patches and/or kernel patches.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 07:26 AM
12-03-2004 07:26 AM
Re: High SysUtil than User Util
You might also take a look at the relative counts of system calls - either with the option in tusc, or via the "l" screen in glance.
ksleep is part of the thread mutext/condition variable aquisition path. It can indicate non-trivial mutex contention in an application if there are also many sched_yield() calls (modulo someone "tuning" the spin counts for mutexes).
Some of the paramters to the ksleep call will say if they are for a mutex or a condition variable, and will give the address of the same. If they are all for the same address, it suggests contention. If they are all for different addresses, it suggests perhaps overly fine-grained locking. Those are both in basic broad handwaving terms, exceptions may apply.
The usual song and dance about being on the latest pthreads patches would apply, and then as Bill has suggested, getting in touch with the application vendor.
You might be able to get further/kernel profile information with prospect if you are on PA-RISC, or caliper if you are on Itanium. I believe that http://www.hp.com/go/prospect and http://www.hp.com/go/caliper may get you to those tools.
ksleep is part of the thread mutext/condition variable aquisition path. It can indicate non-trivial mutex contention in an application if there are also many sched_yield() calls (modulo someone "tuning" the spin counts for mutexes).
Some of the paramters to the ksleep call will say if they are for a mutex or a condition variable, and will give the address of the same. If they are all for the same address, it suggests contention. If they are all for different addresses, it suggests perhaps overly fine-grained locking. Those are both in basic broad handwaving terms, exceptions may apply.
The usual song and dance about being on the latest pthreads patches would apply, and then as Bill has suggested, getting in touch with the application vendor.
You might be able to get further/kernel profile information with prospect if you are on PA-RISC, or caliper if you are on Itanium. I believe that http://www.hp.com/go/prospect and http://www.hp.com/go/caliper may get you to those tools.
there is no rest for the wicked yet the virtuous have no pillows
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP