Re: NETTYPE's poll thread number
Posted in 2006
Topics: Performance & Tuning, Server Administration
Version of IDS from 9, number of max connection is number of poll threads multipy by user per thread
e.g NETTYPE soctcp, 2,100, NET : Max connection is 2x100 = 200
So first you have to monitor number of user connections before fill the number in
by command : onstat -u , onstat -g ses , onstat -g ntu
--> NETTYPE soctcp, 2,100, NET
Meaning of the columns are (v9 +)
soctcp : OS net protocol
2 : 2 poll threads
100 : 100 user per poll thread
NET : Using net vp to run the poll thread
if you use CPU , IDS will use cpu vp to run poll thread so the number will has been forced by
number of physical CPU
If you allocate more poll threads will effect the overall performance.
but allocate less poll threads will make IDS accecpt connection slowly.
Pankrich K.
----- Original Message ----
From: TBP <TheBigPotato@NotHere.Co.Uk>
To: informix-list@iiug.org
Sent: Saturday, December 2, 2006 6:13:16 PM
Subject: Re: NETTYPE's poll thread number
roger@star2000.com.tw wrote:
> Hi,
> My box has singel processor , NUMCPUVPS =1 .
> A lot of user will access this server, maximum will be 1500 user
> threads.
> How shoud I set up the NETTYPE in onconfig file.
> On informix's manual , says poll thread should not be greater than
> NUMCPUVPS .> and user thread can not greater than 350 for each poll threads.
> How should I set the NETTYPE?
> NETTYPE soctcp,1,1500,NET ( 1500 too much ?)
> or
> NETTYPE soctcp, 5,350, NET ( 5 greater then NUMCPUVPS =1)
>
Operating System?
Version of the Engine?
NETTYPE soctcp,4,2000,NET (This is on a NET VP not a CPU VP)
_______________________________________________
Informix-list mailing list
Informix-list@iiug.org
http://www.iiug.org/mailman/listinfo/informix-list
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
OS : AIX 4.3
IDS version : 7.31
Is ids version 7.31 will make any difference ?
Pankrich Khanthasa-ard 寫道:
> Version of IDS from 9, number of max connection is number of poll threads multipy by user per thread
> e.g NETTYPE soctcp, 2,100, NET : Max connection is 2x100 = 200
>
> So first you have to monitor number of user connections before fill the number in
> by command : onstat -u , onstat -g ses , onstat -g ntu
>
> --> NETTYPE soctcp, 2,100, NET
> Meaning of the columns are (v9 +)
> soctcp : OS net protocol
> 2 : 2 poll threads
> 100 : 100 user per poll thread
> NET : Using net vp to run the poll thread
> if you use CPU , IDS will use cpu vp to run poll thread so the number will has been forced by
> number of physical CPU
>
> If you allocate more poll threads will effect the overall performance.
> but allocate less poll threads will make IDS accecpt connection slowly.
>
> Pankrich K.
>
> ----- Original Message ----
> From: TBP <TheBigPotato@NotHere.Co.Uk>
> To: informix-list@iiug.org
> Sent: Saturday, December 2, 2006 6:13:16 PM
> Subject: Re: NETTYPE's poll thread number
>
>
> roger@star2000.com.tw wrote:
> > Hi,
> > My box has singel processor , NUMCPUVPS =1 .
> > A lot of user will access this server, maximum will be 1500 user
> > threads.
> > How shoud I set up the NETTYPE in onconfig file.
> > On informix's manual , says poll thread should not be greater than
> > NUMCPUVPS .> > and user thread can not greater than 350 for each poll threads.
> > How should I set the NETTYPE?
> > NETTYPE soctcp,1,1500,NET ( 1500 too much ?)
> > or
> > NETTYPE soctcp, 5,350, NET ( 5 greater then NUMCPUVPS =1)
> >
>
> Operating System?
> Version of the Engine?
>
> NETTYPE soctcp,4,2000,NET (This is on a NET VP not a CPU VP)
> _______________________________________________
> Informix-list mailing list
> Informix-list@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
>
>
>
> ____________________________________________________________________________________
> Want to start your own business?
> Learn how on Yahoo! Small Business.
> http://smallbusiness.yahoo.com/r-index
> --0-727495815-1165071350=:92576
> Content-Type: text/html; charset=ascii
> Content-Transfer-Encoding: quoted-printable
> X-Google-AttachSize: 4535
>
> <html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:tahoma, new york, times, serif;font-size:10pt"><DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">Version of IDS from 9, number of max connection is number of poll threads multipy by user per thread</DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">e.g NETTYPE soctcp, 2,100, NET : Max connection is 2x100 = 200</DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif"> </DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">So first you have to monitor number of user connections before fill the number in </DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">by command : onstat -u , onstat -g ses , onstat -g ntu</DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif"> </DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">--> NETTYPE soctcp, 2,100, NET</DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">Meaning of the columns are (v9 +)</DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">soctcp : OS net protocol</DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">2 : 2 poll threads</DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">100 : 100 user per poll thread</DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">NET : Using net vp to run the poll thread</DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">if you use CPU , IDS will use cpu vp to run poll thread so the number will has been forced by </DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">number of physical CPU</DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif"> </DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">If you allocate more poll threads will effect the overall performance.</DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">but allocate less poll threads will make IDS accecpt connection slowly.</DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif"> </DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif">Pankrich K.</DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif"><BR>----- Original Message ----<BR>From: TBP <TheBigPotato@NotHere.Co.Uk><BR>To: informix-list@iiug.org<BR>Sent: Saturday, December 2, 2006 6:13:16 PM<BR>Subject: Re: NETTYPE's poll thread number<BR><BR></DIV>
> <DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
> <DIV>roger@star2000.com.tw wrote:<BR>> Hi,<BR>> My box has singel processor , NUMCPUVPS =1 .<BR>> A lot of user will access this server, maximum will be 1500 user<BR>> threads.<BR>> How shoud I set up the NETTYPE in onconfig file.<BR>> On informix's manual , says poll thread should not be greater than<BR>> NUMCPUVPS .<BR>> and user thread can not greater than 350 for each poll threads.<BR>> How should I set the NETTYPE?<BR>> NETTYPE soctcp,1,1500,NET ( 1500 too much ?)<BR>> or<BR>> NETTYPE soctcp, 5,350, NET ( 5 greater then NUMCPUVPS =1)<BR>> <BR><BR>Operating System?<BR>Version of the Engine?<BR><BR>NETTYPE soctcp,4,2000,NET (This is on a NET VP not a CPU VP)<BR>_______________________________________________<BR>Informix-list mailing
> list<BR>Informix-list@iiug.org<BR><A href="http://www.iiug.org/mailman/listinfo/informix-list" target=_blank>http://www.iiug.org/mailman/listinfo/informix-list</A></DIV></DIV>
> <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma, new york, times, serif"><BR></DIV></div><br>
>
> <hr size=1>Want to start your own business? Learn how on <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index">Yahoo! Small Business.</a></body></html>
> --0-727495815-1165071350=:92576--
Pankrich Khanthasa-ard wrote:
> Version of IDS from 9, number of max connection is number of poll
> threads multipy by user per thread
> e.g NETTYPE soctcp, 2,100, NET : Max connection is 2x100 = 200
>
There is a bug which means that ... the second figure (i.e. the 100
above) is a better number to use for the total number of connections
until 9.40.xC9.
If you look at the output from onstat -g ntt, you see the "100", which
does not change even if you increase the poll threads.
Check it out :D