DocumentCode :
1785776
Title :
CRTHT: A novel collision-free and storage-efficient hash-based method to find LMP
Author :
Tahmasbi, Ashraf ; Saidi, Hossein ; Behdadfar, Mohammad ; Dashti, Sadegh
Author_Institution :
Dept. of Electr. & Comput. Eng., Isfahan Univ. of Technol., Isfahan, Iran
fYear :
2014
fDate :
20-22 May 2014
Firstpage :
1103
Lastpage :
1107
Abstract :
IP lookup is one of the most important issues in designing today routers. Also, it plays an important role in determining the router performance. Based on CIDR, extracting the next hop of each incoming packet, requires performing a Longest Prefix Matching (LPM) algorithm with the input packet address. Using hash functions is one of the important approaches in designing new LPM algorithms. Due to their constant search time, hash functions seem ideal for solving LPM problem. However, hash-based methods are often facing two challenges: (1) variable prefix lengths and (2) associated collisions of hash functions. The main objective of this paper is designing a collision-free hash table to be used for the LPM problem. To achieve this goal, one of the theorems of number theory known as Chinese Reminder Theorem (CRT) has been applied in the proposed algorithm. Based on Chinese reminder theorem, a large integer number can be mapped to smaller integer numbers. Each of these smaller numbers is congruent to the original number modulo p (for some predetermined p). In fact, the congruence relation between the original number and its reminders can be considered as applying multiple hash functions on the original number. By applying multiple hash functions and merging their results, the proposed scheme eliminates the inherent collision of the hash functions. According to the CRT theorem, the product of modules must be as large as the original number. Thus, the selected modules are much smaller than the original number. For example, using IPv4 addresses with two hash functions, items are mapped from domain of 232 to the range of O(216). Thus, the required space to store items can be significantly reduced. Selecting more modules, results in more reduced space.
Keywords :
IP networks; file organisation; telecommunication network routing; CRTHT; Chinese reminder theorem; IP lookup; IPv4 address; LPM algorithm; hash functions; input packet address; longest prefix matching; router design; search time; Algorithm design and analysis; Data structures; Databases; Educational institutions; IP networks; Merging; Routing; Chinese Reminder Theorem; Hash Table; IP Lookup; Longest Prefix Matching; Routing Table;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Electrical Engineering (ICEE), 2014 22nd Iranian Conference on
Conference_Location :
Tehran
Type :
conf
DOI :
10.1109/IranianCEE.2014.6999700
Filename :
6999700
Link To Document :
بازگشت