作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2003, Vol. 29 ›› Issue (22): 127-.

• 论文 • 上一篇    下一篇

Linux/SMP体系网络处理性能研究

毕学尧,刘宝旭,许榕生   

  1. 中国科学院高能物理研究所计算中心,中国科学院高能物理研究所计算中心,中国科学院高能物理研究所计算中心 北京 100039
  • 发布日期:2003-11-25

Study on the Performance of Network Process of Linux/SMP System

BI Xueyao, LIU Baoxu, XU Rongsheng   

  1. (Computing Center, Institute of High Energy Physics, CAS, Beijing 100039)
  • Published:2003-11-25

摘要: 在Linux系统中存在一个基本规则:接收网络数据的CPU负责处理网络数据,而一般来说每个CPU接收的数据量是不一样的,由此可能导致系统负载不均衡,甚至出现性能瓶颈,其根本原因在于Linux中的硬中断与软中断结合过于紧密,该文提出了一种软中断分发的理论,扩充了Linux对SMP体系的支持,有利于提高Linux对海量网络数据的处理性能。

关键词: 负载均衡, Linux, 对称多处理器, 软中断, 性能

Abstract: In Linux, a basic rule is that CPU which receives packets from network should deal with those packets by itself. This may result in the imbalance of system ' s load. Even one specific CPU may become the bottom-neck of performance. The main reason is the close affinity of hardirq and softirq of one CPU.This paper introduces a new theory about softirq-dispense which extend Linux ' s support for SMP and is beneficial to enhance the performance of network process of Linux.

中图分类号: