期刊文献+

面向IP流测量的哈希算法研究 被引量:54

A Hash Algorithm for IP Flow Measurement
下载PDF
导出
摘要 为了解决计算资源和高速网络流量之间的矛盾,需要对IP流进行抽样或负载均衡等处理,而哈希算法是资源代价的核心.首先提出评价哈希算法性能的随机测度;其次从理论上证明比特之间异或运算和位移运算能够提高哈希值的随机特性,提出比特流之间哈希算法的原则;然后分析IP报文的4个字段:源IP、宿IP、源端口和宿端口的特性,由此提出相关的哈希算法;最后使用CERNET主干流量和PMA的数据验证算法的性能,并与IPSX和CRC32算法进行比较.研究表明,基于异或、位移原则的比特流哈希算法的执行效率和哈希值的均匀性两方面具有较好的性质,能够满足高速网络流量测量需求. In order to solve the problems with computing resource and high-speed network traffic, it is necessary to deal with the network traffic by some measuring technologies, such as sampling measurement and load balance, etc, while the hash algorithm is one of the key measuring technologies. In this paper, firstly, a random metric is provided to evaluate the performance of the hash algorithms. Secondly, the randomicity of XOR and shift operations are analyzed, and it is proved that the two operations can improve the bit randomicity. Thirdly, this paper analyzes the four fields of IP packet, such as source IP, destination IP, source port, and destination port, and a hash algorithm named XOR_SHIFT is provided based on the analysis. Finally, using the CERNET backbone traffic and PMA traffic, this paper analyzes the character of the XOR_SHIFT hash algorithm and compares with the performance among XOR_SHIFT, IPSX and CRC32 hash algorithms. This study shows that the XOR_SHIFT hash function provided in this paper has two advantages: algorithm performance and hash randomicity, and it can be applied to measure the high-speed network traffic.
出处 《软件学报》 EI CSCD 北大核心 2005年第5期652-658,共7页 Journal of Software
基金 国家自然科学基金 国家重点基础研究发展规划(973) 东南大学基金~~
关键词 哈希算法 网络流量 异或 位移 流量测量 hash algorithm network traffic XOR shift traffic measurement
  • 相关文献

参考文献9

  • 1IP Flow information export (ipfix). 2004. http://www.ietf. org/html.charters/ipfix-charter.html
  • 2Thompson K, Miller G, Wilder R. Wide area Internet traffic patterns and characteristics. IEEE Network, 1997,11(6):10-23.
  • 3Cisco Netflow. 2004. http://www.cisco.com/warp/public/732/Tech/nmp/netflow/index.shtml
  • 4Jain R. A comparison of hashing schemes for address lookup in computer networks. IEEE Trans. on Communications, 1992,40(3):1570-1573.
  • 5Cao Z, Wang Z, Zegura E. Performance of hashing-based schemes for Internet load balancing. In: Nokia FB, ed. Proc. of the IEEE INFOCOM 2000. Piscataway: IEEE Computer and Communications Societies, 2000. 332-341.
  • 6程光,龚俭,丁伟.基于统计分析的高速网络分布式抽样测量模型[J].计算机学报,2003,26(10):1266-1273. 被引量:24
  • 7Duffield NG, Grossglauser M. Trajectory sampling for direct traffic observation. IEEE/ACM Trans. on Networking, 2001,9(3):280-292.
  • 8NLANR network traffic packet header traces. 2004. http://pma.nlanr.net/Traces/
  • 9Niccolini S, Molina M, Duffield N. Hash functions description for packet selection. 2003. http://www.watersprings.org/pub/id/draft-niccolini-hash-descr-00.txt

二级参考文献12

  • 1Zseby T, Zander S, Carle G. Evaluation of build blocks for passive one-way-delay measurements. In: Proceedings of Passive and Active Measurement Workshop (PAM 2001), Amsterdam, Netherlands, 2001. 23~24.
  • 2Duffield N, Grossglauser M. Trajectory sampling for direct traffic observation. IEEE/ACM Transactions on Networking,2001, 9(3): 280~292.
  • 3Cozzani I, Giordano S. A passive test and measurement system: Traffic sampling for QoS evaluation. In: Proceedings of GLOBECOM 1998. Sidney Australia, 1998. 1236~1241.
  • 4Claffy K, Polyzos G, Braun H. Application of sampling methodologies to network traffic characterization. In: Proceedings of ACM SIGCOMM'93, San Francisco California, 1993. 194~203.
  • 5Paxson V, Almes G, Mahdavi J, Mathis M. Framework for IP performance metrics. IETF RFC2330, 1998.
  • 6Jin Zhen-Yu. Information Theory. Beijing, Beijing University of Science and Technology Press, 1991(in Chinese).
  • 7Reynolds J, Postel J. Assigned numbers. IETF RFC1700,1994.
  • 8Tang Xiang-Neng, Dai Jian-Hua. Mathematics Statistics. Beijing, Mechanism Technology Press, 1994(in Chinese).
  • 9Duffield N. A framework for passive packet measurement.IETF draft-ietf-psamp-framework-00, 2002.
  • 10Thompson K, Miller G J, Wilder R. Wide-area Internet traffic patterns and characteristics. IEEE Network, 1997, 11 (6) : 10~23.

共引文献23

同被引文献397

引证文献54

二级引证文献155

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部