Linux的网络转发性能研究  被引量:11

Research on IP Forwarding Performance of Linux

在线阅读下载全文

作  者:郑卫斌[1] 丁会宁[2] 李庆海[1] 张德运[1] 

机构地区:[1]西安交通大学电子与信息工程学院,西安710049 [2]西安交通大学西北网络中心,西安710049

出  处:《西安交通大学学报》2004年第2期124-127,135,共5页Journal of Xi'an Jiaotong University

基  金:国家"八六三"网络安全管理与测评技术 (863 - 3 0 1 - 0 5- 0 3 ).

摘  要:采用实验与性能"轮廓"相结合的方法,对千兆网络下对称多处理器Linux的NAPI模式转发性能进行研究,发现Linux的多处理器扩展性较差,其网络转发的性能瓶颈点是网络过滤模块,影响Linux性能和扩展性的主要原因是同步开销过大和处理器负载不均衡.为此,采用"中断亲和"的静态调度方法来均衡处理器负载,并降低调度引起的高速缓存命中失败率.改进了网络过滤模块,即减少了两个同步点,降低了同步开销.实验证明所提建议可提高Linux多处理器的性能和扩展性.The forwarding performance of the NAPI mode of SMP(symmetric multiprocessor)Linux running on Gigabit networks are studied by experiments and profiles. It is found that the scalability of SMP Linux is poor; Netfilter is the performance bottleneck; and the synchronization overhead and load imbalance among processors are the main causes that influence the performance of Linux. The static scheduling with interrupt affinity is adopted to balance the load among processors and reduce the cache misses. Two locks are eliminated in Netfilter to reduce the synchronization overhead. Experiments show our proposal can improve the performance and scalability of SMP Linux.

关 键 词:LINUX 对称多处理器 静态调度 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象