Re: >256 fd patch...

bofh@snoopy.virtual.net.au
Mon, 24 Mar 97 20:09:03 +1000


>> Most importantly, select() isn't critical path code!!! If the execution
>> time of select gets increased by (say) 20 or 40 cycles, no one is going
>> to be able to notice the difference. We're talking nanoseconds
>> here.....

>Hmm. I've a machine that's calling select around 3000 times per second...
>For me, select is very nearly critical path code.

If select wastes 20 cyles every time it's called, and it's called 3000 times per second then 60000 cycles will be wasted. This is less than 0.1% CPU time on all recent CPUs.

Is wasting 0.1% of CPU time an issue?

Russell Coker