Watching performance on a DHCP Server
Larry Apolonio
isc-dhcp at rh73.com
Thu Nov 15 21:55:04 UTC 2007
David W. Hankins wrote:
>On Thu, Nov 15, 2007 at 11:32:52AM -0800, Larry Apolonio wrote:
>
>
>>I thought that LEASE_HASH_SIZE determined the amount of the buckets.
>>But because of the way the hash function, only 65536 buckets can be used.
>>
>>Is this what is going on?
>>
>>
>
>Actually, no, I'm forced to correct myself. That shows me for going
>off what I remember of having worked on this.
>
>The *LEASE* hashes do use a special hash function for ID hashes (the
>client id and hardware addresses) that are bounded to 2^24. I
>remembered the wrong limitation.
>
>
>
So is 16777213 (The largest prime < 2^24) the most buckets you can create?
Thanks,
Larry A
More information about the dhcp-users
mailing list