The NETTYPE database server configuration parameter specifies the poll thread configuration for each network connection type that the database server allows, as specified in the sqlhosts file. This section describes the performance advantage of specifying NET virtual processors for network connection polling.
Each network poll thread runs in a separate virtual processor. The two virtual processor classes in which a poll thread can run are NET and CPU. Do not specify more poll threads than you need to support user connections. A poll thread run by a NET virtual processor can handle at least 100 connections. Poll threads run by CPU virtual processors are faster than poll threads run by NET virtual processors, but they can handle only about 50 connections.
For best performance, it is recommended that you assign only one poll thread to the CPU virtual processor class with a NETTYPE entry and that you assign all additional poll threads to NET virtual processors.The maximum number of poll threads that you assign to any one connection type must not exceed NUMCPUVPS.
If your database server instance supports connections over more than one network interface or protocol, you can specify a separate NETTYPE configuration parameter for each connection type. The first NETTYPE configuration parameter for a given connection type in the ONCONFIG file applies to all coserver names that are associated with that type. Subsequent NETTYPE entries for that connection type are ignored. Even if connection types are not listed in the sqlhosts file, NETTYPE entries are required for connection types that are used for outgoing communication that uses that protocol.
Each NETTYPE entry configures the number of poll threads for a specific connection type, the number of connections per poll thread, and the virtual-processor class in which those poll threads run. The fields are separated by commas. No white space can exist within or between these fields:
NETTYPE connection_type,poll_threads,c_per_t,vp_class
c_per_t = connections / poll_threads
If c_per_t exceeds 350 and the number of poll threads for the current connection type is less than NUMCPUVPS, you can improve performance by specifying the NET CPU class, adding poll threads (do not exceed NUMCPUVPS), and recalculating c_per_t. The default value for c_per_t is 50.
If your computer is a uniprocessor and your database server instance is configured for only one connection type, you can omit the NETTYPE parameter. The database server uses the information provided in the sqlhosts file to establish client/server connections.
If your coserver node is a uniprocessor and your database server instance is configured for more than one connection type, include a separate NETTYPE entry for each connection type. If the number of connections of any one type significantly exceeds 300, assign two or more poll threads, up to a maximum of NUMCPUVPS, and specify the NET virtual processor class, as the following example shows:
NETTYPE ipcshm,1,200,CPU NETTYPE tlitcp,2,200,NET # supports 400 connections
If your coserver node is a multiprocessor, your database server instance is configured for only one connection type, and the number of connections does not exceed 350, you can use NETTYPE to specify a single poll thread on either the CPU or the NET virtual processor class. If the number of connections exceeds 350, set the virtual processor class to NET, increase the number of poll threads, and recalculate c_per_t.