Fast Reconfigurable Hash Functions for Network Flow Hashing in FPGAs

Efficient monitoring of high speed computer networks operating with a 100 Gigabit per second (Gbps) data throughput requires a suitable hardware acceleration of its key components. We present a platform capable of automated designing of hash functions suitable for network flow hashing. The platform employs a multi-objective linear genetic programming developed for the hash function design. We evolved high-quality hash functions and implemented them in a field programmable gate array (FPGA). Several evolved hash functions were combined together in order to form a new reconfigurable hash function. The proposed reconfigurable design significantly reduces the area on a chip while the maximum operation frequency remains very close to the fastest hash functions. Properties of evolved hash functions were compared with the state-of-the-art hash functions in terms of the quality of hashing, area and operation frequency in the FPGA.

[1]  Ted G. Lewis,et al.  Hash Table Methods , 1975, CSUR.

[2]  Ralph C. Merkle,et al.  Secrecy, authentication, and public key systems , 1979 .

[3]  Kalyanmoy Deb,et al.  A fast and elitist multiobjective genetic algorithm: NSGA-II , 2002, IEEE Trans. Evol. Comput..

[4]  W. Banzhaf,et al.  1 Linear Genetic Programming , 2007 .

[5]  Ernesto Damiani,et al.  On-line evolution of FPGA-based circuits: a case study on hash functions , 1999, Proceedings of the First NASA/DoD Workshop on Evolvable Hardware.

[6]  Wolfgang Banzhaf,et al.  A Comparison of Cartesian Genetic Programming and Linear Genetic Programming , 2008, EuroGP.

[7]  Lukás Sekanina,et al.  Multi-objective evolution of hash functions for high speed networks , 2017, 2017 IEEE Congress on Evolutionary Computation (CEC).

[8]  C. R. Sage,et al.  MATHEMATICS AND COMPUTER SCIENCE DIVISION. , 1967 .

[9]  Mihai Oltean,et al.  A Comparison of Several Linear Genetic Programming Techniques , 2003, Complex Syst..

[10]  David Martin,et al.  GEVOSH: Using Grammatical Evolution to Generate Hashing Functions , 2004, MAICS.

[11]  Dirk Timmermann,et al.  Packet Classification with Evolvable Hardware Hash Functions - An Intrinsic Approach , 2006, BioADIT.

[12]  Lukás Sekanina,et al.  Evolutionary Design of Fast High-quality Hash Functions for Network Applications , 2016, GECCO.

[13]  Pedro Isasi Viñuela,et al.  Evolving hash functions by means of genetic programming , 2006, GECCO '06.

[14]  Marco Platzner,et al.  EvoCaches: Application-specific Adaptation of Cache Mappings , 2009, 2009 NASA/ESA Conference on Adaptive Hardware and Systems.

[15]  Pedro Isasi Viñuela,et al.  Finding State-of-the-Art Non-cryptographic Hashes with Genetic Programming , 2006, PPSN.

[16]  Zheng Wang,et al.  Flow identification for supporting per-flow queueing , 2000, Proceedings Ninth International Conference on Computer Communications and Networks (Cat.No.00EX440).

[17]  Radim Burget,et al.  Towards an automatic design of non-cryptographic hash function , 2011, 2011 34th International Conference on Telecommunications and Signal Processing (TSP).

[18]  Lukás Sekanina,et al.  Evolutionary design of hash function pairs for network filters , 2017, Appl. Soft Comput..

[19]  Pedro Isasi Viñuela,et al.  AUTOMATIC DESIGN OF NONCRYPTOGRAPHIC HASH FUNCTIONS USING GENETIC PROGRAMMING , 2014, Comput. Intell..

[20]  Maryam Shayegan Hastings,et al.  She Does Math!: Mathematics and Computer Science , 1995 .

[21]  Andreas Tockhorn,et al.  Rapid Evolution of Time-Efficient Packet Classifiers , 2006, 2006 IEEE International Conference on Evolutionary Computation.

[22]  Mustafa Safdari Evolving Universal Hash Functions Using Genetic Algorithms , 2009, 2009 International Conference on Future Computer and Communication.

[23]  Roland Dobai,et al.  Evolutionary design of hash functions for IP address hashing using genetic programming , 2017, 2017 IEEE Congress on Evolutionary Computation (CEC).

[24]  Michael G. Epitropakis,et al.  Repairing and Optimizing Hadoop hashCode Implementations , 2014, SSBSE.

[25]  Jean-Philippe Aumasson,et al.  SipHash: A Fast Short-Input PRF , 2012, INDOCRYPT.