Re: Adding xxhash to gluster code base

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sure, I can do that.

On Tue, Jun 27, 2017 at 12:28 PM, Amar Tumballi <atumball@xxxxxxxxxx> wrote:


On Tue, Jun 27, 2017 at 12:25 PM, Kotresh Hiremath Ravishankar <khiremat@xxxxxxxxxx> wrote:
Hi,

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 xxHash
and added following files to gluster code base with the patch [4]

    BSD 2-Clause License:
       contrib/xxhash/xxhash.c
       contrib/xxhash/xxhash.h

    GPL v2 License:
       tests/utils/xxhsum.c

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.


Just one comment at the moment. Please separate out the patches as

1. changes to get xxHash into the project
2. gfid2path feature (which can use xxHash code).

That way it will be very easy to review, and also to maintain in future.

-Amar

 

--
Thanks and Regards,
Kotresh H R and Aravinda VK



--
Amar Tumballi (amarts)



--
Thanks and Regards,
Kotresh H R
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux