Command Line Interface Reference Guide > The SLB Configuration Menu > /cfg/slb/tcppol TCP Optimization Policy Configuration
/cfg/slb/tcppol
TCP Optimization Policy Configuration
A proxy TCP optimization profile is a collection of TCP stack parameters. Proxy TCP optimization profiles enable TCP connections under different network conditions such as 3G, LTE, LAN, or WAN to benefit from significant improvements to latency, response time, and bandwidth utilization environment.
You can associate a dedicated profile with a specific deployment, and define different TCP profiles for the server side and the client side of a single flow. For example, you can use a set of mobile network-related TCP parameters for the HTTP connection between the mobile device and the proxy, and use a different TCP profile for the HTTP connection from Alteon to the Internet.
The default TCP policy is applied to all virtual services and filters. Any change to the default policy is applied to all virtual services and to filters when delayed binding operates in force proxy mode.
For more information on delayed binding, see the description of the dbind command at /cfg/slb/virt <server id>/service/basic-slb Virtual Server Basic SLB Service Configuration Menu.
 
>> Main# /cfg/slb/tcppol
Enter TCP optimization policy id: tcp1
------------------------------------------------------------------
[TCP Optimization Policy tcp1 Menu]
name - Set descriptive policy name
conctrl - Set Congestion control mechanism
consca - Set Congestion window scale
condec - Set Congestion decrease policy
maxrx - Set Maximum receive buffer size
maxtx - Set Maximum transmit buffer size
readbuf - Set Read buffer size
mss - Set Maximum Segment Size
adpt - Enable/Disable Adaptive Tuning
sack - Enable/Disable Selective ACK
     ackpush - Enable/Disable Immediate ACK on Push
finage - connection closing aging in seconds on FIN receipt (0 - no aging)
     timestmp  - Enable/disable TCP timestamp
     keepaliv - TCP keepalive Menu
ena - Enable policy
dis - Disable policy
del - Delete Policy
 
TCP Optimization Policy Menu Options 
Command Syntax and Usage
name [<"policy name">|none]
 
A description of the TCP optimization policy.
Maximum characters: 32
conctrl [Reno|Hybla|Hybla+Pacing|Westwood]
 
The algorithm to prevent network congestion.
Values:
*Reno
*Hybla
*Hybla+Pacing
*Westwood
Default: Hybla+Pacing
consca [0-64]
 
The number of bytes of data a TCP socket can hold and buffer towards the network.
Default: 0
condec [0-3]
 
Specifies the factor which to decrease the number of bytes sent when an ACK is lost to the network congestion control algorithm.
Default: 0
maxrx <128K|256K|512K|1M>
 
The size of the TCP receive buffer, in bytes, for the Application Services Engine.
You can increase the buffer to allow more data to accumulate in the Application Services Engine before forwarding. The buffer size is advertised to Alteon clients and servers, and controls their ability to send and receive data.
Values:
*128K
*256K
*512K
*1M
*2M
*3M
*4M
Default: 256K
maxtx <128K|256K|512K|1M>
 
The size of the TCP send buffer, in bytes, for the Application Services Engine.
You can increase the buffer to allow more data to accumulate in the Application Services Engine before forwarding. The buffer size is advertised to Alteon clients and servers, and controls their ability to send and receive data.
Values:
*128K
*256K
*512K
*1M
*2M
*3M
*4M
Default: 256K
readbuf [2K-64K]
 
The maximum amount of data, in kilobytes, that can travel in a single push between the client and server via the proxy in either direction.
Default: 64
mss <default|other val up to mtu-40| 1460|1440|1400|1360|1212|956|536|384|128>
 
The maximum segment size, in bytes, to be used over the TCP connection.
The TCP protocol includes a mechanism for both ends of a connection to advertise the maximum segment size to be used over the connection when the connection is created.
Each end uses the OPTIONS field in the TCP header to advertise a proposed maximum segment size. Alteon uses the smaller of the values provided by the two ends. The other party does not necessarily have to use this value.
Note: It is more efficient to send the largest possible packet size to ensure maximum bandwidth on the network. However, to avoid fragmentation, a host must specify the maximum segment size as equal to the largest datagram available for all other networks between the end points.
Values:
*Default — Varies according to the MTU value configured.
*other value up to MTU-40
*1460
*1440
*1400
*1360
*1212
*956
*536
*384
*128
Default: default
adpt [d/e]
 
Limits the use of the proxy server memory to prevent overloading by resizing the TCP buffers according to RAM usage.
Values: enabled, disabled
Default: enabled
sack
 
Improves system performance by processing data using selective ACK messages.
Values: enabled, disabled
Default: enabled
ackpush [disable|enable]
 
Instructs Alteon to immediately send an ACK when a PUSH is received from the client or server.
Default: enable
finage <0 – 8600>
 
Specifies the aging interval (in seconds) between Alteon receiving a FIN message, and returning a FIN and closing the session.
Values: 0 – 8600 (but not greater than the value of the /cfg/slb/adv/proxyage command.)
Default: 0 (no aging)
timestmp [disable|enable]
 
Enables the TCP timestamp.
Default: enable
keepaliv [disable|enable]
 
Displays the TCP keepalive menu. To view this menu, see /cfg/slb/tcppol/keepaliv TCP keepalive Menu.
ena
 
Enables the TCP optimization policy.
Default: disabled
dis
 
Disables the TCP optimization policy.
Default: disabled
del
 
Deletes the TCP optimization policy.