dhcp 3.1.3 failover performance questions
K. K. Tam
k.k.tam at ust.hk
Thu Mar 18 08:22:20 UTC 2010
We are running DHCP 3.1.3 failover with 2 Intel Xeon Servers (Dual-Core
and 2G RAM) on CentOS 4.7 and syslog on local disk. The set up is
13000 leases and 50% of them with default lease time from 30 minutes to
and the rest is about 2 days. The normal lease usage ranges from 40% to
the total leases and 50% of them are in the relative short lived subnets.
Lately we have some dhcp performance degradation problem after adding
lived subnets, which is about 1500 leases and included in total leases
The IP request cycle (dhcpdiscover, dhcpoffer,dhcprequest and dhcpack)
can be from
10 to 12 seconds in high usage period, which the total lease usage is
50%. Normally the IP request cycle can be done in 1 to 3 seconds.
Based on the
dhcpd log, we observe that the time between dhcpoffer and dhcprequest is
to 7 seconds in the relatively high usage period and is undesirable.
I have the following questions to seek your advices.
1. Is there anything we can do to improve the performance, say back to
the direction of hardware resources and/or software configuration?
Currently the number of messages printed in the dhcpd log file is
about 20 lines
2. For the capacity planning, we might consider to add more leases to
future. Is there any guideline on the hardware resources planning?
3. There is no performance difference between dhcp server with VLAN
trunk port support
and with the dhcp relay agent (on the network router). Is that correct?
In our environment, we have a couple of VLANs set up and they are
normal in high
usage period yet they have relatively few leases to support.
Thanks in advance.
K. K. Tam
More information about the dhcp-users