节点文献

网络处理器负载均衡技术研究与实现

The Rearch and Implementation of Load Balance Technique for Network Processor

【作者】 李丹丹

【导师】 龚雪春;

【作者基本信息】 国防科学技术大学 , 计算机科学与技术, 2006, 硕士

【摘要】 当前,网络处理器处理速度的增长远远赶不上网络流量和传输带宽的增长,因此,网络处理器多采用并行组织结构来提高其性能。网络处理器并行结构主要由多个PE和协处理器及硬件逻辑模块组成。各PE之间、PE与协处理器之间存在多种并行模式,使网络处理器的可编程性、可扩展性等优点得到了充分发挥。为提高网络处理器的吞吐率,其处理过程必须保证负载均衡。但是,负载均衡可能导致报文乱序,从而不必要地触发TCP拥塞控制机制,降低发送速率,影响TCP连接的性能和网络利用率。如何解决这对矛盾是网络处理器并行结构设计面临的难点。本文研究了当前主要的负载均衡算法,提出了自适应最高随机权重(adaptive highest random weight简称AHRW)算法。它具有报文保序、开销小、最小破坏度、能根据当前负载状况动态调整负载分配等优点。另外,本文基于网络流量特征提出了流分类处理模型。此模型将报文流分为极大流和正常流,当系统负载均衡时都采用AHRW算法进行映射;当系统负载不均衡时,对极大流单独调整,正常流依然按照AHRW算法的结果映射。这样既保证了负载均衡,又减少了调整混乱率。为验证模型性能,我们自主设计了报文并行调度模拟器FES,它采用网络真实trace驱动和虚拟时钟推进相结合的模拟方法,反映了各算法的调度情况,并从负载均衡度、报文丢失率、重映射破坏度、报文乱序率四个方面对算法性能进行统计分析。模拟证明,基于AHRW的流分类处理方法在这些方面都具有较好的性能。最后,本文将AHRW算法应用于某核心路由器上10G高速接口的设计方案中,提出了一种使用3个较低速网络处理器IBM NP4GS3构建高速并行转发系统的方法,实现高速的报文转发。文中详细介绍了10G高速并行转发系统的核心——报文并行转发模块的设计。

【Abstract】 Now the growth of the network processor speed can not keep up with the growth ofuser traffic and link bandwidth, so adopting the parallel architecture can efficientlyimprove the network processor performance. Parallel network processor is comprised ofmultiple processing elements(PE), coprocessors and hardware logic blocks(HLB). Thereexist many parallel modes among PEs and between PE and coprocessor, whichsufficiency brings into play the characteristic of network processor such asprogrammable and expansible.Load balance is the key to improving the throughput of network processor.Unfortunately, load balance may cause packet reordering, which will unnecessarilytrigger the TCP congestion control mechanism, and thus deteriorate the performance ofTCP connections and the network utility. How to deal with the contradiction is a bigproblem in network processor design.This thesis studies currently in common using load balance arithmetic and pointsout the adaptive highest random weight (AHRW) arithmetic. AHRW has the propertiesof packet ordering, low overhead, minimal disruption and can dynamicly adjust loadbalancing based of current status. What’s more, this thesis studies network trafficcharacteristics, then provides flow classifier scheduling scheme that classifies Internetflows into two categories: the aggressive and the normal, and applies differentscheduling policies to the two classes of flows. When the system is in balanced state,packets is assigned according to the AHRW arithmetic. When system is unbalanced,the load adapter will adjust the aggressive flow, the normal flow will be assignedaccording to AHRW arithmetic still. This can guarantee load balancing and reduceadaptation disruption. To validate the performance of the scheme, we designed a packetparallel scheduling simulator FES, which combines the Internet true trace drive anddummy clock advancing. At last, we analysis the performance of many sorts ofarithmetic from load balancing degree, packet loss rate, adaptation disruption, andpacket reordering, the result is: AHRW has better performance compareing with otherarithmetic.At last, this thesis designs a 10G interface in a core router using AHRW arithmetic,and brings forward a method of how to implement a high speed parallel forward systemusing 3 IBM NP4GS3 low speed network processors, realizing high speed packetforwarding. In this thesis, we particularly introduce how to design the packet parallelforward module, which is the kernel of the 10Gbps high speed parallel forward system.

  • 【分类号】TP393.05
  • 【被引频次】1
  • 【下载频次】215
节点文献中: 

本文链接的文献网络图示:

本文的引文网络