[142976] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: high performance open source DHCP solution?

daemon@ATHENA.MIT.EDU (Florian Weimer)
Mon Jul 25 07:00:28 2011

From: Florian Weimer <fweimer@bfk.de>
To: Jimmy Hess <mysidia@gmail.com>
Date: Mon, 25 Jul 2011 10:59:44 +0000
In-Reply-To: <CAAAwwbUDj4yGudeVRohAPywj=39ZjMApt0KYJw8Wa2sZhb9qcg@mail.gmail.com>
	(Jimmy Hess's message of "Wed, 20 Jul 2011 17:28:38 -0500")
Cc: nanog@nanog.org
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org

* Jimmy Hess:

> On Wed, Jul 20, 2011 at 9:31 AM, Nick Colton <ncolton@allophone.net> wrot=
e:
>> We were seeing similar issues with low leases, moved the dhcpd.leases fi=
le
>> to a ramdisk and went from ~200 leases per second to something like 8,000
>> leases per second.
>
> Yes, blame RFC2131's requirement that a DHCP server is to ensure that
> any lease is committed to persistent storage, strictly before a DHCP
> server is allowed to send the response to the request; a fully
> compliant DHCP server with sufficient traffic is bound by the disk I/O
> rate of underlying storage backing its database.

Come on, group commits are not that difficult to implement.  With them,
you should be able to obtain 8 kHZ leases on a single spindle (assuming
the per-client data is just a few hundred bytes), without violating the
RFC requirement.

-- =

Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstra=DFe 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99

_____
NANOG mailing list
NANOG@nanog.org
https://mailman.nanog.org/mailman/listinfo/nanog

home help back first fref pref prev next nref lref last post