[bind10-dev] optimization: use some additional polling in SyncUDPServer
Michal 'vorner' Vaner
michal.vaner at nic.cz
Thu Jul 5 07:23:16 UTC 2012
Hello
On Wed, Jul 04, 2012 at 08:25:53PM +0200, Shane Kerr wrote:
> A related risk is overflowing kernel UDP buffers because of this
> delay; for example if we are getting IPv4 queries at a rate 10x that of
> IPv6, then there might be enough IPv6 queries to keep us iterating for
> 4 or 5 queries when 40 or 50 pile up on the IPv4 side.
I think this concern is a false one. This optimisation would pick up an IPv6
query only in case it is already waiting in the input buffer, not wait for it.
So we are not talking about a rate at which they come, but about a rate of
answering the queries.
Assuming answering an IPv6 query is as fast as answering IPv4 one, if we got 40
or 50 queries while answering 4 or 5, it would be the same for 4 or 5 IPv4
queries, so we would be 10 times slower than we have to be.
With regards
--
chown -R us $BASE
Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20120705/f4939a5d/attachment-0001.bin>
More information about the bind10-dev
mailing list