Re: design for TSO performance fix
From: "David S. Miller" <davem@davemloft.net>
Date: 2005-01-28 05:19:40
From: "David S. Miller" <davem@davemloft.net>
Date: 2005-01-28 05:19:40
On Fri, 28 Jan 2005 12:31:53 +1100 Herbert Xu [off-list ref] wrote:
quoted
2) As a result of #1, all the pcount crap goes away. The need for two MSS state variables (mss_cache, and mss_cache_std) and assosciated complexity is eliminated as well.Does this mean that we'll start counting bytes instead of packets? If not then please let me know on how you plan to do the packet counting.
Things will be same as what we have now, except multi-packet SKBs will no longer exist in the retransmit queue.
The other good thing about this is that if we do this for all packets including non-TSO ones, then the TCP stack doesn't have to own the TCP/IP headers at all. Then we can stop worrying about the TSO/COW mangling.
Hmmm, have to think about that some more.