CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/09/02 07:28:21
Modified files:
sys/kern : uipc_socket2.c
Log message:
After allocating a single 64 KB mbuf cluster in sosend(), the sending
socket buffer had no space anymore. The default mbuf space limit
was only 32 KB. So no more data from user-land was accepted. As
tcp_output() keeps the mbuf cluster for retransmits, it will be
freed only after all ACKs have been received. That has killed our
TCP send performance totally. To allow cycling through the mbufs
periodically, we need space for at least 3 of them.
Reported by Andreas Bartelt; testing with mikeb@; OK mikeb@ claudio@