oninit Prcess in Linux Environment,
Posted in 2005
Topics: Platform-Specific Issues
Hi all,
We are facing a strange problem with oninit process on Linux Environment, we
are seeing around 20 - 40 oninit processes, initiated by root (linux SU) and
also Informix user (informix).
Is there any specific reasons why so many oninit processes are getting invoked.
If there is a process to reduce the oninit proceses on the Linux server,
kindly let us know.
Thanks and regards,
Arvind.
Hi Arvind,
As with many software questions, the answer is "it depends". It sounds
like you don't have much understanding of the IDS architecture or design,
so your first step needs to be to read the IDS Administrator's Guide. If
you don't have a copy, you can download it from
http://www-306.ibm.com/software/data/informix/pubs/library/. You didn't
say what release you're using, so pick the manuals for whichever release
you're using. The manuals are critical. Without understanding the
architecture you'll have a hard time understanding the configuration.
What you will find is that the number of processes is determined by
parameters in the $INFORMIXDIR/etc/onconfig file (the exact filename
depends on the value of the $ONCONFIG environment variable.) NUMCPUVPS
and NUMAIOVPS are the primary parameters that determine the number of
processors, but NETTYPE may also contribute.
The CPU VP's (Virtual Processors) are designed to be CPU-bound. That is,
they will consume large amounts of CPU time, almost all of it USER time.
Most of the SYSTEM time will be by the NET and AIO VPs. Exactly how much
user cpu time is consumed depends on the SQL statements of the
application. There's not a lot you can do to reduce this other than
having fewer CPU VPs. But if you do that, the DBMS may not process SQL
statements as quickly. You may have to experiment some.
Cheers,
Dick Snoke
Consulting IT Specialist
dsnoke@us.ibm.com
404 487 1595
"ARVIND PATKAR" <dbbimail@gmail.com>
Sent by: forum.subscriber@iiug.org
02/09/2005 04:26 AM
To
ids@iiug.org
cc
Subject
oninit Prcess in Linux Environment, [4211]
Hi all,
We are facing a strange problem with oninit process on Linux Environment,
we are seeing around 20 - 40 oninit processes, initiated by root (linux
SU) and also Informix user (informix).
Is there any specific reasons why so many oninit processes are getting
invoked.
If there is a process to reduce the oninit proceses on the Linux server,
kindly let us know.
Thanks and regards,
Arvind.
Generally, it
A) depends on what processes you have running.
The number of CPUVP processes and the number of
AIOVP processes can be configured in your $ONCONFIG
file. As has been pointed out by others already,
"onstat -g glo" or "onstat -g sch" will show you,
what currently is running ...
Whether just reducing any (or both) of these will bring
performance benefits is debatable. Generally, tuning is an
incremental process (change one parameter and watch).
B) is pretty normal to have more User CPU time than
System CPU time taken by oninit processes. In fact
User CPU time 10 times of System CPU times is not
unheard of.
Looking at it in detail, this actually is desirable, because
when the User CPU time is high, then the processes are
doing lots of useful work (i.e. handling data, sorting,
computations, etc.). During System CPU time, the
processes are using some system services to get "things"
done (among other things this can be I/O). If this number
gets too high it is "eating away" at the User CPU time which
will eventually lower the overall throughput (e.g. transaction
wise).
Regards,
Martin
--
Martin Fuerderer
IBM Informix Development Munich, Germany
Information Management
A) forum.subscriber@iiug.org wrote on 09.02.2005 10:26:45:
> Hi all,
>
> We are facing a strange problem with oninit process on Linux
Environment, we are seeing around 20 - 40 oninit
> processes, initiated by root (linux SU) and also Informix user
(informix).
>
> Is there any specific reasons why so many oninit processes are getting
invoked.
>
> If there is a process to reduce the oninit proceses on the Linux server,
kindly let us know.
>
> Thanks and regards,
> Arvind.
>
B) forum.subscriber@iiug.org wrote on 09.02.2005 09:53:00:
> Hi All,
>
> We are running Informix Dynamic Server 9.40 FC3 on Red Hat Linux
Enterprise 3 Server environment on HP Itanium
> Server. Informix is using more of User CPU than System CPU. Is it ok
with the system or we need to tune it
> inorder to reduce the usage of USER CPU.
>
> Kindly help me in this regards.
>
> Thanks and regards,
> Arvind. Patkar
>
--0__=09BBE530DFC2A96B8f9e8a93df938690918c09BBE530DFC2A96B
Content-type: text/plain; charset=US-ASCII
You get one oninit for each CPUVP, on oninit for each AIOVP, Optionally one
for each network interface, and two additional.
Be very careful about trying to reduce the number of VPs simply to try to
reduce the number of oninit processes.
While there might be a lot of AIOVPs, for instance, they're spending most
of their time in a wait state. Reducing the number
would possibly do nothing but slow down the IO completion.
forum.subscriber@iiug.org wrote on 02/09/2005 03:26:45 AM:
> Hi all,
>
> We are facing a strange problem with oninit process on Linux
> Environment, we are seeing around 20 - 40 oninit processes,
> initiated by root (linux SU) and also Informix user (informix).
>
> Is there any specific reasons why so many oninit processes are
> getting invoked.
>
> If there is a process to reduce the oninit proceses on the Linux
> server, kindly let us know.
>
> Thanks and regards,
> Arvind.
>
--0__=09BBE530DFC2A96B8f9e8a93df938690918c09BBE530DFC2A96B
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline
<html><body>
<p>You get one oninit for each CPUVP, on oninit for each AIOVP, Optionally one
for each network interface, and two additional.<br>
<br>
Be very careful about trying to reduce the number of VPs simply to try to
reduce the number of oninit processes.<br>
While there might be a lot of AIOVPs, for instance, they're spending most of
their time in a wait state. Reducing the number<br>
would possibly do nothing but slow down the IO completion.<br>
<br>
<tt>forum.subscriber@iiug.org wrote on 02/09/2005 03:26:45 AM:<br>
<br>
> Hi all,<br>
> <br>
> We are facing a strange problem with oninit process on Linux <br>
> Environment, we are seeing around 20 - 40 oninit processes, <br>
> initiated by root (linux SU) and also Informix user (informix).<br>
> <br>
> Is there any specific reasons why so many oninit processes are <br>
> getting invoked.<br>
> <br>
> If there is a process to reduce the oninit proceses on the Linux <br>
> server, kindly let us know.<br>
> <br>
> Thanks and regards,<br>
> Arvind.<br>
> <br>
</tt></body></html>
--0__=09BBE530DFC2A96B8f9e8a93df938690918c09BBE530DFC2A96B--