TUNENB.EXE was designed to examine the effects of various combinations
of NETBIOS parameters on the NETBIOS 64KB segment and the NETBUEI 64KB
segment.  It is believed to be accurate but has not been formally 
tested by IBM.  You may use TUNENB.EXE at your own risk.  TUNENB.EXE 
is not supported by IBM.

The TUNENB.EXE program does calculations to determine the maximum
permissible values for configurable parameters affecting NETBIOS and
NETBEUI performance.  Output is displayed, and should be used as a
guide in configuration of parameters in the PROTOCOL.INI and
IBMLAN.INI files.  You may allow the input values to default, or
override them with command line options.

The constraints of both the NETBEUI and NETBIOS 64KB segment
limitations and variables allocated by the Lan Server or Lan Requester
redirector are considered in the tuning algorithms.  This program is
valid for use on network configurations using NETBIOS with NETBEUI.

Syntax:
TUNENB /S nn /N nn /C nn /P nn /L nn /D nn /G nn /R nn /A nn /B nn /?

where /S nn  Sessions - This parameter specifies the maximum number of
             NETBIOS sessions that can be open simultaneously.  The 
             NETBIOS protocol uses a session to communicate between 
             two systems running BETBIOS.  If a request fails due to
             lack of sessions, the protocol returns an interface-busy
             error. (tuning default value 254 per NETBEUI-adapter
             binding)

      /N nn  Names - This parameter specifies the maximum number of
             NETBIOS names that can be defined.  One name is reserved
             for defining the station address of the network adapter
             card.  If the NETBIOS protocol is bound to multiple
             network adapter drivers, this parameter specifies the
             maximum number of NETBIOS names in each network adapter
             driver's name table.  (tuning default value 44 per
             NETBEUI-adapter binding)

      /C nn  Commands - This parameter specifies the number of network
             control block (NCB) descriptors to allocate for managing
             NCBs submitted to the NETBIOS protocol.  (tuning default
             value 254 per NETBEUI-adapter binding)

      /P nn  Packets - This parameter specifies the number of I-frame
             packet descriptors that the NETBIOS protocol can use to
             build DLC frames from NETBIOS messages.  Increase the
             value of this parameter if large frames are being sent
             through the network.  (tuning default value 335 per
             NETBEUI-adapter binding)

      /L nn  Looppackets - This parameter specifies the number of
             internal loopback packet descriptors.  Loopback packets
             are used when sending I frames or UI frames, if the
             sending node and the receiving node are the same.
             (tuning default value 8 per NETBEUI-adapter binding)

      /D nn  Datagrampackets - This parameter specifies the number of
             data descriptors to allocate for packeting NETBIOS
             datagrams into UI-frames.  Increase this parameter value
             when the NETBIOS protocol sends a large number of
             datagrams.  (tuning default value 10 per NETBEUI-adapter
             binding)

      /G nn  Selectors - This parameter specifies the number of
             internal data descriptors to allocate for global
             descriptor table (GDT) selectors.  GDT selectors are a
             limited OS/2 resource.  If too many GDT selectors are
             allocated, performance of other application programs and
             protocol drivers may be hindered.  (tuning default value
             15 per NETBEUI-adapter binding)

      /R nn  Redirector commands - This parameter specifies the number
             of commands (NCB's) which are allocated by the Lan Server
             (or OS/2 Peer, or Lan Requester) redirector for each
             configured adapter.  This tuning tool can be used only if
             the values are the same for each adapter in multiple
             adapter configurations.  See the x2 parameter in the netx
             (x = 1 - 4) line in the IBMLAN.INI.  format:
             netx=NETBEUI$,a,pdt,x1,x2,x3
             (tuning default value 70 per redirector configured
             adapter)

      /A nn  Adapters - This parameter specifies the number of
             network adapters bound by NETBIOS/NETBEUI.  (tuning
             default value 1)

      /B nn  This parameter specifies the number of network adapters
             configured for the Lan Server (or OS/2 Peer or Lan
             Requester) redirector.  This is equal to the number of
             netx (x = 1 - 4) in the IBMLAN.INI file.  (tuning default
             value 1)

      /? or /H  Help - lists the above optional parameters.

This tuning program cannot produce valid results under any of the
following conditions:
 - IBM OS/2 NETBIOS OVER TCP/IP (tcpbeui$) is used.
 - NetWare NetBIOS Emulation over IPX - IBM Netware Requester (ipxnb$)
   is used.
 - The redirector (Lan Server, OS/2 Peer, or Lan Requester) is
   configured for multiple adapters, and the resource allocations for
   commands (NCB's) is not uniform across all adapters.
