Skip to content
Commit aca9185b authored by Jacobo Giralt's avatar Jacobo Giralt
Browse files

Deduplication tree optimizations



Deduplication tree can now be configured to be indexed
by full memcmp()s instead of hashes, hence reducing
footprint and avoiding the cost of a hash in each operation.

Of course there is a tradeoff between the cost of the hash and
the lookup time with memcmp()s. Experimentation so far suggests
hashless version is better so it's set by default.

Besides, some profiling functions are added (commented out).

A new metric NR_EVICTIONS_OK is added.

Signed-off-by: default avatarJacobo Giralt <jacobo.giralt@bsc.es>
parent 91903fce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment