- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: I dont understand what the load is?
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
08-21-2003 07:03 AM
08-21-2003 07:03 AM
Just wondering what exactly the load is that is on a top or when you use uptime? I realise that with uptime it is a 1,5 and 15 minute snapshot of the load.
is the load the number of processes waiting for CPU time, if so what is an acceptable limit, abou 2 or 3?
So the real question is can someone please explain to me exactly what the load is all about please?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 07:13 AM
08-21-2003 07:13 AM
SolutionFrom the man page:
uptime prints the current time, the length of time the system has been
up, the number of users logged on to the system, and the average
number of jobs in the run queue over the last 1, 5, and 15 minutes for
the active processors.
See also this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x9f7637f45ef7d4118fef0090279cd0f9,00.html
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 07:15 AM
08-21-2003 07:15 AM
Re: I dont understand what the load is?
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 07:17 AM
08-21-2003 07:17 AM
Re: I dont understand what the load is?
I have a system here that is "busy" when it hits about 6. But then again, its a single CPU system.
When troubleshooting medium sized systems I get concerned when its over 20 or so.
A good way to approach this is to run uptime at various times when the system is "normal" so you can get a feel for what that level is and then compare from there.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 07:35 AM
08-21-2003 07:35 AM
Re: I dont understand what the load is?
If the load consistently creeps above 4 then would this be a sign of the system being CPU bound? The CPU Idle is normally about 20% when the load goes over 3.5-4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 08:00 AM
08-21-2003 08:00 AM
Re: I dont understand what the load is?
Firstly, memory/swap space.
Use swapinfo -tam to get figures for the % of memory and swap space used.
eg:
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 2048 0% 0 - 1 /dev/vg00/lvol2
reserve - 1290 -1290
memory 3208 795 2413 25%
total 7304 2085 3171 29% - 0 -
If the dev swap (on disk) has a % used value, and , % memory is high, you should look at what's using the memory.
This can be achieved using
UNIX95= ps -opid,vsz,args | sort -rnk2 | more
This lists the pid, memory size (in KB) of the process, and the process name with arguments, sorted with the highest memory use first. It may be that you have poor coding in your application causing memory leaks, in which case, the highest figures will rise constantly (up to the limit defined by the maxdsiz parameter in the kernel).
If memory is diagnosed as the cause of the performance issue, it's probably easier and cheaper to buy some more, rather than getting your applications tuned (I know that this isn't the "best" way to fix the problem, but it gets you out of your immediate situation, and helps to keep your users happy).
Disk performance should also be considered.
When you have a report of performance problems, run
sar -d 1 5
This will give
16:56:23 device %busy avque r+w/s blks/s avwait avserv
16:56:24 c1t2d0 1.01 0.50 3 12 3.18 5.94
c2t2d0 1.01 0.50 2 8 2.76 4.32
16:56:25
16:56:26
16:56:27
16:56:28 c1t2d0 1.00 0.50 1 6 3.98 7.78
c2t2d0 1.00 0.50 1 6 4.02 6.89
c4t0d5 2.00 0.50 4 64 3.77 6.16
Average c1t2d0 0.40 0.50 1 4 3.38 6.40
Average c2t2d0 0.40 0.50 1 3 3.18 5.18
Average c4t0d5 0.40 0.50 1 13 3.77 6.16
As you can see, the disks on this system have an average %busy rating of 0.40, which is obviously not a problem. If you regularly find that one of your disks is busier than the others, you need to look at what filesystems are on that disk (pvdisplay -v /dev/dsk/
Hope that's of use to you.
Chris.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 08:01 AM
08-21-2003 08:01 AM
Re: I dont understand what the load is?
I never worry about the load, instead I use
vmstat 1 1000
sar 1 1000
if im vmstat the po (page out) remains at zero and there is always free memory
AND in sar %wio is low and %idle is low then you are CPU bound.
Glance is even better for performance monitoring, might consider installing the trial version.
Regards,
Bernhard