Thread (10 messages) flat view 10 messages, 4 authors, 2005-05-25

Re: [PATCH] Super TSO v3

From: "David S. Miller" <davem@davemloft.net>
Date: 2005-05-24 02:29:17

From: Herbert Xu <herbert@gondor.apana.org.au>
Subject: Re: [PATCH] Super TSO v3
Date: Tue, 24 May 2005 10:32:08 +1000
On Mon, May 23, 2005 at 07:19:43PM +0000, David S. Miller wrote:
quoted
The guts of the logic is in tcp_tso_should_defer().  And
when dealing with a TSO frame, tcp_write_xmit() calls
this instead of tcp_nagle_test().  So you can view this
deferral as a sort of "TSO Nagle".
Should we skip this step if the socket has Nagle turned off?
No, that Nagle is trying to achieve something different (optimize
request/response type communication) compared to what we're doing
here (optimizing the number of transmit calls per byte during a
bulk transfer, without allowing the congestion window to empty
too much).
Also why are we doing this check in tcp_push_one? The only
way we can get there is if the TSO goal has been reached
or there is out-of-band stuff to send.
Good point, that copy of the test can be removed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help