A Study of An Internet Protocol Implementation
暂无分享,去创建一个
This report presents a detailed timing analysis of the dynamic behavior of TCP/IP and UDP/IP as they are implemented in the released 4.2BSD version of the Berkeley UNIX operating system. The analysis is based on a series of performance measurements in the kernel, directed by a specific task. The organization of the code and the algorithms used in the implementation of each routine are discussed. The effects of this organization and these algorithm on the performance of each protocol are discussed. A model is proposed to estimate the minimum cost of a protocol implementation, and a comparison is made with the measured results. The results of this paper suggest that the implementation is responsible for a good deal of the overhead in the measured performance. In addition, the overheads of both light and medium weight protocol do not appreciably differ from each other, and are overshadowed by the performance penalties due to interface to the user and to the hardware.