Journal of Beijing University of Posts and Telecommunications

  • EI核心期刊

JOURNAL OF BEIJING UNIVERSITY OF POSTS AND TELECOM ›› 2016, Vol. 39 ›› Issue (3): 85-90.doi: 10.13190/j.jbupt.2016.03.015

• Papers • Previous Articles     Next Articles

The Hardware Implementation of Adaptive Non-Linear Sampling Algorithm

LI Yang, WU Hao, LIU Bin   

  1. Department of Computer Science and Technology, Tsinghua University, Beijing 100084, China
  • Received:2015-11-16 Online:2016-06-28 Published:2016-06-27

Abstract:

In flow-based passive measurement of the Internet, the measurement of flow size and flow volume is a basic requirement. To resolve the contradiction of increasing network link speed and small-sized fast memory chipset, a non-linear sampling algorithm which is named discrete counting (DISCO), was proposed in related research work. In order to meet the need of wire-speed network traffic measurement, DISCO is suggested to be implemented by hardware approaches, such as field-programmable gate array (FPGA). However, DISCO involves complex calculations with high precision, which give rise to a series of challenges in hardware acceleration. To solve the problems, a hardware-friendly refined algorithm was designed, which employs multiple lookup tables and a normalization method. Simulation was conducted to verify the validity of the refined algorithm. An FPGA-based prototype was made. Experiments show that the refined algorithm can achieve wire-speed flow measurement of a 40 Gbit/s link, with small hardware logic resources consumption of FPGA. The average relative error and maximum relative error of the refined DISCO algorithm are close to the original one.

Key words: flow measurement, field-programmable gate array, non-linear sampling

CLC Number: