Re: [Nfs-ganesha-devel] cache and hash and partitions should be primes

2017-06-21 Thread Matt Benjamin
hi bill, inline - Original Message - > From: "William Allen Simpson" > To: "NFS Ganesha Developers" > Sent: Wednesday, June 21, 2017 4:01:01 AM > Subject: [Nfs-ganesha-devel] cache and hash and partitions should be primes > > Was looking through n

[Nfs-ganesha-devel] cache and hash and partitions should be primes

2017-06-21 Thread William Allen Simpson
Was looking through ntirpc cache/hash sizes, and discovered that: svc_auth_des.c has 64 (not prime); authgss_hash.c has 255 (not prime). Configurable number of partitions aren't checked for primality. So began checking Ganesha as well. src/support/export_mgr.c has a nice size of 769, appropriat