Adaptive Hashing for IP Address Lookup in Computer Networks

Christopher Martinez, Wei-ming Lin
2006 2006 14th IEEE International Conference on Networks  
Hashing algorithms have been widely adopted for fast address look-up, which involves a search through a database to f nd a record associated with a given key. Hashing algorithms transforms a key into a hash value hoping that the hashing renders the database a uniform distribution with respect to the hash value. The closer to uniform hash values, the less search time required for a query. When the database is key-wise uniformly distributed, any regular hashing algorithm (bit-extraction,
more » ... XOR, etc.) leads to a statistically perfect uniform hash distribution. When the database has keys with a non-uniform distribution, performance of regular hashing algorithms becomes far from desirable. This paper aims at designing a hashing algorithm to achieve the highest probability in leading to a uniformly distributed hash result from non-uniform distributed database. An analytical pre-process on the original database is performed to extract critical information that signif cantly benef ts the design of a better hashing algorithm. This process includes sorting the bits of the key to prioritize the use of them in the hashing sequence. Such an ad hoc hash design is critical to adapting to all real-time situations when there exists a changing database with an irregular non-uniform distribution.
doi:10.1109/icon.2006.302586 dblp:conf/icon/MartinezL06 fatcat:k6zys6dggvfpxhvkrpn72w2f7e