2nd International ICST Conference on Communications and Networking in China

Research Article

A High Performance ARP Lookup System for Gigabit

  • @INPROCEEDINGS{10.1109/CHINACOM.2007.4469333,
        author={Yun Qin and Yachao Zhou and Bin  Liu},
        title={A High Performance ARP Lookup System for Gigabit},
        proceedings={2nd International ICST Conference on Communications and Networking in China},
        publisher={IEEE},
        proceedings_a={CHINACOM},
        year={2008},
        month={3},
        keywords={Gigabit Ethernet ARP lookup hashing},
        doi={10.1109/CHINACOM.2007.4469333}
    }
    
  • Yun Qin
    Yachao Zhou
    Bin Liu
    Year: 2008
    A High Performance ARP Lookup System for Gigabit
    CHINACOM
    IEEE
    DOI: 10.1109/CHINACOM.2007.4469333
Yun Qin1,*, Yachao Zhou1,*, Bin Liu1,*
  • 1: Dept. of Computer Science and Technology Tsinghua University, Beijing, P. R. China
*Contact email: qinyun00@mails.tsinghua.edu.cn, zhouyc06@mails.tsinghua.edu.cn, liub@tsinghua.edu.cn

Abstract

In network processor (NP) application of Gigabit Ethernet (GE), the second layer design has to deal with ARP protocol; we present an approach in this paper to meet the high speed performance requirement to ARP lookup. Unlike longest prefix matching lookup algorithm widely used in IP routing lookup and flow classification, ARP lookup utilizes fixed length matching lookup algorithm, which is commonly implemented by hashing in software or directly by CAM in hardware without the need of much optimization. The algorithm proposed in this paper belongs to closed double hashing algorithm. In ARP lookup system, to solve the indeterminacy of lookup time, a two-stage queue is used to ensure the sequence of IP flows with the same destination address maintains during ARP lookup process. The performance of the system is guaranteed by experimental results under worst-case condition, which is capable of meeting the requirement of ARP lookup in GE environment. Our results show that the algorithm saves much storage and timing cost while achieving wire-speed lookup required by GE.