RE: Number of buckets/partitions of dshash

2018-11-06 Thread Ideriha, Takeshi
>From: Kyotaro HORIGUCHI [mailto:horiguchi.kyot...@lab.ntt.co.jp] >> This would cause some waste of memory on DSA because some partitions >> (buckets) >is allocated but not used. >> >> So I'm thinking that current dshash design is still ok but flexible >> size of partition is appropriate for some

Re: Number of buckets/partitions of dshash

2018-10-21 Thread Kyotaro HORIGUCHI
Hello. At Fri, 12 Oct 2018 06:19:12 +, "Ideriha, Takeshi" wrote in <4E72940DA2BF16479384A86D54D0988A6F1C1779@G01JPEXMBKW04> > Hi, let me clarify my understanding about the $title. > > It seems that the number of hash partitions is fixed at 128 in dshash and > right now we cannot change it

Number of buckets/partitions of dshash

2018-10-11 Thread Ideriha, Takeshi
Hi, let me clarify my understanding about the $title. It seems that the number of hash partitions is fixed at 128 in dshash and right now we cannot change it unless dshash.c code itself is changed, right? According to the comment of dshash.c, DSHASH_NUM_PARTITIONS could be runtime parameter in f