计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (33): 147-149.

• 网络、通信与安全 • 上一篇    下一篇

基于网络处理器应用中网包保序机制研究

余建明1,2,薛一波2,3   

  1. 1.清华大学 自动化系,北京 100084
    2.清华大学 信息技术研究院,北京 100084
    3.清华大学 计算机系,北京 100084
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-11-21 发布日期:2007-11-21
  • 通讯作者: 余建明

Maintaining packet order in network processor-based application

YU Jian-ming1,2,XUE Yi-bo2,3   

  1. 1.Department of Automation,Tsinghua University,Beijing 100084,China
    2.Research Institute of Information Technology,Tsinghua University,Beijing 100084,China
    3.Department of Computer Science and Technology,Tsinghua University,Beijing 100084,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-11-21 Published:2007-11-21
  • Contact: YU Jian-ming

摘要: 网包保序是高层协议对网络设备的严格要求。网络处理器(NP)中广泛采用的并行处理架构对保序机制的实现提出了新的挑战。通过理论分析比较了临界区轮询(CSRR)和线程池(POTS)两种保序模型在NP体系结构下的性能,提出在实际网络环境中POTS性能更优。在NP的代表性设计Intel IXP2400上的实测表明,POTS比CSRR性能高1.7%-102%。

关键词: 网包保序, 网络处理器, 线程池, 临界区轮询

Abstract: Maintaining packet order in network equipments is the strict requirements of some upper layer protocols,such as TCP.The parallel processing architecture widely utilized in network processor brings new challenge to maintaining packet order.This paper compares the throughput performance of the Critical Section Round Robin(CSRR) and Pool of Threads(POTS) under the network processor architecture by theoretical analysis,and proposes that the performance of POTS is superior in real network environment.In tests on the standard network processor chip,Intel IXP2400,the POTS performance is 1.7%-102% higher than CSRR.

Key words: maintaining packet order, network processor, Pool of Threads(POTS), Critical Section Round Robin(CSRR)