lkml.org 
[lkml]   [2008]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [tbench regression fixes]: digging out smelly deadmen.
    On Thu, Oct 30, 2008 at 11:15:26AM -0700, Stephen Hemminger (shemminger@vyatta.com) wrote:
    > Has anyone looked into the impact of port randomization on this benchmark.
    > If it is generating lots of sockets quickly there could be an impact:
    > * port randomization causes available port space to get filled non-uniformly
    > and what was once a linear scan may have to walk over existing ports.
    > (This could be improved by a hint bitmap)
    >
    > * port randomization adds at least one modulus operation per socket
    > creation. This could be optimized by using a loop instead.

    In this benchmark only two sockets are created per client for the whole
    run, so this should not have any impact on performance.

    --
    Evgeniy Polyakov


    \
     
     \ /
      Last update: 2008-10-30 19:43    [W:0.020 / U:1.036 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site