- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Severe Performance Degradation
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
Discussions
Discussions
Discussions
Forums
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
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-31-2005 08:52 PM
тАО08-31-2005 08:52 PM
Disk utilization is about 30-40%. CPU portion of wio% is 60%. It used to be a cpu:15% and disk:8%.
It looks like Informix is performing well. Where should I start looking the bottleneck?
Box is rp2450/2CPU's 500MHz/1GB Ram.
Attached is a small portion of sar's output.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 08:54 PM
тАО08-31-2005 08:54 PM
Re: Severe Performance Degradation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 09:13 PM
тАО08-31-2005 09:13 PM
Re: Severe Performance Degradation
Difficult to say like that... We dont know your config...
But a fast look seems to show you have maybe more than 2 controllers but only one is doing the work... IF this is the case try to balance the load to get a better bandwidth....
Be sure to have 2GB swap (2X1 is fine...)
change kernel param swapon to 0
And see if it helps...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 09:18 PM
тАО08-31-2005 09:18 PM
Re: Severe Performance Degradation
Dejan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 09:24 PM
тАО08-31-2005 09:24 PM
Re: Severe Performance Degradation
If it's Informix procs, do you have any monitoring utilities for Invormix so you can see what it's doing?
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 09:29 PM
тАО08-31-2005 09:29 PM
Re: Severe Performance Degradation
Dejan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 09:37 PM
тАО08-31-2005 09:37 PM
Re: Severe Performance Degradation
UPDATE STATISTICS DROP DISTRIBUTIONS;
This includes stored procedures.
Then do the informix recommended update statistics i.e. high on index leading columns and medium/low on subsequent columns.
There are some well-known informix routines out there for doing this.
Its just like upgrading Oracle, when you go to a new version you get the new optimiser and query plans change, sometimes unexpectedly. Thats why you thoroughly load/stress test all new software before upgrading.
It doesn't matter that c6 is mirror - you should still use it as primary for half of the reads, with c4 as its mirror. Its about the order you add the disks to your volume group.
Your root disk has some high i/o - check that informix is configured to use DBSPACETEMP and not /tmp for disk sorts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 09:43 PM
тАО08-31-2005 09:43 PM
Re: Severe Performance Degradation
could you run:
sar -o sarfile 3 30
sar -Af sarfile > sar.report
and post the sar.report file?
Then it could be useful the output of:
vmstat 5 20
and
swapinfo -tam
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 09:45 PM
тАО08-31-2005 09:45 PM
Re: Severe Performance Degradation
We did UPDATE STATISTICS DROP DISTRIBUTIONS
after upgrading the IDS.
The next day we did also upd stats medium for all tables in the db.
It seems like a lack of memory?
Attached is a onstat -p from IDS instance that is running on that box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 09:50 PM
тАО08-31-2005 09:50 PM
Re: Severe Performance Degradation
swapinfo -tam
kmtune | grep buf
kmtune | grep pct
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 09:57 PM
тАО08-31-2005 09:57 PM
Re: Severe Performance Degradation
Dejan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 10:06 PM
тАО08-31-2005 10:06 PM
Re: Severe Performance Degradation
You can check with this , for the performance and resource being utilised:
# top
# glance -t
# sar -u -M 5 5
# vmstat 5 5 [ Check for the pi/po values for heavy swap usage]
#ps -el | sort -r -k10 | more
and can come to some point.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 10:07 PM
тАО08-31-2005 10:07 PM
Re: Severe Performance Degradation
sar -o sarfile 3 30
sar -Af sarfile > sar.report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 10:08 PM
тАО08-31-2005 10:08 PM
Re: Severe Performance Degradation
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=106504
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=106504
I just don't want to copy&paste them all.
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 10:09 PM
тАО08-31-2005 10:09 PM
Re: Severe Performance Degradation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 10:16 PM
тАО08-31-2005 10:16 PM
Re: Severe Performance Degradation
It seems from the sar output that you are running , very less cpu idle time. less than 50%.
Also check vmstat output and process table utilisation.
You may need to tune some kernel parameter. Check,
# glance -t
# sar -v 5 5
Hope you can find out peroformance bottleneck soon.
Cheers ,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 10:21 PM
тАО08-31-2005 10:21 PM
Re: Severe Performance Degradation
Here is a sar report you requested.
Dejan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 10:45 PM
тАО08-31-2005 10:45 PM
Re: Severe Performance Degradation
Your read cache % is way too low at 65 - it should be over 99.
Are you using cooked files because your sar -b stats show write waits through buffers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 10:57 PM
тАО08-31-2005 10:57 PM
Re: Severe Performance Degradation
We do not use any cooked files - just raw partitions.
I attached onstat -c and onstat -g seg for you to see what you requested.
Dejan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 10:59 PM
тАО08-31-2005 10:59 PM
Re: Severe Performance Degradation
Here is the hpux script set:
http://www.hpux.ws/system.perf.sh
Thats my latest production code btw, based on HP's code.
SEP
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
тАО08-31-2005 11:35 PM
тАО08-31-2005 11:35 PM
Solution%wcache in sar.report seems to be average < 65, so you should think to increase BUFPAGES parameter ( I think after change you shoul regenerate kernel... )
But I think this is not the real cause of your performances degradation.
I can't see memory or cpu or disk bottlenecks.
I think the problem is on the DB informix...
I try to find some hints about this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 11:36 PM
тАО08-31-2005 11:36 PM
Re: Severe Performance Degradation
Because you use raw files (good!) you can reduce your dbc_max_pct. For 1Gb of memory on a DB server on raw you can probably get away with 20% or hard-set BUFPAGES in the kernel.
Then I recommend you increase BUFFERS as much as you can to allow your maximum number of users, programs and still not start paging out.
Informix 9.4 uses a lot more memory for itself - the oninit processes have got a lot bigger since 7.3x. You may be right with your guess - another 1Gb would certainly help.
Next idea: if it is the oninits that take up most cpu (top/glance) you need to look at the user's SQLs directly with onstat -u ; check those which have high read/write pages and look at the SQLs they are running with onstat -g ses xxx. You can re-enter some of those directly in dbaccess with SET EXPLAIN ON to see if the query plans have changed since the upgrade. In 9.40 you can also dynamically set explain on if you know the program's current directory. Unexpected full table scans may now require update statistics high, not just medium - especially on tables with more than a million rows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 11:47 PM
тАО08-31-2005 11:47 PM
Re: Severe Performance Degradation
There are no bottlenecks on the OS level.
IDS is making all the "problems".
I guess since oninit takes more memory for itself in 9.4 it will help a lot to increase BUFFERS as much as possible. But for that I need additional memory installed.
Since read cache ratio of IDS is about 65% (way too low!) and checkpoints are still ok (1 sec max) I think that first step is to add more memory , add it to IDS buffer pool and see what will hapen.
Any other opinions?
Dejan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 11:51 PM
тАО08-31-2005 11:51 PM
Re: Severe Performance Degradation
http://sofbot.com/article/Tunage.html
And consider also this optimal document in attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2005 12:34 AM
тАО09-01-2005 12:34 AM
Re: Severe Performance Degradation
As far as I can see from attached documents you have problems with lack of system memory. Informix 9.4 needs much more memory for its operation and the best way is to upgrade the system phisical memory.
Regards,
Borislav