OpenBSD cvs log

created 2021-02-07T11:09:27Z
begin 2021-02-03T11:34:24Z
end 2021-02-03T13:40:06Z
path src/sys
commits 1

date 2021-02-03T13:40:06Z
author jan
files src/sys/netinet/tcp_input.c log diff annotate
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@