- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Performance issue
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
01-10-2002 07:29 AM
01-10-2002 07:29 AM
Performance issue
I have 3 old HP servers in a site (2* K210 and G40). All the three servers are running the same applications (Oracle + Java + Sapphire + Netscape /iplanet ). The G40 is running with 11.0 (32bit) and two K210 are running with 10.20.
Now, when the development team tests an application upgrade on each server, the G40 works fine while the two K210 are running very slow. Both K210 are running with 2 processors (G40 with single CPU) and with more memory/swap than G40. The only difference is in the OS.
Here, does an OS upgrade to 11.0 (32bit) on the K class servers will make any difference ?
Does a kernel tuning will help me ?
what are the other things which I need to look in to ?
Thanks in advance for all your response !
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 07:41 AM
01-10-2002 07:41 AM
Re: Performance issue
As a first approximation, I'd compare the kernel parameters of the two servers. I'd use SAM to view them since you don't have 'kmtune' at 10.20, and 'sysdef' may have some anomolies at 11.x
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 07:51 AM
01-10-2002 07:51 AM
Re: Performance issue
My gut instinct is that you have a memory bottle neck on the K's (as you said the G has more memory). However, this is rushing to a conclusion.
1 - get some statistics from sar, top etc or my favorite MeasureWare for all of the boxes.
so you could use the following to get disk & cpu utilisation for 20 seconds:
sar -du 20 1
virtual memory statistics:
vmstat
2 - I would start simple & check CPU usage, disk activity, swap etc then home in on the differences from there
3 - I would look at the difference between the kernel setings too, though 10.20 is different to 11.00 for some things.
4 - Are there any other H/W differences disk subsystem, network & so forth? Do you use the same type of filesystem Vxfs, HFS....
Without more info it would be difficult to point a specific problem.
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 07:57 AM
01-10-2002 07:57 AM
Re: Performance issue
that was my first step. I got it from SAM on all the three systems and now comparing those. Do I need to be more concerned about some specific parameters ? I think there will be some differences, the way 11.0 and 10.20 handles the kernel parameters (?)
Can I observe the kernel parameters overflow through Glance ? ( like sar -v)
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 08:17 AM
01-10-2002 08:17 AM
Re: Performance issue
1) You read it wrong. G40 has less memory. Both K210 has more memory and swap than G40.
2)There are H/W differences between systems. G40 uses all SE SCSI disks, where as K210 uses Model 20 diskarray and HASS boxes. So again, it should run faster.
3) The network speed remains the same.
4) G40 uses all vxfs file systems except /stand. K210 uses hfs mostly except some file systems with vxfs.
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 08:30 AM
01-10-2002 08:30 AM
Re: Performance issue
o HFS filesystems have variable (at set up time) block sizes. VxFS has 1kB fragment & 8kB block. If HFS filesystems are used for Oracle, do they have equivalent sizes?
o Do you have any performance statistics, sar, top, MeasureWare etc?
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 08:43 AM
01-10-2002 08:43 AM
Re: Performance issue
Yes I did check the performance through sar, top and glance. The user load is high in K210 when they test the software.
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 08:55 AM
01-10-2002 08:55 AM
Re: Performance issue
sar -du 20 1
or a top output etc?
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 08:58 AM
01-10-2002 08:58 AM
Re: Performance issue
There is one favorite kernel parameter that a few of us have had experience with -- 'timeslice'. The usual database templates set this to <1> instead of the default <10>. Since this parameter controls the frequency of process context switching, setting it too low (genearlly less than 10) leads to doing process switching at the expense of real work.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 09:10 AM
01-10-2002 09:10 AM
Re: Performance issue
Tim - I will post the outputs shortly. I have to wait for the development team for testing their jobs again.
JRF - I checked the 'timeslice' parameter and it is '10 ' in all servers.
Any more inputs ?
Does anybody has any more suggestions or answers ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 10:41 AM
01-10-2002 10:41 AM
Re: Performance issue
If the user % in CPU utilization is high and sys % and idle % is low, that is good. That means the application that the developers are running is using most of the CPU activity.
You said the G class has less memory, but did ya check your dbc_max kernel setting? default it is set to use 50% of your physical memory. We had a major memory bottleneck here and found out we should change that kernel setting to use 10%. It helped tremendously.
1 more thing just to add, check your disk utilization. Are you getting and disk bottlenecks?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 10:51 AM
01-10-2002 10:51 AM
Re: Performance issue
Thanks for the reply. I have %idle also high, but %sys comparatively low.
Tha dbc_max is default now in all servers, but i will change this as part of the Kernel tuning.
I will assign you points once I finished these tasks.
Thanks!
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 10:59 AM
01-10-2002 10:59 AM
Re: Performance issue
Take a look at the hp-ux performance and tuning guide,
http://docs.hp.com/hpux/onlinedocs/os/11.0/tuningwp.html
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 11:03 AM
01-10-2002 11:03 AM
Re: Performance issue
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 11:48 AM
01-10-2002 11:48 AM
Re: Performance issue
How about doing some kind of benchmarking on G40 and K Servers?. For ex., copy a 20 MB file from one file system to other and compare the difference. Make a C program that computes prime numbers, run it on both the systems and see the difference. Try ftping some stuff from the same source etc.,
I would certainly check to see if 11.0 helps. Borrow sometime from your development team. Make couple of make_recovery tapes on K server.If possible add an additional disk to K server and install 11.0 32bit on it. Import the file systems and ask your developers to run the application and see how it works. If not, you can always revert back to 10.20 either through make_recovery tape or the old boot disks.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 11:51 AM
01-10-2002 11:51 AM
Re: Performance issue
I will defenitely check the options given by you and will assign points after that.
The 11.0 upgrade is my last option.
thanks for the rpely!
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 02:05 PM
01-10-2002 02:05 PM
Re: Performance issue
I did try the options u have listed and seems like the K-class server works fine than G.
I could see some difference in the kernel parameters and will try changing that, once i will be able to take a shutdown of the server.
Does anybody has any other suggestions / experiences ?
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 02:11 PM
01-10-2002 02:11 PM
Re: Performance issue
Here are two links which might be useful,
http://us-support.external.hp.com/cki/bin/doc.pl/sid=c70ed41c0e60c4e701/screen=ckiSearchResults?mode=id&searchString=KNC061098001
http://us-support.external.hp.com/cki/bin/doc.pl/sid=c70ed41c0e60c4e701/screen=ckiSearchResults?mode=id&searchString=A4460661
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 02:18 AM
01-11-2002 02:18 AM
Re: Performance issue
There is also a doc that I found useful which is S Ciullo & D. Grumann's "HP-UX Performance CookBook" he uses MeasureWare & Glance or GlancePlus which needs to be purchased if you do not already have it.
http://h21007.www2.hp.com/dspp/files/unprotected/devresource/Docs/TechPapers/UXPerfCookBook.pdf
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 02:33 AM
01-11-2002 02:33 AM
Re: Performance issue
have a look to %wio with sar -u.
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 06:18 AM
01-11-2002 06:18 AM
Re: Performance issue
Thanks for all your responses.
Does anybody know about the 'netisr_priority' ? I have it set to -1 in both K class systems and couldn't find it on the G class. Also netisr is running on both servers, but not in G. I checked the HP documents and found some details about these processes and priority, but beyond that if you have something more please share it.
Thanks!
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 06:28 AM
01-11-2002 06:28 AM
Re: Performance issue
Seems like the netisr_priority kernel parameter was there in 10.20. It has since been removed,
Here is a link from itrc for 10.20 netis_priority kernel parameter,
http://us-support.external.hp.com/cki/bin/doc.pl/sid=4e30c3ab1aae9b3056/screen=ckiDisplayDocument?docId=200000024625282
Hope this helps.
Regds
P.S. : what is your os version?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 06:36 AM
01-11-2002 06:36 AM
Re: Performance issue
The OS versions:
2 K210 systems - 10.20
G40 system - 11.0 (32bit)
Also, the link says '0' is the highest priority at which process handles networking packets. If I change the priority to '0', will that be ok ? any issues ?
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 06:36 AM
01-11-2002 06:36 AM
Re: Performance issue
Just did a search on my system for netisr_priority in the kernel. the os version is 11.0. I found that the netis_priority is set to -1 on my system. I did a search on the patches for 11.0 for netisr and came up with two patches,
patch --- PHNE_23982
patch --- PHNE_25423
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 06:44 AM
01-11-2002 06:44 AM
Re: Performance issue
The link also says
quote //
A value of -1 specifies that networking packets are handled on an interrupt basis. This yields the fastest possible packet handling rate.
//endquote
So i would suggest you should keep it at -1, until you have some real reasons to change it to "0".
Hope this helps.
Regds