skip to main content
article
Free Access

Efficient demultiplexing of incoming TCP packets

Published:01 October 1992Publication History
Skip Abstract Section

Abstract

When a transport protocol segment arrives at a receiving system, the receiving system must determine which application is to receive the protocol segment. This decision is typically made by looking up a protocol control block (PCB) for the segment, based on information in the segment's header. PCB lookup (a form of demultiplexing) is typically one of the more expensive operations in handling inbound protocol segment [Fe190].

Many recent protocol optimizations for the Transmission Control Protocol (TCP) [Jac88] assume that a large component of TCP traffic is bulk-data transfers, which result in packet trains [JR86]. If packet trains are prevalent, there is a high likelihood that the next TCP segment is en route to the same application (i.e. uses the same PCB) as the previous TCP segment. In these environments a very simple one-PCB cache like those used in BSD systems yields very high cache hit rates.

However, there are classes of applications that do not form packet trains, and these applications do not perform well with a one-PCB cache. Examples of such applications are quite common in the area of heads-down data entry into on-line transaction-processing (OLTP) systems. OLTP systems make heavy use of computer communications networks and have large aggregate-packet-rates but are also characterized by large numbers of connections, low per-connection packet rates, and rather small packets. This combination of characteristics results in a very low incidence of packet trains.

This paper uses a simple analytic approach to examine how different PCB lookup schemes perform with OLTP traffic. One scheme is shown to work an order of magnitude better for OLTP traffic than the one-PCB cache approach while still maintaining good performance for packet-train traffic.

References

  1. Cro91 Jon Crowcroft. Re: Inefficient demultiplexing by 4.3 TCP/IP. Message-iD [email protected] to tcp-ip list, December 1991.Google ScholarGoogle Scholar
  2. Dov90 Ken F. Dove. A high capacity TCP/IP in parallel STREAMS. In UKUUG Conference Proceedings, London, June 1990.Google ScholarGoogle Scholar
  3. Fel90 David C. Feldmeier. Multiplexing issues in communication system design. In $IGCOMM '90 Symposium, pages 209-219, Philadelphia, PA, September 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Gar90 Arun Garg. Parallel STREAMS. In USENIX Conference Proceedings, Berkeley CA, February 1990.Google ScholarGoogle Scholar
  5. Gra91 Jim Gray. The Benchmark Handbook for Database and Transaction Processing Systems. Morgan Kaufmann, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. HJ91 John L. Hennessy and Norman P. Jouppi. Computer tochnology and architoctum: An evolving interaction. IEEE Computer, pages 18-28, September 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. HL86 Frederick S. Hillier and Gerald J. Lieberman. introduction to Operations Research. Holden- Day, 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Jac88 Van Jacobson. Congestion avoidance and control. in SIGCOMM '88, pages 314-329, August 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Jai89 Raj Jain. A comparison of hashing schemes for address lookup in computer networks. Technical Report DEC-TR-593, Digital Equipment Corporation, February 1989.Google ScholarGoogle Scholar
  10. JR86 Raj Jain and Shawn Routhier. Packet trainsmeasurements and a new model for computer network traffic. IEEE Journal on Selected Areas in Communicatzons, SAC-4(6):986-995, September 1986.Google ScholarGoogle Scholar
  11. McK91 Paul E. McKenney. Stochastic fairness queuing. Internetworking: Theory and Experience, 2:113-131, 1991.Google ScholarGoogle Scholar
  12. Mog91 Jeffrey C. Mogul. Network locality at the scale of processes. In Proceeding of $IGUOMM '91, Zurich, September 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Pos81 J.B. Postel. qh'ansmission Control Protocol. Technical Report RFC793, Network Information Center, SRI International, September 1981.Google ScholarGoogle Scholar
  14. PP91 Craig Partridge and Stephen Pink. A faster UDP. Swedish Institute of Computer Science Tecnical Report, August 1991.Google ScholarGoogle Scholar
  15. SC91 Harold S. Stone and John Cocke. Computer architecture in tile 1990s. IEEE Computer, pages 30-38, September 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Vis91 Lance Vissner. Re: Inefficient demultiplexing by 4.3 TCP/iP. Message-iD [email protected] to tcpip list, December 1991.Google ScholarGoogle Scholar

Index Terms

  1. Efficient demultiplexing of incoming TCP packets

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image ACM SIGCOMM Computer Communication Review
        ACM SIGCOMM Computer Communication Review  Volume 22, Issue 4
        Oct. 1992
        308 pages
        ISSN:0146-4833
        DOI:10.1145/144191
        Issue’s Table of Contents
        • cover image ACM Conferences
          SIGCOMM '92: Conference proceedings on Communications architectures & protocols
          October 1992
          326 pages
          ISBN:0897915259
          DOI:10.1145/144179

        Copyright © 1992 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 October 1992

        Check for updates

        Qualifiers

        • article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader