[nsd-users] NSD TCP performance

Aaron Hopkins lists at die.net
Fri Nov 9 18:47:59 UTC 2007


On Fri, 9 Nov 2007, W.C.A. Wijngaards wrote:
>> A quick and simple, not very portable, fix in the meantime might be to
>> use the TCP_CORK/TCP_NOPUSH socket option (depending on platform) on the
>> socket.
>
> Yes, this is what NSD does. Simple code.

Is this in something newer than 3.0.6?  At least in the 3.0.6 source
grepping for CORK or NOPUSH results in no hits.  Using them would solve the
problem of an extra round-trip to answer every TCP query at the expense of
two extra system calls per response.

                                     -- Aaron



More information about the nsd-users mailing list