mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 14:52:34 +00:00
tcp: Revert "tcp: remove header prediction"
This reverts commit45f119bf93
. Eric Dumazet says: We found at Google a significant regression caused by45f119bf93
tcp: remove header prediction In typical RPC (TCP_RR), when a TCP socket receives data, we now call tcp_ack() while we used to not call it. This touches enough cache lines to cause a slowdown. so problem does not seem to be HP removal itself but the tcp_ack() call. Therefore, it might be possible to remove HP after all, provided one finds a way to elide tcp_ack for most cases. Reported-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c1d2b4c3e2
commit
31770e34e4
8 changed files with 223 additions and 6 deletions
|
@ -184,7 +184,9 @@ enum
|
|||
LINUX_MIB_DELAYEDACKLOST, /* DelayedACKLost */
|
||||
LINUX_MIB_LISTENOVERFLOWS, /* ListenOverflows */
|
||||
LINUX_MIB_LISTENDROPS, /* ListenDrops */
|
||||
LINUX_MIB_TCPHPHITS, /* TCPHPHits */
|
||||
LINUX_MIB_TCPPUREACKS, /* TCPPureAcks */
|
||||
LINUX_MIB_TCPHPACKS, /* TCPHPAcks */
|
||||
LINUX_MIB_TCPRENORECOVERY, /* TCPRenoRecovery */
|
||||
LINUX_MIB_TCPSACKRECOVERY, /* TCPSackRecovery */
|
||||
LINUX_MIB_TCPSACKRENEGING, /* TCPSACKReneging */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue