Reducing select() usage under load

Arnt Gulbrandsen arnt at gulbrandsen.priv.no
Wed May 24 18:54:25 UTC 2006


Aaron Hopkins writes:
> On Wed, 24 May 2006, Miek Gieben wrote:
>>  We've tested the speed improvements in our DISTEL testlab and we did 
>>  see some gain, but not the amount of improvement you noticed.
>
> Which OS were you testing on, by chance? The numbers I mentioned were 
> for Linux 2.4, but I've since tested on Linux 2.6 and found the patch 
> offering less of an improvement. The patch will matter more on OSes 
> where select() is more expensive.

It should also offer more of an improvement when nsd is listening to 
more sockets. In general.

Arnt



More information about the nsd-users mailing list