On Sat, 2017-03-18 at 20:07 -0600, Subash Abhinov Kasiviswanathan wrote:
> > Less than 1% performance improvement in a benchmark doesn't justify
> > the complexity of the patch. Eric's hypothesis was that an unconnected
> > UDP socket may show issues because of cache misses in look-ups due to
> > so many different sources. This should be fairly easy to benchmark by
> > randomly setting source address in your test (IP any and routing my
> > need to be set appropriately).
> > 
> 
> With different source addresses, a larger increase is seen here
> (633->654Mbps).

Yes, also note the extra cache line might be not noticed if the cpu can
keep in its caches the whole UDP hash table (1 MB on 64bit kernels for
the portion touched in IP early demux)

So the exact slowdown depends on CPU generation / cache sizes.



Reply via email to