<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<P style="MARGIN: 0in 0in 0pt" class=MsoPlainText><FONT face="Courier New">Manik,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoPlainText><o:p><FONT face="Courier New"> </FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoPlainText><FONT face="Courier New"><SPAN style="mso-spacerun: yes"> </SPAN>Being new here, I'm not totally sure of JBoss' stance on including other libraries. Hadoop has a Murmur2 hash implementation that I have been using at work for a while with no problems. Just a thought.<o:p></o:p></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoPlainText><o:p><FONT face="Courier New"> </FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoPlainText><FONT face="Courier New">-- Dave Marion<o:p></o:p></FONT></P>
<BR> <BR>
> From: manik@jboss.org<BR>> Date: Thu, 13 Jan 2011 19:35:44 +0000<BR>> To: infinispan-dev@lists.jboss.org<BR>> Subject: [infinispan-dev] MurmurHash fixes<BR>> <BR>> Guys,<BR>> <BR>> The MurmurHash2 impl we have in 4.2.0 is buggy in that my translation from the original C source was faulty and it effectively hashes over just 31 bits instead of 32. It means the distribution result isn't as good as it could be.<BR>> <BR>> Now it isn't that easy for me to just *fix* this in 4.2.1, since it means keys mapped to nodes using 4.2.0 may not map to the same node in 4.2.1.<BR>> <BR>> So here is what I propose:<BR>> <BR>> 1) Fix it in 4.2.x as MurmurHash2A<BR>> 2) Use MurmurHash2A by default, *unless* a config flag is provided that forces the use of MurmurHash2. (e.g., <hash function="MurmurHash2">)<BR>> <BR>> This will even give us the ability to use MurmurHash3 in 5.0 when we have it.<BR>> <BR>> WDYT?<BR>> <BR>> Cheers<BR>> Manik<BR>> --<BR>> Manik Surtani<BR>> manik@jboss.org<BR>> twitter.com/maniksurtani<BR>> <BR>> Lead, Infinispan<BR>> http://www.infinispan.org<BR>> <BR>> <BR>> <BR>> <BR>> _______________________________________________<BR>> infinispan-dev mailing list<BR>> infinispan-dev@lists.jboss.org<BR>> https://lists.jboss.org/mailman/listinfo/infinispan-dev<BR>                                            </body>
</html>