- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Informix CPU Usage and VPAR
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
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
тАО02-16-2004 02:44 AM
тАО02-16-2004 02:44 AM
Informix CPU Usage and VPAR
Our DBA complains that when he runs a table scan (no index) it now takes several minutes when in the past it took several seconds. We don't have any historical data to verify his claims. But the latest change is the VPAR implementation.
When he runs his query I can see all four CPUs running oninit at 97% utilization for the duration of the query. Each CPU is running in a real time priority. This degrades the performance on non real time tasks.
I was surprised to see one query allocate all the CPUs. Is this a normal Informix interaction with HPUX?
There aren't any privileged groups on this server. I thought I'd find a /etc/privgroup file that bestowed the rtprio privilege to the Informix group.
I'm about to suggest we remove the VPAR and test Informix to see how it runs under straight vmunix. I'd appreciate any info concerning Informix use of rtprio and CPU utilization.
thanks for your time and input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2004 02:54 AM
тАО02-16-2004 02:54 AM
Re: Informix CPU Usage and VPAR
If the systems isn't stressed out whats running is going to get as much CPU as it asks for.
Other bottlenecks like Disk I/O can account for this.
Also kernel settings.
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
тАО02-16-2004 01:30 PM
тАО02-16-2004 01:30 PM
Re: Informix CPU Usage and VPAR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2004 07:12 PM
тАО02-16-2004 07:12 PM
Re: Informix CPU Usage and VPAR
Informix has a configuration file 'onconfig..' in which the DB can set how many CPUs Informix may use. The variable names are MULTIPROCESSOR, NUMCPUVPS and SINGLE_CPU_VP.
It limits Informix processes to use only the assigned number of CPUs and give other processes some CPU time.
Hops this helps.
-- Edwin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2004 07:17 PM
тАО02-16-2004 07:17 PM
Re: Informix CPU Usage and VPAR
NUMCPUVPS =
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2004 08:20 PM
тАО02-16-2004 08:20 PM
Re: Informix CPU Usage and VPAR
It is probably using all cpus because your DBA defined parallel data query across several dbspaces or dbslices.
PDQ normally improves performance.
I am guessing that the vpars have reduced performance since all the i/o needs to be re-directed to the correct vpar.
rtprio doesn't always work well, since your database starts affecting the performance of the o/s and user response can actually go down. I only recommend setting NOAGE=1 when the system isn't used by any other application.
The answer is to test the same query with and without vpars.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2004 10:17 PM
тАО02-16-2004 10:17 PM
Re: Informix CPU Usage and VPAR
i.e. timex dd if="chunk where some informix data is" bs=2k count=50000 of=/dev/null
and see what MB per second you get (the above pulls off 10 Mb). Informix reads in 2k chunks generally.
Above 4Mb per second is good :)
Below 1 Mb per second is bad :(
How do you get the oninit processes as rtprio? I wouldn't recommend this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2004 10:23 PM
тАО02-16-2004 10:23 PM
Re: Informix CPU Usage and VPAR
I would guess that the NUMCPUVPS was not adjusted from setting it had in the non-VPAR configuration. As Rainer mentioned, it should be set to one less than the number of CPUs available. The reason for this is that Informix will hog all the CPUs you allow it to have - to the detriment of the operating system itself. HP-UX needs to have a CPU reserved for it to do its own work. When Informix gets all the available CPUs and HP-UX has to fight for a time-slice to do it's own housekeeping, performance can vary widely bit its generally going to be poor.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 03:06 AM
тАО02-17-2004 03:06 AM
Re: Informix CPU Usage and VPAR
I believe the reason Informix is running in real time priorities is beaces the suid bit is set f or oninit with root being the owner.
I don't think the VPAR I/O redirection is an issue. My understanding is once a vpar is up the vpmon no longer involved and the HPUX instances have ownership of the hardware.
I'm going to recommend that the Informix folks look to reducing the MUMCPUVP parameter, which I know won't make them happy.
Another area to review is our KAIO configuration. Currently our Informix ENV has KAIOON=0 my understanding is that this disables KAIO. But when I do a onstat -g ath | grep kaio shows Informix is running kaio threads. The question is what will setting KAIOON=1 buy us? My thought is perhaps this would allow the ernel more control of the amount of I/O , priority etc.. any more input on this.
Thanks again everyone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 08:28 PM
тАО02-17-2004 08:28 PM
Re: Informix CPU Usage and VPAR
What is the dd throughput (as suggested previously)? What would you reasonably expect from this?