Large TCP send socket buffer optimizations

Andre Oppermann andre at freebsd.org
Thu Mar 1 16:40:47 UTC 2007


Andrew Gallatin wrote:
> Andre Oppermann writes:
>  > This patch solves the problem by maintaining an offset pointer in the socket
>  > buffer to give tcp_output() the closest mbuf right away avoiding the traversal
>  > from the beginning.
>  > 
>  > With this patch we should be able to compete nicely for the Internet land
>  > speed record again.
> 
> Great news.  I will test soon.
> 
> Have you found the bug which makes a freebsd sender spew
> duplicate acks?  This will have a negative affect on
> any benchmarks..

No, not yet.  And my current test environment doesn't lend itself to reproduce
the bug easily.  I'm very likely to need further input from you and will send
you some patches for instrumentation in the near future.

-- 
Andre



More information about the freebsd-net mailing list