Load times for Large Subnets

Larry Apolonio isc-dhcp at rh73.com
Tue Oct 9 23:35:02 UTC 2007


David W. Hankins wrote:

>On Tue, Oct 09, 2007 at 03:41:49PM -0700, Larry Apolonio wrote:
>  
>
>>Oct  9 15:40:25 dhcp-amd dhcpd: Lease IP hash:  Contents/Size (%): 
>>410524/20000003 (2%). Min/max: 0/1
>>Oct  9 15:40:26 dhcp-amd dhcpd: Lease UID hash: Contents/Size (%): 
>>200000/20000003 (0%). Min/max: 0/101
>>Oct  9 15:40:26 dhcp-amd dhcpd: Lease HW hash:  Contents/Size (%): 
>>200000/20000003 (0%). Min/max: 0/1
>>    
>>
>
>Much better.
>
>Can you try with the default hash size?  I want to see what min/max
>lines up at.
>
>  
>
Here it with the default settings
Oct  9 16:17:36 dhcp-amd dhcpd: Internet Systems Consortium DHCP Server 
V3.1.0
Oct  9 16:17:36 dhcp-amd dhcpd: Copyright 2004-2007 Internet Systems 
Consortium.
Oct  9 16:17:36 dhcp-amd dhcpd: All rights reserved.
Oct  9 16:17:36 dhcp-amd dhcpd: For info, please visit 
http://www.isc.org/sw/dhcp/
Oct  9 16:17:36 dhcp-amd dhcpd: DHCP name hash: Contents/Size (%): 
95/401 (23%). Min/max: 0/2
Oct  9 16:17:36 dhcp-amd dhcpd: DHCP code hash: Contents/Size (%): 
95/254 (37%). Min/max: 0/1
Oct  9 16:17:36 dhcp-amd dhcpd: NWIP name hash: Contents/Size (%): 11/17 
(64%). Min/max: 0/2
Oct  9 16:17:36 dhcp-amd dhcpd: NWIP code hash: Contents/Size (%): 11/17 
(64%). Min/max: 0/1
Oct  9 16:17:36 dhcp-amd dhcpd: FQDN name hash: Contents/Size (%): 8/13 
(61%). Min/max: 0/2
Oct  9 16:17:36 dhcp-amd dhcpd: FQDN code hash: Contents/Size (%): 8/13 
(61%). Min/max: 0/1
Oct  9 16:17:36 dhcp-amd dhcpd: VIVCO name hash: Contents/Size (%): 
1/127 (0%). Min/max: 0/1
Oct  9 16:17:36 dhcp-amd dhcpd: VIVCO code hash: Contents/Size (%): 
1/127 (0%). Min/max: 0/1
Oct  9 16:17:36 dhcp-amd dhcpd: VIVSO name hash: Contents/Size (%): 
1/127 (0%). Min/max: 0/1
Oct  9 16:17:36 dhcp-amd dhcpd: VIVSO code hash: Contents/Size (%): 
1/127 (0%). Min/max: 0/1
Oct  9 16:17:36 dhcp-amd dhcpd: ISC name hash: Contents/Size (%): 2/3 
(66%). Min/max: 0/1
Oct  9 16:17:36 dhcp-amd dhcpd: ISC code hash: Contents/Size (%): 2/3 
(66%). Min/max: 0/1
Oct  9 16:17:36 dhcp-amd dhcpd: Relay Agent name hash: Contents/Size 
(%): 5/11 (45%). Min/max: 0/1
Oct  9 16:17:36 dhcp-amd dhcpd: Relay Agent code hash: Contents/Size 
(%): 5/11 (45%). Min/max: 0/1
Oct  9 16:17:36 dhcp-amd dhcpd: Server-Config Option name hash: 
Contents/Size (%): 52/106 (49%). Min/max: 0/3
Oct  9 16:17:36 dhcp-amd dhcpd: Server-Config Option code hash: 
Contents/Size (%): 52/106 (49%). Min/max: 0/1
Oct  9 16:32:09 dhcp-amd dhcpd: Wrote 0 deleted host decls to leases file.
Oct  9 16:32:09 dhcp-amd dhcpd: Wrote 0 new dynamic host decls to leases 
file.
Oct  9 16:32:11 dhcp-amd dhcpd: Wrote 200000 leases to leases file.
Oct  9 16:32:11 dhcp-amd dhcpd: Host HW hash:   Contents/Size (%): 
6/22501 (0%). Min/max: 0/2
Oct  9 16:32:11 dhcp-amd dhcpd: Host UID hash:  (unused)
Oct  9 16:32:11 dhcp-amd dhcpd: Lease IP hash:  Contents/Size (%): 
410524/100003 (410%). Min/max: 2/7
Oct  9 16:32:11 dhcp-amd dhcpd: Lease UID hash: Contents/Size (%): 
200000/100003 (199%). Min/max: 0/101
Oct  9 16:32:11 dhcp-amd dhcpd: Lease HW hash:  Contents/Size (%): 
200000/100003 (199%). Min/max: 0/5
Oct  9 16:32:11 dhcp-amd dhcpd: Listening on 
LPF/eth0/00:1d:60:31:57:cc/LEVIATHAN
Oct  9 16:32:11 dhcp-amd dhcpd: Sending on   
LPF/eth0/00:1d:60:31:57:cc/LEVIATHAN
Oct  9 16:32:11 dhcp-amd dhcpd: Sending on   Socket/fallback/fallback-net
Oct  9 16:32:11 dhcp-amd dhcpd: dhcpd startup succeeded

What do those IP hash %ages mean? 

Larry Apolonio



More information about the dhcp-users mailing list