- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: system performance
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
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-17-2003 01:15 AM
06-17-2003 01:15 AM
How can we check system's performance other than top? My user is complaining that the system is slow but the load avg from top is less than 10. I noticed that the system is 60% while user roughly 40% from top.
What other resources should I look at and what command to use. Pls. advise.
thank you,
-rosli-
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 01:20 AM
06-17-2003 01:20 AM
Re: system performance
I tend to use glance to monitor a system where users are complaining about performance.
You could also use sar to get disks stats, and other info.
Regards,
Hilary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 01:21 AM
06-17-2003 01:21 AM
Re: system performance
usefull tools for checking performance:
free
sar, vmstat : io for disks and memory
sar -d 3 1000 : check for disks
if %busy it too high you are reaching disk maximum throughput.
sar 3 1000 : general check
uptime :gives you the run queue, should be 3 or less
swapinfo -mt : gives you swap information, usually the lesser the better.
see man for details.
payment tool (but it deserve):
glance
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 01:36 AM
06-17-2003 01:36 AM
Re: system performance
Your load average is < 10, so what is it ?
> 0 or 1 ? The normal guideline is a load average of 1 per cpu, if you have 10 cpu's then a load average of 10 is ok. If you have 1 cpu then a load average > 1 is not ok.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 01:53 AM
06-17-2003 01:53 AM
Re: system performance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 02:24 AM
06-17-2003 02:24 AM
Re: system performance
My load average is 7 with only 1 CPU. So I guess the load is very heavy then. The swap utilization is at 70%. Any idea how can I drill down to the real culprit that's eating up my resources? I'll have to provide a report on this. Appreciate your reply.
thank you.
-rosli-
p/s: Glance is not yet 'affordable' (that's what they said)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 02:26 AM
06-17-2003 02:26 AM
Re: system performance
On a general note I tend to worry most about memory. I use vmstat 2 10 and look for po's. There is also an adb command to get the minfree desfree lotsfree figures which you can compare against the free column from vmstat. Still this doesn't seem to help your immediate concern.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 02:40 AM
06-17-2003 02:40 AM
Re: system performance
If you have swap usage of 70% then it sounds like the cause is lack of memory, basically our physical ram size is 100% used, and an extra 70% used on top of that!
To find memory hoggers without glance use this;
UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | more
It lists processes by memory usage (rough total only - not exact). Hopefully you can id the heavy memory users and get rid of some. But with swap 70% used your going to need to do something drastic to get it back down to 0%, you may have to purchase more ram.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 02:43 AM
06-17-2003 02:43 AM
Re: system performance
can you tell us what processes are using most of the CPU and most of the memory? Post the output from the following commands:
UNIX95= ps -eo "pid ruser pcpu vsz=Kbytes" -o args | sort -rn -k 3 | head -n 10
UNIX95= ps -eo "pid ruser pcpu vsz=Kbytes" -o args | sort -rn -k 4 | head -10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 02:59 AM
06-17-2003 02:59 AM
Re: system performance
sar -u 5 5
sar -v 5 5
sar -b 5 5
sar -d 5 5
vmstat 5 5
swapinfo -tam
ipcs -mob
For memory leaks and other per process details then use 'glance advisor'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 03:00 AM
06-17-2003 03:00 AM
Re: system performance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 03:03 AM
06-17-2003 03:03 AM
Re: system performance
in addition to previous cheks,
post the output of
ipcs -ma
so we will see if there is an application hungry for RAM.
What application have you installed on the server ?
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 03:10 AM
06-17-2003 03:10 AM
SolutionBill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 03:31 AM
06-17-2003 03:31 AM
Re: system performance
I don't think I should post the system stats for now, it's not peak hours. I'll run the suggested commands and post the output. Thank you for all the explainations.
regards
-rosli-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 03:36 AM
06-17-2003 03:36 AM
Re: system performance
Top (as you know)
glance plus (licensed product)
perf view & measureware (licensed product)
Perf view is not a "real time" monitor like top or glance plus is - but you can get info for a large specified range of time including a few minutes ago. You can use this and drill down and determine exactly where the bottle neck is and figure a way on how to correct it. You can create a graph of whatever selected item you are monitoring or look at a spreadsheet layout. A great tool that we use ALL the time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 04:47 AM
06-17-2003 04:47 AM
Re: system performance
I think I would be looking at asking for more memory. Those stats would be interesting to see.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 09:58 PM
06-17-2003 09:58 PM
Re: system performance
I'm posting the stats for references. As for the application, this server is an ERP server with QAD and Progress database. Again, it's with 1 CPU and 1GB memory. Yes, this is a new server, we've just migrated last week from a D390 with 750MB RAM. But no one was complaining then.
Pls. advise, my seat is getting hot by the hour.
thanks
-rosli-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 10:36 PM
06-17-2003 10:36 PM
Re: system performance
- i saw many java process, version 1.3. This version has a poor performance, a a lot of memory request. Why do you need it ? For the progress, QAD, or for other purpose ?
- i saw a sanmgr, lookslike this server is attachaed to a SAN. what devices ? why is sanmgr active ?
- maybe it's a chance, but top usage where shell from a user. If this is normal, check with the users. 7% for a sh process looks much to me.
- most of your system wait state in in the system area. How are the stats for the disks ? maybe your disks are not well tuned, and are causing the bottleneck. check with "sar -d 3 25" and post the output, please.
- how are your lan card set ? maybe there is negotiation between nivc and switch, try setting them to the correct speed, avoiding auto-negotiation.
- you said that you changed server last week. did you, or some of your fellow, changed somethig ? areas to check: version of db, version of executables, settings for db and executables.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 10:51 PM
06-17-2003 10:51 PM
Re: system performance
you say you've just migrate your server, did you tune the kernel parameters ? They can have a real influence on performance even if the lack of memory is the most obvious bottelneck.
To get the kernel parameters use kmtune
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 11:35 PM
06-17-2003 11:35 PM
Re: system performance
To answer Masimo's question:
1. Java are for the QAD's processes
2. We have an enclosure but not a SAN. I believe sanmgr is part of the ems. We did have problem dm_ses_enclosure eating-up 99% CPU load but was advised to install a patch by HP.
3. will check the users sh accordingly, but this is isolated cases.
4. Attached is the disks stats, pls. go thru.
5. how do I go about checking my lan card setting?
6. The DBA installed the db as per his QAD/Progress guidelines. I can't say much on that.
AS for the kernel, it was agreed between the HP engineer and our DBA.
I wonder if I have to go thru the kernel tuning all over again.
thanks.
-rosli-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 12:02 AM
06-18-2003 12:02 AM
Re: system performance
# /sbin/init.d/emsa stop
# /sbin/init.d/diagnostics stop
lancard e.g.
# lanadmin -x 0
Speed = 100 Full-Duplex
The disks are busy. It is a little hard to tell what can be done.
One further note, I hope this hasn't been asked before. What is the output of these?
# kmtune -l -q dbc_max_pct
# kmtune -l -q dbc_min_pct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 12:51 AM
06-18-2003 12:51 AM
Re: system performance
as Tully said, disk are busy.
In particular c8t0d0, look if you can move data away from this.
ask your dba differences between previous server and this. if he/she changed some version of software, this may have high impact on performance.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 01:33 AM
06-18-2003 01:33 AM
Re: system performance
I wonder what are the consequences of shutting down ems & diagnostic tools, if needs to then I will shut them down.
My NIC is set to half-duplex as per attachment. I'll be changing the dbc_max_pct from 50 to 10 later today. I'm thinking of creating another swap area, currently there's one 2GB swap,/dev/vg00/lvol2. How do I go about in creating the next swap space especially I'm with mirrored disk.
Pls. advise.
Thank you
-rosli-
p/s: The software version is the same with the previous server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 01:49 AM
06-18-2003 01:49 AM
Re: system performance
Far more important you reduce the dbc_max_pct first and reboot. This will give a big performance boost and free up lots of memory.
Its easy to create more swap;
Create a new lvol in vg00, extend it to the size you want, then mirror it (lvextend -m 1). If you have enough diskspace on primary and mirror disks the lvextend -m 1 will work. Then add it into /etc/fstab as swap, eg;
/dev/vg00/lvol9 / swap defaults 0 0 # secondary swap
And do a swapon -a
Thats it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 02:12 AM
06-18-2003 02:12 AM
Re: system performance
just a little note to Stefan hint.
Try the swap before the reboot, because you may have to change some kernel parameter to allow more swap, like maxswapchunks.
I wuold raccomend:
dbc_max_pct 8
dbc_min_pct 5
maxswapchunks 16384
nswapdev 25
Let wait for other comments.
HTH,
Massimo