seeking info on max.rate supported by dhcp.relay in v22.214.171.124
aland at deployingradius.com
Thu Mar 28 12:26:17 CET 2019
On Mar 28, 2019, at 7:19 AM, Katuri, Vikram <Vikram.Katuri at viasat.com> wrote:
> May I please know the max.supported rate for dhcp.relay(with load balancing) in version 3.0.19.
There is no pre-set limit on the rate of DHCP relay. It depends on the OS, CPU, etc.
> I see its getting capped at 5000 incoming discovers and only
> 2500 of them are able to complete the 4 way DORA(via dhcp.relay).
> 3700 with discover and request alone handled by the dhcp.relay and request and ack directly sent by the dhcp server to the client bypassing the relay(by not filling in the gateway address, server sends to the ciaddr).
> Setup details:
> 5 clients running perfdhcp each trying dhcp transactions at a rate of 1000/sec.
> Dhcp.relay on v3.0.19 running on c4.2xlarge instance (8 CPUs) on AWS cloud, 3 v4 dhcp servers behind it running on t2.medium instances on AWS cloud.
That seems a bit low. I've tested v3 at 20K packets/s for RADIUS proxying.
One thing you may try changing is the "recv_buff" setting in the listener. See sites-available/default for an example. The same setting should work for DHCP, too.
The default kernel receive buffer size is set very low. If you increase it, UDP performance can go up significantly.
More information about the Freeradius-Users