The TIME-WAIT state in TCP and its effect on busy servers

Hosts providing important network services such as HTTP and FTP incur a per-connection memory load from TCP that can adversely affect their connection rate and throughput. The memory requirement is directly tied to the number of connections; caching and other sharing methods will not alleviate it. We have observed HTTP throughput reductions of as much as 50% under SunOS 4.1.3 due to this loading. This paper advocates off-loading the memory requirements to the growing number of clients. This reduces server memory requirements as connection rate at that server grows due to increases in the number of clients and the bandwidth available on the network. These approaches control server memory load better with growing client load than per-transaction techniques such as persistent HTTP connections. These approaches also interoperate with persistent connections to take advantage of their other benefits. This paper describes the causes of the memory loading, called TIME-WAIT loading, and defines three methods of alleviating it that scale with increasing number of clients. We present measurements of the systems and a comparison of their properties.

[1]  Jon Postel,et al.  Internet Protocol , 1981, RFC.

[2]  Robert T. Braden,et al.  Requirements for Internet Hosts - Communication Layers , 1989, RFC.

[3]  Jon Postel,et al.  DOD standard transmission control protocol , 1980, CCRV.

[4]  Jim Gettys Hypertext Transport Protocol HTTP/1.1 , 2001 .

[5]  Robert T. Braden,et al.  TIME-WAIT Assassination Hazards in TCP , 1992, RFC.

[6]  I. Damgård,et al.  The protocols. , 1989, The New Zealand nursing journal. Kai tiaki.

[7]  Van Jacobson,et al.  TCP Extensions for High Performance , 1992, RFC.

[8]  James Gettys,et al.  Network performance effects of HTTP/1.1, CSS1, and PNG , 1997, SIGCOMM '97.

[9]  Charles L. Seitz,et al.  Myrinet: A Gigabit-per-Second Local Area Network , 1995, IEEE Micro.

[10]  Jon Postel,et al.  File Transfer Protocol , 1985, RFC.

[11]  Roy T. Fielding,et al.  The Apache HTTP Server Project , 1997, IEEE Internet Comput..

[12]  W. Richard Stevens,et al.  TCP/IP Illustrated, Volume 1: The Protocols , 1994 .

[13]  B. Leiner,et al.  The DARPA internet protocol suite , 1985, IEEE Communications Magazine.

[14]  Paul E. McKenney,et al.  Efficient demultiplexing of incoming TCP packets , 1992, SIGCOMM '92.