HASH-TABLE LOOKUP WITH CONTROLLED LATENCY
First Claim
Patent Images
1. An apparatus for key-value lookup comprising:
- a first memory to store a first hash table that comprises entries associated with a first hash calculation on a received key, wherein an entry includes a key and the first memory is to provide the entry based on a match of an associated key with the received key, wherein a first index is based on a first hash function and a received key anda processor to retrieve a collision hint to identify any other hash table to search and to cause search of any other hash table in parallel for a match of a hash of the key.
1 Assignment
0 Petitions
Accused Products
Abstract
Examples described herein relate to key-value lookups. A first index is calculated based on a first hash function and a received key. A first hash table including entries associated with a first hash calculation on a key is accessed. A collision hint table is accessed to identify any other hash table to search. If the collision hint table indicates any other table to search, the first hash table and the any other hash table are searched to identify an entry associated with an index that matches the first index.
-
Citations
20 Claims
-
1. An apparatus for key-value lookup comprising:
-
a first memory to store a first hash table that comprises entries associated with a first hash calculation on a received key, wherein an entry includes a key and the first memory is to provide the entry based on a match of an associated key with the received key, wherein a first index is based on a first hash function and a received key and a processor to retrieve a collision hint to identify any other hash table to search and to cause search of any other hash table in parallel for a match of a hash of the key. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method comprising:
-
accessing a collision hint table to identify any other hash tables aside from a default table to search, wherein an entry in a table includes a key-value pair and a table is to provide the entry based on a match of an associated key with a received key; calculating an index using a hash function and the received key based on the collision hint table identifying another hash table to search; and providing a value from an entry from the another hash table based on a match of the received key with a key in the entry from the another hash table. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. A network interface comprising:
-
a first memory to store a first hash table comprising entries associated with a first hash calculation on a received key and to store a collision hint to identify any other hash table to search, wherein an entry includes a key-value pair and the first memory is to provide the value based on a match of the received key with the key of the key-value pair and a set of hash function calculators to calculate a set of indexes based on a set of hash functions and the received key based on a collision hint identifying at least one other hash table to search, the hash functions to yield different indexes for the received key. - View Dependent Claims (19, 20)
-
Specification