计算机应用
計算機應用
계산궤응용
COMPUTER APPLICATION
2010年
2期
306-308,315
,共4页
网络处理器%位向量%元组空间%哈希表%Trie
網絡處理器%位嚮量%元組空間%哈希錶%Trie
망락처리기%위향량%원조공간%합희표%Trie
network processor%Bit Vector (BV)%tuple space%Hash table%Trie
在大型网络中大量的规则数量会导致位向量(BV)算法的位向量过长和稀疏,要在网络处理器中实现BV算法需要大量的存储资源,而且多次存储读取也降低了算法匹配效率.针对BV算法位向量的问题,将Tuple空间分割思想与BV算法相结合缩短了位向量长度,充分利用网络处理器的并行处理机制和硬件加速单元,提出了一种适用于网络处理器的改进算法--Tuple-BV算法.该算法的元组分割缩短了位向量的长度,减少了位向量的存储空间和读取次数.通过对数据包处理延时的实验比较,当较多规则时,Tuple-BV算法在最大延时和平均延时指标上优于BV算法.
在大型網絡中大量的規則數量會導緻位嚮量(BV)算法的位嚮量過長和稀疏,要在網絡處理器中實現BV算法需要大量的存儲資源,而且多次存儲讀取也降低瞭算法匹配效率.針對BV算法位嚮量的問題,將Tuple空間分割思想與BV算法相結閤縮短瞭位嚮量長度,充分利用網絡處理器的併行處理機製和硬件加速單元,提齣瞭一種適用于網絡處理器的改進算法--Tuple-BV算法.該算法的元組分割縮短瞭位嚮量的長度,減少瞭位嚮量的存儲空間和讀取次數.通過對數據包處理延時的實驗比較,噹較多規則時,Tuple-BV算法在最大延時和平均延時指標上優于BV算法.
재대형망락중대량적규칙수량회도치위향량(BV)산법적위향량과장화희소,요재망락처리기중실현BV산법수요대량적존저자원,이차다차존저독취야강저료산법필배효솔.침대BV산법위향량적문제,장Tuple공간분할사상여BV산법상결합축단료위향량장도,충분이용망락처리기적병행처리궤제화경건가속단원,제출료일충괄용우망락처리기적개진산법--Tuple-BV산법.해산법적원조분할축단료위향량적장도,감소료위향량적존저공간화독취차수.통과대수거포처리연시적실험비교,당교다규칙시,Tuple-BV산법재최대연시화평균연시지표상우우BV산법.
There are a large number of rules in large networks. This feature leads to overlong and sparse bit vectors of BV algorithm, which requires a large amount of storage resources and too many read cycles in network processor. An improved method, Tuple-BV algorithm, was put forward, which combined tuple space partition with the BV algorithm to reduce the length of bit vector and take advantage of parallel processing mechanism and hardware acceleration units in network processor. The improved algorithm shortens the length of bit vector and reduces storage space. The experiments prove that Tuple-BV algorithm is better than BV algorithm in terms of maximum delay and average delay when the number of rules is over one thousand.