CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2021/02/03 06:40:06

Modified files:
        sys/netinet    : tcp_input.c 

Log message:
Turns off the direct ACK on every other segment

The kernel uses a huge amount of processing time for sending ACKs to the sender
on the receiving interface.  After receiving a data segment, we send out two
ACKs.  The first one in tcp_input() direct after receiving.  The second ACK is
send out, after the userland or the sosplice task read some data out of the
socket buffer.  Thus, we save some processing time and improve network
performance.

Longer tested by sthen@
OK claudio@

Reply via email to