Analysing the Performance of TCP in Linux Kernel
In this paper, the authors explain performance study of the TCP/IP stack for the Linux kernel. They analyzed the packet processing time traversing each layer of the Linux kernel 2.6.9 TC stack (socket, TCP and Ethernet) and the influence of multi-threading and different packet sizes. The design is based on the idea of inserting probing points via hooks in the kernel code and export timing data to a user-space application. The results demonstrate a number of key concepts. In TCP networking, such as layering, user-system interface, connection versus datagram modes, processing routines and their overhead in different layers. Some preliminary results reveal the system has its bottlenecks in different situations.