<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class="">
<div><br class=""><blockquote type="cite" class=""><div class="">On 4 Aug 2022, at 21.05, Greg Sloop <<a href="mailto:gregs@sloop.net" class="">gregs@sloop.net</a>> <<a href="mailto:gregs@sloop.net" class="">gregs@sloop.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I'm sure others will have some useful suggestions - but I do know that improving disk I/O can seriously improve performance.<div class="">I'm not sure if that will improve restart/start/reload times.</div><div class=""><br class=""></div><div class="">It would be pretty easy to test though, say swapping for an SSD/Nvme.</div><div class="">(Or if you like living dangerously, putting the disk in RAM.)</div><div class=""><br class=""></div><div class=""><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 4, 2022 at 12:02 PM Shane Merritt <<a href="mailto:smerritt@ua.edu" class="">smerritt@ua.edu</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US" style="overflow-wrap: break-word;" class="">
<div class="gmail-m_-5155258274762577964WordSection1"><p class="MsoNormal"><span style="font-size:11pt" class="">I have a failover pair of DHCP servers running 4.4.2-P1 that handle a DHCP for a very large wireless network (>75k devices active at any time). The leases file on these boxes is around 200 megabytes. The
problem I am having is when I need to make a change and restart, DHCPD takes over 25 minutes to start giving out addresses. I assume this is due to the large lease file. I see that there are tons of leases in the file that are “binding state free” that in
some cases are months old. Are there any suggestions to improve this situation?<u class=""></u></span></p></div></div></blockquote></div></div></blockquote><div><br class=""></div>AFAIK the server will fill its internal tables with every possible lease, most of them empty or marked free. I could be wrong about this.</div><div><br class=""></div><div>So the question is how large your net blocks are?</div><div><br class=""></div><div>If you e.g. have a /8 address space, that would amount to the server having to populate 2^24 (16 mill) entries in its internal table and do what ever processing etc it does for each entry. This may take time.</div><div><br class=""><blockquote type="cite" class=""><div class=""><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US" style="overflow-wrap: break-word;" class=""><div class="gmail-m_-5155258274762577964WordSection1"><p class="MsoNormal"><span style="font-size:11pt" class=""><u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11pt" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal"><span style="font-size:11pt" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal" style="margin-bottom:12pt"><span style="font-family: "Times New Roman", serif;" class="">Shane Merritt
</span><span style="" class=""><u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman", serif;" class="">Office of Information Technology
<br class="">
The University of Alabama<br class="">
<a href="mailto:smerritt@ua.edu" target="_blank" class="">smerritt@ua.edu</a> </span><span style="" class=""><u class=""></u><u class=""></u></span></p><p class="MsoNormal"><b class=""><span style="font-family:Helvetica;color:rgb(153,0,0)" class=""> </span></b><u class=""></u><u class=""></u></p>
</div>
</div>
-- <br class="">
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank" class="">https://www.isc.org/contact/</a> for more information.<br class="">
<br class="">
dhcp-users mailing list<br class="">
<a href="mailto:dhcp-users@lists.isc.org" target="_blank" class="">dhcp-users@lists.isc.org</a><br class="">
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank" class="">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br class="">
</blockquote></div>
-- <br class="">ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" class="">https://www.isc.org/contact/</a> for more information.<br class=""><br class="">dhcp-users mailing list<br class=""><a href="mailto:dhcp-users@lists.isc.org" class="">dhcp-users@lists.isc.org</a><br class="">https://lists.isc.org/mailman/listinfo/dhcp-users<br class=""></div></blockquote></div><br class=""></body></html>