电子与信息学报
電子與信息學報
전자여신식학보
JOURNAL OF ELECTRONICS & INFORMATION TECHNOLOGY
2014年
10期
2350-2356
,共7页
王晶%汪斌强%张震
王晶%汪斌彊%張震
왕정%왕빈강%장진
互联网%网络流量测量%包公平抽样%哈希冲突%估计误差%大小流区分
互聯網%網絡流量測量%包公平抽樣%哈希遲突%估計誤差%大小流區分
호련망%망락류량측량%포공평추양%합희충돌%고계오차%대소류구분
Internetwork%Network flow measurement%Fair packet sampling%Hash collision%Estimation error%Differentiating between mice and elephant flows
针对一种草图指导公平抽样(SGS)算法对小流估计误差大的问题,该文提出一种基于大小流区分计数的包公平抽样算法(DCMFS),并给出哈希冲突对SGS算法估计误差影响的定量分析结果。DCMFS采用大小流区分计数器,对小流采用逐流精确计数,对大流采用哈希计数。理论分析及实际的数据仿真结果均表明,DCMFS算法对小流能够实现逐流精确统计,对大流的估计标准差接近公平抽样估计标准差理论值上限。算法采用不等长位宽计数器结构,保证其空间复杂度较SGS和自适应非线性抽样方法(ANLS)没有增加;引入计数器置换使得算法时间复杂度略有提高,但仍能满足10 Gbps线速处理要求。
針對一種草圖指導公平抽樣(SGS)算法對小流估計誤差大的問題,該文提齣一種基于大小流區分計數的包公平抽樣算法(DCMFS),併給齣哈希遲突對SGS算法估計誤差影響的定量分析結果。DCMFS採用大小流區分計數器,對小流採用逐流精確計數,對大流採用哈希計數。理論分析及實際的數據倣真結果均錶明,DCMFS算法對小流能夠實現逐流精確統計,對大流的估計標準差接近公平抽樣估計標準差理論值上限。算法採用不等長位寬計數器結構,保證其空間複雜度較SGS和自適應非線性抽樣方法(ANLS)沒有增加;引入計數器置換使得算法時間複雜度略有提高,但仍能滿足10 Gbps線速處理要求。
침대일충초도지도공평추양(SGS)산법대소류고계오차대적문제,해문제출일충기우대소류구분계수적포공평추양산법(DCMFS),병급출합희충돌대SGS산법고계오차영향적정량분석결과。DCMFS채용대소류구분계수기,대소류채용축류정학계수,대대류채용합희계수。이론분석급실제적수거방진결과균표명,DCMFS산법대소류능구실현축류정학통계,대대류적고계표준차접근공평추양고계표준차이론치상한。산법채용불등장위관계수기결구,보증기공간복잡도교SGS화자괄응비선성추양방법(ANLS)몰유증가;인입계수기치환사득산법시간복잡도략유제고,단잉능만족10 Gbps선속처리요구。
The previous fair packet sampling algorithm of Sketch Guided Sampling (SGS) has large estimation error for mice flows. A Fair packet Sampling algorithm based on Different Counting Methods between elephant and mice flows (DCMFS) is proposed, and the quantificational influence of hash collisions on estimation error of SGS is thoroughly analyzed. The key innovation is to use an elephant and mice flows differentiating counter to count the mice flows one by one and count the elephant ones by counting sketch. The theoretical analysis and evaluation on real traffic traces show that each mice flow can be estimated accurately by DCMFS and the elephant ones’ estimation error can reach the theoretical value of SGS. Due to the unequal length counter structure, DCMFS does not introduce much more counting space than SGS and Adaptive Non-Linear Sampling (ANLS). Though the replacement of counters in DCMFS introduces more time complexity than SGS, it can still support the 10 Gbps line-speed processing.