[Gluster-devel] Adding xxhash to gluster code base

Kotresh Hiremath Ravishankar khiremat at redhat.com
Tue Jun 27 06:55:11 UTC 2017


We were looking for faster non-cryptographic hash to be used for the
gfid2path infra [1]
The initial testing was done with md5 128bit checksum which was a slow,
cryptographic hash
and using it makes software not complaint to FIPS [2]

On searching online a bit we found out xxhash [3] seems to be faster from
the results of
benchmark tests shared and lot of projects use it. So we have decided to us
and added following files to gluster code base with the patch [4]

    BSD 2-Clause License:

    GPL v2 License:

NOTE: We have ignored the code guideline check for these files as
maintaining it
further becomes difficult.

Please comment on the same if there are any issues around it.

[1] Issue: https://github.com/gluster/glusterfs/issues/139
[2] https://en.wikipedia.org/wiki/Federal_Information_Processing_Standards
[3] http://cyan4973.github.io/xxHash/
[4] https://review.gluster.org/#/c/17488/10

Thanks and Regards,
Kotresh H R and Aravinda VK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20170627/31dd54b3/attachment-0001.html>

More information about the Gluster-devel mailing list