- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: slow performance problem
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-23-2005 08:28 PM
01-23-2005 08:28 PM
We have an application running on rp5470-4 sserver with 2 CPUs and 4 GB mem( Server B). This application runs some scripts which populates data in tables and this seems to run very slow as compared to similar setup on another server( Server A).
According to the DBA all the queries are using the same execute PLAN and everything is same as that on Server A.
Can you please let me know how I need to go about solving this problem. In glance the CPU and mem usage is not very high - CPU is about 15% usage and 54% usage. Please find output of iostat attached. There are 6 luns created from a RAID 5 set used to create 6 disk groups which have the database dbf files.
Can you suggest me what statistics I need to analyze and any kernel parameters which need to be tuned.
Regs.
Nad
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2005 08:39 PM
01-23-2005 08:39 PM
Re: slow performance problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2005 09:34 PM
01-23-2005 09:34 PM
Re: slow performance problem
This link will help
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=786320
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2005 10:12 PM
01-23-2005 10:12 PM
Re: slow performance problem
ioscan: libIO error from ioconfig_lock: /etc/ioconfig - permission denied.
Also vgdisplay is giving vgdisplay: /etc/lvmconf//lvm_lock: Lockf deadlock detection
It seems that I have run into another problem.
Can you please advice on this.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2005 10:17 PM
01-23-2005 10:17 PM
Re: slow performance problem
Check if someone is running sam.
# ps -ef | grep sam
Stop or kill the sessions and try ioscan again.
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 12:05 AM
01-24-2005 12:05 AM
Re: slow performance problem
ps -eaf | grep sam
root 1962 1 0 Jan 18 ? 0:06 /usr/sam/lbin/samd
root 3516 23430 0 11:26:38 pts/7 0:00 grep sam
Please advice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 12:34 AM
01-24-2005 12:34 AM
Re: slow performance problem
Concerning the performance issue, are your mount options (/etc/fstab) identical for both servers you are comparing? Log, mincache and convosync settings have a major affect on system (disk) performance for some RDBMSs.
Also check the buffer cache sizing, as experience tells me that this can affect Oracle (I assume it's Oracle). You can also check this if you have glance (process 'wait state' high on Cache, or 'wait reason' CACHE).
All the best - Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 12:35 AM
01-24-2005 12:35 AM
Re: slow performance problem
ioscan: libIO error from io_init: /dev/config - permission denied.
as you have reported. If you cannot run ioscan as root (maybe you are not allowed to log in as root) add the -k flag to ioscan
ioscan -kfn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 01:27 AM
01-24-2005 01:27 AM
Re: slow performance problem
Yes the mount options are same for both servers.- delaylog option is the only option used. Yes we are using Oracle database. In glance the output shows about 55% mem usage. Buf cache is 10% ( dbc_max_pct - 10 )
I did not understand by (process 'wait state' high on Cache, or 'wait reason' CACHE)in glance. No such message is displayed by glance. Do the mincache and convosync settings help a lot?
Stephen,
Attached is output of ioscan -kfnC disk.
Thanks for the alternative.
Can you suggest anything from the output
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 01:47 AM
01-24-2005 01:47 AM
Re: slow performance problem
Going off the track slightly, take a look at this Oracle pdf file that details tuning mount options to help Oracle performance (be aware though that this is ONLY for your datafile and index mount points, not archive/redo or application mount points).
http://www.oracle.com/technology/deploy/performance/pdf/TWP_Oracle_HP_files.pdf
All the best - Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 02:45 AM
01-24-2005 02:45 AM
Re: slow performance problem
Can you post the results of the following
# ll /etc/lvmconf
# vgdisplay -v
# bdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 04:02 AM
01-24-2005 04:02 AM
Re: slow performance problem
Keith,
I had gone through that document , but then I also cam across some notes where the users did not find any better results , or sometimes only a bit better. Also according to standards used by the customer these options arent used uptill now. That is why I wanted to be sure if using michache and convosync would really help.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 04:10 AM
01-24-2005 04:10 AM
Re: slow performance problem
Please find it here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 04:28 AM
01-24-2005 04:28 AM
Re: slow performance problem
Concerning the bdf output. Are both servers running 80-90% on a lot of the filesystems? High usage won't be helping performance. You may want to try (assuming these are vxfs filesystems) 'fsadm -F vxfs -D -E -s /{mountpoint}' (careful with the switches on this command). This will show you extent and directory fragmentation and there are a few things to look out for (see 'man fsadm_vxfs').
Also, if you compare both kernel settings side-by-side (using SAM is sometimes easier) are there any differences?
Are there identical RAID systems on both? You say you populate tables, how do database read operations compare? Your DBAs should be able to check this.
Questions questions!! Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 04:29 AM
01-24-2005 04:29 AM
Re: slow performance problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 04:37 AM
01-24-2005 04:37 AM
Re: slow performance problem
Regards
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 05:03 AM
01-24-2005 05:03 AM
Re: slow performance problem
The filesystem should not be fragmented as they are created newly and only dbf files have been created by the DBA in these filesystems. In Oracle database the filesystem can be 100% full without considering it as a problem because it is the size of the dbf file created inside it which is managed by Oracle. Similar filesystem usage is there on the other server.
Jean,
The DBA has already ran stats pack and it shows high time spent in db file sequential read.
Can anyone tell me how to analyse whether disk io is bottleneck or not.how to analyze this.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 07:04 PM
01-24-2005 07:04 PM
Re: slow performance problem
I had another look at some of the postings. You have 8 large main LVs on each RAID LUN, which is why the iostat figures are quite high for c5t0d0 and c6t0d1. That's a lot of data to pump through to 2 LUNS. I would take another look at the LUN and LV setup and also the RAID LUN configuration on the HITACHI. I do remember problems with performance on HITACHI RAID from other contracts I have worked on, specifically read performance. A 'sar -d 3 10' may highlight further issues with these 2 LUNs.
It's difficult without seeing/touching the system, hope you understand why we seem to be fumbling around a bit.
All the best - Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 08:01 PM
01-24-2005 08:01 PM
Re: slow performance problem
Here is the sar output. What are the acceptable values for each parameter like avserv, avque etc, are these values dependant on any disk specifications like size. and how should these values be interpreted.
One more query I have is if we are using RAID5 and have 5 Luns ( one Luns for eacg disk group ), will distributing dbf files to different disk groups help , becuase what I feel is that the data will anyhow be striped accross the disks in RAID5 so does it really help ?
Rgs.
Nad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 08:35 PM
01-24-2005 08:35 PM
Re: slow performance problem
At this stage I would advise running up glance and run the Oracle table population procedure. In the (global) process table in glance (hit letter 'g'), make a note of the PID for your process. Hit letter 's' (Enter PID). Type in the PID. Hit F2 to view the wait states for the process. Hit C (capital c) for cumulative figures and take notes. Hit F4 for the process open-files screen and take notes. You will get a better idea what this process is doing and what is holding it up.
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 10:46 PM
01-24-2005 10:46 PM
Re: slow performance problem
Thanks for the procedures.
I ran glance.
Actually its the oracle process which is running and excuting the scripts and there is no separate process as such. I used the options you specified for the top oracle process and it showed waiting for CACHE. also in disk statistics it shows cache hit ratio around 58% , but since its oracle scanning so many tables do we need to concentrate on this parameter , how is it significant?
One more thing , in HP how do I check what is the max i/o size that can be done in one i/o read or write request. Where is it configured, how can i check ? What is the limitation of OS and that of disk
Please advice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 11:05 PM
01-24-2005 11:05 PM
Re: slow performance problem
I'm not sure about your other question yet.
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 12:13 AM
01-25-2005 12:13 AM
Re: slow performance problem
Oracle process will be scanning so many tables, so do you feel that the cache is getting used and helping in any way ? I thought that cache will be useful in normal read/write of files. How does it help in case of oracle ?
You recommended to increase dbc_min_pct - but I have still enough free memory and my dbc_max_pct is 10% which gives around 400Mb of buffer.
Do you still recommend increasing the dbc_min_pct ?
The second query I asked was that I have been asked by the DBA what is the max io size (what is maximum bytes transferred for one io request ), so that he can use it to configure the db_block_size and multi_block_read count.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 12:22 AM
01-25-2005 12:22 AM
Re: slow performance problem
Just because you have dbc_max_pct set at 10% doesn't mean that the OS will have the buffer cache set at 400Mb. This is the maximum value that the OS will dynamically grow the buffer cache to, if it sees fit.
Check in Glance (hit letter m) "buf cache" is reported at the bottom of the screen. You have to force the OS to set the buffer cache at 300-600Mb minimum, by tuning the dbc_min_pct kernel parm. Set this to 10% and max_pct to 15 or something. The OS will then create the buffer cache at 400Mb minimum, rather than growing it when it sees necessary.
I'm trying to find info on max i/o - hoping that someone else out there will know.
Cheers - Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 12:57 AM
01-25-2005 12:57 AM
Re: slow performance problem
What I feel is that we can increase max buf but that wont be the actual solution because the queries will again take up all the space in buf. can you provide your comments on this.
I am now thinking of increasing the dbc_max_pct to 20%