Linux操作系统网络软件时延的研究
Research of the Network Software Latency on Linux OS
-
摘要: Linux操作系统在高性能计算环境、机群系统、高性能安全网关等方面日益发挥着重要作用 ,因此 ,了解和掌握Linux操作系统的网络软件性能具有重要意义 利用Netslice———一种自动分析网络软件时延的工具 ,对Linux操作系统的网络软件时延进行深入和全面的测评与分析 实验发现 ,在发送同样大小的数据包时 ,网络软件的接收时延远远大于发送时延 进一步的研究指出 ,非对齐数据的拷贝和上下文切换是造成接收额外开销的主要原因 实验同时指出 ,Lin ux和FreeBSD操作系统的网络软件具有相同的性能Abstract: Linux operating system is playing a more and more important role in the high-performance computing environment, computer-cluster system, and the high-performance security gateway. Therefore understanding and mastering the network software’s performance of Linux operating is an important thing. Using Netslice, which is a tool for automated analysis of network software latency, thorough and comprehensive measurement and analysis of the network software latency of Linux operating system are presented in this paper. The results show that the processing latency of receiving a packet is more expensive than that of sending the same one. Further study indicates that the primary bottlenecks are misaligned data copying and context switching operations. Meanwhile, it is also found that Linux and FreeBSD have the same network software performance.
下载: