摘要: 在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.
中图分类号:
毕学尧,刘宝旭,许榕生. Linux/SMP体系网络处理性能研究[J]. , 2003, 29(22): 127-.
BI Xueyao, LIU Baoxu, XU Rongsheng. Study on the Performance of Network Process of Linux/SMP System[J]. , 2003, 29(22): 127-.