Re: Large TCP send socket buffer optimizations

2007-03-01 Thread Andre Guibert de Bruet
On Mar 1, 2007, at 11:40 AM, Andre Oppermann wrote: 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. > > W

Re: Large TCP send socket buffer optimizations

2007-03-01 Thread Andre Oppermann
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 t

Re: Large TCP send socket buffer optimizations

2007-03-01 Thread Andrew Gallatin
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 > s

Re: Large TCP send socket buffer optimizations

2007-03-01 Thread Robert Watson
On Thu, 1 Mar 2007, Andre Oppermann wrote: With the TCP socket buffer autosizing and generally larger socket buffers for high bandwidth and high delay connections tcp_output() has become increasingly inefficient for sending segments. For every segment sent it is traversing the entire socket b

Large TCP send socket buffer optimizations

2007-03-01 Thread Andre Oppermann
With the TCP socket buffer autosizing and generally larger socket buffers for high bandwidth and high delay connections tcp_output() has become increasingly inefficient for sending segments. For every segment sent it is traversing the entire socket buffer mbuf chain until it finds the offset to c