08-31-2012 01:47 AM
Hi All,
Earlier we found that we can change the TCP buffer size (rx, tx) also for SSL and compressed HTTP connections in the CSS configuration, but not for pure HTTP connections. (relevant discussion: https://supportforums.cisco.com/message/3715362#3715362)
Do you know the default TCP buffer size for pure HTTP?
Thank you in advance.
BR,
Peter
Solved! Go to Solution.
08-31-2012 09:02 AM
Hi Peter,
From the below explanations, for rx it is 32768 and for tx it is 65536. You might also like to visit the below link for details:
If the network is slow and congested, you can increase the buffer size that the CSS buffers for a given TCP connection before shutting down the TCP window to 0. Increasing the buffer size decreases latency on slow connections to a client but increases buffering in the CSS. Use this feature with caution, because if there are many slow clients, the CSS memory may run low.
Use the compress tcp buffer-share command in service configuration mode to set the TCP buffering from the client or server on a given TCP connection. The syntax for this command is:
compress tcp buffer-share [rx bytes|tx bytes]
The keywords and variables are:
•rx bytes - Sets the amount of data in bytes that a given connection can buffer from the client traffic. Enter a number from 16400 to 262144. By default, the buffer size is 32768.
•tx bytes - Sets the amount of data in bytes that a given connection can buffer from the server. Enter a number from 16400 to 262144. By default, the buffer size is 65536.
For example, to set the buffer size for client traffic to 65536 bytes, enter:
(config-service[server3])# compress tcp buffer-share rx 65536
To reset the buffer size for client traffic to the default of 32768, enter:
(config-service[server3])# no compress tcp buffer-share rx
To set the buffer size for server traffic to 131072, enter:
(config-service[server3])# compress tcp buffer-share tx 131072
To reset the reset the buffer size for server traffic to the default of 65536, enter:
(config-service[server3])# no compress tcp buffer-share tx
Regards,
Kanwal
08-31-2012 09:02 AM
Hi Peter,
From the below explanations, for rx it is 32768 and for tx it is 65536. You might also like to visit the below link for details:
If the network is slow and congested, you can increase the buffer size that the CSS buffers for a given TCP connection before shutting down the TCP window to 0. Increasing the buffer size decreases latency on slow connections to a client but increases buffering in the CSS. Use this feature with caution, because if there are many slow clients, the CSS memory may run low.
Use the compress tcp buffer-share command in service configuration mode to set the TCP buffering from the client or server on a given TCP connection. The syntax for this command is:
compress tcp buffer-share [rx bytes|tx bytes]
The keywords and variables are:
•rx bytes - Sets the amount of data in bytes that a given connection can buffer from the client traffic. Enter a number from 16400 to 262144. By default, the buffer size is 32768.
•tx bytes - Sets the amount of data in bytes that a given connection can buffer from the server. Enter a number from 16400 to 262144. By default, the buffer size is 65536.
For example, to set the buffer size for client traffic to 65536 bytes, enter:
(config-service[server3])# compress tcp buffer-share rx 65536
To reset the buffer size for client traffic to the default of 32768, enter:
(config-service[server3])# no compress tcp buffer-share rx
To set the buffer size for server traffic to 131072, enter:
(config-service[server3])# compress tcp buffer-share tx 131072
To reset the reset the buffer size for server traffic to the default of 65536, enter:
(config-service[server3])# no compress tcp buffer-share tx
Regards,
Kanwal
09-03-2012 01:51 AM
Hello Kanwal,
Thanks a lot.
BR,
Peter
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide