作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (17): 141-143,146. doi: 10.3969/j.issn.1000-3428.2010.17.048

• 网络与通信 • 上一篇    下一篇

基于MGLRU的IP流统计算法

张 果1,陈庶樵1,张 震1,陈红梅2   

  1. (1. 国家数字交换系统工程技术研究中心,郑州 450002;2. 通信指挥学院,武汉 430010)
  • 出版日期:2010-09-05 发布日期:2010-09-02
  • 作者简介:张 果(1985-),男,硕士研究生,主研方向:网络测量;陈庶樵,副教授;张 震,博士研究生;陈红梅,助教
  • 基金资助:
    国家“863”计划基金资助项目(2008AA01A323)

IP Flow Statistics Algorithm Based on MGLRU

ZHANG Guo1, CHEN Shu-qiao1, ZHANG Zhen1, CHEN Hong-mei2   

  1. (1. National Digital Switching System Engineering & Technological Research Center, Zhengzhou 450002; 2. Communication and Command Academy, Wuhan 430010)
  • Online:2010-09-05 Published:2010-09-02

摘要: 针对最近最久未使用(LRU)算法在高速网络中大流漏判率高的缺陷,提出一种基于多粒度最近最久未使用检测算法。该算法采用分层多粒度压缩计数机制对高速网络数据抽样,提高对长流的识别精度。基于实际的互联网数据进行仿真实验,结果表明,在给定条件下,该方法的内存占用量为LRU算法的50%,测量误差仅为LRU算法的10%。

关键词: 流量测量, 多粒度压缩计数, 最近最久未使用

Abstract: Aiming at the lack of the high false negative ratio of Least Recently Used(LRU) algorithm in high-speed network traffic measurement, this paper proposes a new algorithm which is based on the Multi-Granularity Least Recently Used(MGLRU). The algorithm employs hierarchical multi-granularity compression counting mechanism for high-speed network data sampling, and improves the accuracy of the long-term flow detection. And based on the real Internet data, simulation results show that: in the given conditions, the algorithm uses about 50 percent of the memory consumption and has 10 percent of relative error compared with the LRU algorithm.

Key words: traffic measurement, multi-granularity compressed counting, Least Recently Used(LRU)

中图分类号: