Jan Kratochvil
Projects Products GIT Resume Contact
Projects
UNIX UNIX-devel Web Amiga MS-Windows MS-DOS Patches

 

tcp_rto: Linux kernel maximal TCP round-trip-time patch

Solve your problems with network connection dropping too much of your packets. It forces Linux kernel to insist repeating the packages to prevent slowdown of the TCP connection up to its unusable state.


 

This patch can solve your problems if you have network connection dropping too much packets. In standard case the Linux kernel will correctly increase our round-trip-time of connection slowing the transfer rate up to the unusable state.

After applying this patch you can set your maximal round-trip-time in file "/proc/sys/net/ipv4/tcp_rto_max", it is expressed in Hz units (100-per-second on x86 platform). You may need also to enlarge your maximal retry count in "/proc/sys/net/ipv4/tcp_retries2", otherwise your machine will reject the connection as it will have to retry the packets more than in sane states.

Please use this feature very carefully! You are violating RFC standards and you can get your network administrators to be very angry!

 


EOF