Thomas Spatzier wrote:
On Thursday 23 September 2004 15:03, Nivedita Singhvi wrote:
Er, no, TSO does not require zerocopy..
Right, sendfile does not have any effect.
I played around a bit with the TCP_MAXSEG socket option and with
sender and receiver MTU sizes but nothing helps. The stack does
not give me large packets if I switch on the NETIF_F_TSO flag.
There must be some magic I'm missing.
Thomas.
Which kernel are you using? Recent kernels will obey
TCP congestion windows, so they will not off the bat
hand you a large packet, the TCP congestion window
has to grow to larger than the mss to hand you a larger
than normal segment.
thanks,
Nivedita
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html