![]() |
Cisco ACNS Software Caching Configuration Guide, Release 4.1
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Chapter 12: Configuring TCP Stack Parameters
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Configuring TCP Stack ParametersOverviewCaches are typically deployed by customers for any of the following reasons:
The fourth reason is an often overlooked and much less understood property of deploying caching, and it can often have a huge benefit on the performance of TCP end to end. Queries sent between a server and a client and the replies generated are defined as transactions. For data transactions between client and servers, the size of windows and buffers is important, and fine-tuning the TCP stack parameters therefore becomes the key to maximizing this benefit. The relevant TCP parameters to maximize cache performance and throughput include the ability to tune timeout periods, client and server receive/send buffer sizes, and TCP window scaling behavior.
Configuring TCP Parameters Using the Content Engine GUITo view the TCP configuration parameters in the Content Engine, start the Content Engine GUI, click Systems, and then choose TCP. The TCP Configuration window is displayed. (See Figure 12-1.) See Table 12-1 for a description of the TCP configuration parameters and the corresponding CLI commands. Figure 12-1: TCP Configuration Window
Table 12-1: TCP CLI Configuration Parameters
TCP-Over-Satellite ExtensionsThe Content Engine has the ability to turn on TCP-over-satellite extensions (as documented in The large number of satellites available to network infrastructures has increased the amount of bandwidth available in the air. Taking advantage of these connections through satellite-type connections has created new challenges in the use of TCP transactions and acknowledgments:
Use the tcp server-satellite and tcp client-satellite commands to set the TCP connection so that it complies with RFC 1323. TCP Configuration ExamplesTo display current TCP configuration information, use the show tcp EXEC command. Note that the default 8 KB incoming window size for the client buffer is used. ContentEngine# show tcp
==TCP Configuration==
TCP keepalive timeout 300 sec
TCP keepalive probe count 4
TCP keepalive probe interval 75 sec
TCP server R/W timeout 120 sec
TCP client R/W timeout 120 sec
TCP server send buffer 8 k
TCP server receive buffer 32 k
TCP client send buffer 32 k
TCP client receive buffer 8 k
TCP server max segment size 1460
TCP satellite (RFC1323) disabled
TCP client max segment size 1432
TCP explicit congestion notification disabled
TCP type of service disabled
TCP cwnd base value 2
TCP initial slowstart threshold value 2
TCP increase(multiply) retransmit timer by 1
ContentEngine#
In this example, the tcp client-receive-buffer command is used to change the TCP incoming window size to 100 KB. ContentEngine(config)# tcp client-receive-buffer 100 ContentEngine(config) You can now verify the configuration change with the show tcp command. ContentEngine# show tcp
==TCP Configuration==
TCP keepalive timeout 300 sec
TCP keepalive probe count 4
TCP keepalive probe interval 75 sec
TCP server R/W timeout 120 sec
TCP client R/W timeout 120 sec
TCP server send buffer 8 k
TCP server receive buffer 32 k
TCP client send buffer 32 k
TCP client receive buffer 100 k
TCP server max segment size 1460
TCP satellite (RFC1323) disabled
TCP client max segment size 1432
TCP explicit congestion notification disabled
TCP type of service disabled
TCP cwnd base value 2
TCP initial slowstart threshold value 2
TCP increase(multiply) retransmit timer by 1
ContentEngine#
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||