Re: NETTYPE "CPU" vs "NET"
Posted in 2011
My recommendation is always that sockets and tli network connections should
use NET VPs for the poll threads and shared memory connections, if actively
used and not reserved only for maintenance, should reside in every CPU VP.
Your testing validates this recommendation, as far as the network
connections are concerned. FYI, since 10.00 the Performance Guide has
agreed with these recommendations, it sounds like whoever gave you different
advice remembers the older Performance Guide discussion.
Art
Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
IIUG Board of Directors (art@iiug.org)
Blog: http://informix-myview.blogspot.com/
Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Advanced DataTools, the IIUG, nor any other
organization with which I am associated either explicitly, implicitly, or by
inference. Neither do those opinions reflect those of other individuals
affiliated with any entity with which I am affiliated nor those of the
entities themselves.
On Sun, Feb 27, 2011 at 6:25 AM, Tristan Ball <tristanb@pronto.com.au>wrote:
> Hi Everyone,
>
> I was told recently that setting the NETTYPE parameter to be CPU rather
> than
> NET could be faster under certain circumstances. In some simple
> benchmarking,
> it does seem that using CPU VP's for the poll threads allowed the system to
> sustain a considerably higher rate of simple requests.
>
> Can anyone help me understand what the trade-offs or disadvantages of this
> might be? My test was simplistic, a single thread sending as many simple
> select queries as possible - however the differences between the two rates> were substantial (about 40%), and our application does spend a lot of it's
> time sending simple repeat requests, so it would seem that this is a
> sensible
> change to make.
>
> The application runs on the same server as Informix, connecting via TCP on
> the
> localhost interface, with up to about 300 instances of the application
> running
> at any given moment - although generally only a very small number of those
> are
> doing anything at any instance (<10 generally). It's primarily an OLTP
> environment, if that makes a difference.
>
> Regards,
>
> Tristan
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--20cf30334f259c4415049d43e2de