Title :
XOR-based hash functions
Author :
Vandierendonck, Hans ; Bosschere, Koen De
Author_Institution :
Dept. of Electron. & Inf. Syst., Ghent Univ., Belgium
fDate :
7/1/2005 12:00:00 AM
Abstract :
Bank conflicts can severely reduce the bandwidth of an interleaved multibank memory and conflict misses increase the miss rate of a cache or a predictor. Both occurrences are manifestations of the same problem: objects, which should be mapped to different indices, are accidentally mapped to the same index. Suitable chosen hash functions can avoid conflicts in each of these situations by mapping the most frequently occurring patterns conflict-free. A particularly interesting class of hash functions is the XOR-based hash functions, which compute each set index bit as the exclusive-or of a subset of the address bits. When implementing a XOR-based hash function, it is extremely important to understand what patterns are mapped conflict-free and how a hash function can be constructed to map the most frequently occurring patterns without conflicts. Hereto, this paper presents two ways to reason about hash functions: by their space and by their column space. The space helps to quickly determine whether a pattern is mapped conflict-free. The column space is more useful for other purposes, e.g., to reduce the fan-in of the XOR-gates without introducing conflicts or to evaluate interbank dispersion in skewed-associative caches. Examples illustrate how these ideas can be applied to construct conflict-free hash functions.
Keywords :
cache storage; logic gates; memory architecture; XOR-based hash function; column space; conflict-free mapping; interbank dispersion; skewed-associative cache; space; Ash; Bandwidth; Clocks; Computer Society; Delay; Hardware; Null space; Index Terms- XOR-based hash function; column space; conflict-free mapping; interbank dispersion.; skewed-associative cache; space;
Journal_Title :
Computers, IEEE Transactions on
DOI :
10.1109/TC.2005.122