IP Library › Granted Patent US 9,594,694
Granted Patent B2
US 9,594,694 · App. 14/993,583 · Granted Mar 14, 2017

Dynamic evaluation and adaption of hardware hash functions

Inventors: Sascha Junghans (Boeblingen, DE); Matthias Klein (Boeblingen, DE); Thomas Schlipf (Holzgerlingen, DE)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F12/1018G06F9/3838G06F1/0328G06F1/1615G06F2212/401
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,594,694
App. No.
14/993,583
Granted
Mar 14, 2017
Kind
B2
Abstract

Creating hash values based on bit values of an input vector. An apparatus includes a first and a second hash table, a first and second hash function generator adapted to configure a respective hash function for a creation of a first and second hash value based on the bit values of the input vector. The hash values are stored in the respective hash tables. An evaluation unit includes a comparison unit to compare a respective effectiveness of the first hash function and the second hash function, and an exchanging unit responsive to the comparison unit adapted to replace the first hash function by the second hash function.

Claims (36)

1. An apparatus for creating hash values based on bit values of an input vector, the apparatus comprising:

a first hash table;

a first hash function generator configured to configure a first hash function for creation of a first hash value based on the bit values of the input vector, the first hash value to be stored in the first hash table; and

an evaluation unit responsive to the bit values of the input vector to test a second hash function, the evaluation unit comprising:

a second hash table with fewer entries than the first hash table;

a second hash function generator configured to configure the second hash function for creation of a second hash value based on the bit values of the input vector, the second hash value to be stored in the second hash table;

a comparison unit to compare an effectiveness of the first hash function with an effectiveness of the second hash function; and

an exchanging unit responsive to the comparison unit configured to replace the first hash function with the second hash function; and

a hash function mask unit configured to be activated after the replacement of the first hash function with the second hash function, and configured to limit comparisons to those bits of a new hash value of the second hash function, which has replaced the first hash function, that are identically generated if compared to the first hash function.

2. The apparatus of claim 1 , wherein the input vector represents an address value readable by a processor.

3. The apparatus of claim 1 , wherein a subset of bits of the input vector is used as input values for a group of hash bit logic units of the first hash function and for a group of hash bit logic units of the second hash function, wherein each hash bit logic unit of the group of hash bit logic units of the first hash function is differently configurable, and wherein each hash bit logic unit of the group of hash bit logic units of the first hash function generates one bit (H( 0 ), H( 1 ), . . . , H(m- 1 )) of a hash function value generated by the first hash function.

4. The apparatus of claim 1 , wherein the replacement of the first hash function with the second hash function is performed without delaying an input stream of the bit values of the input vector.

5. The apparatus of claim 1 , wherein the hash function mask is a bit mask having a number of bits of the hash value of the first hash function.

6. The apparatus of claim 1 , wherein a new hash value based on the second hash function is compared to entries of the second hash table.

7. The apparatus of claim 1 , wherein based on the replacement of the first hash function with the second hash function and until a condition is met, a matching of new hash values to at least one hash table entry of the first hash table is assumed.

8. A computer program product for creating hash values based on bit values of an input vector, the computer program product comprising

a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:

configuring a first hash function for creation of a first hash value based on the bit values of the input vector, the first hash value to be stored in a first hash table;

configuring a second hash function for creation of a second hash value based on the bit values of the input vector, the second hash value to be stored in a second hash table, the second hash table having fewer entries than the first hash table;

comparing an effectiveness of the first hash function with an effectiveness of the second hash function;

based on the comparing, replacing the first hash function with the second hash function; and

limiting, by a hash function mask unit configured to be activated after the replacement of the first hash function with the second hash function, comparisons to those bits of a new hash value of the second hash function, which has replaced the first hash function, that are identically generated if compared to the first hash function.

9. The computer program product of claim 8 , wherein the input vector represents an address value readable by a processor.

10. The computer program product of claim 8 , wherein a subset of bits of the input vector is used as input values for a group of hash bit logic units of the first hash function and for a group of hash bit logic units of the second hash function, wherein each hash bit logic unit of the group of hash bit logic units of the first hash function is differently configurable, and wherein each hash bit logic unit of the group of hash bit logic units of the first hash function generates one bit (H( 0 ), H( 1 ), . . . , H(m- 1 )) of a hash function value generated by the first hash function.

11. The computer program product of claim 8 , wherein the replacement of the first hash function with the second hash function is performed without delaying an input stream of the bit values of the input vector.

12. The computer program product of claim 8 , wherein the hash function mask is a bit mask having a number of bits of the hash value of the first hash function.

13. The computer program product of claim 10 , wherein a new hash value based on the second hash function is compared to entries of the second hash table.

14. A method of creating hash values based on bit values of an input vector, the method comprising:

configuring a first hash function for a creation of a first hash value based on the bit values of the input vector, the first hash value to be stored in a first hash table;

configuring a second hash function for a creation of a second hash value based on the bit values of the input vector, the second hash value to be stored in a second hash table, the second hash table having fewer entries than the first hash table;

comparing an effectiveness of the first hash function with an effectiveness of the second hash function;

based on the comparing, replacing the first hash function with the second hash function; and

limiting, by a hash function mask unit configured to be activated after the replacement of the first hash function with the second hash function, comparisons to those bits of a new hash value of the second hash function, which has replaced the first hash function, that are identically generated if compared to the first hash function.

15. The method of claim 14 , wherein the input vector represents an address value readable by a processor.

16. The method of claim 14 , wherein a subset of bits of the input vector is used as input values for a group of hash bit logic units of the first hash function and for a group of hash bit logic units of the second hash function, wherein each hash bit logic unit of the group of hash bit logic units of the first hash function is differently configurable, and wherein each hash bit logic unit of the group of hash bit logic units of the first hash function generates one bit (H( 0 ), H( 1 ), . . . , H(m- 1 )) of a hash function value generated by the first hash function.

17. The method of claim 14 , wherein the hash function mask is a bit mask having a number of bits of the hash value of the first hash function.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 12, 2016
From: JUNGHANS, SASCHA; KLEIN, MATTHIAS; SCHLIPF, THOMAS M.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 037467/0194 →
Priority Claims (1)
GB 1221364.1 · Nov 28, 2012 · national
Continuity (2)
Continuation 14060900 · Oct 23, 2013
Related Publication 20160124865A1 · May 5, 2016