lkml.org 
[lkml]   [1997]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: >256 fd patch...
    >> 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


    \
     
     \ /
      Last update: 2005-03-22 13:39    [W:0.019 / U:0.628 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site