HomeFreeBSD

MFC 361400: Do not try to fill socket send buffer to the last byte.

Description

MFC 361400: Do not try to fill socket send buffer to the last byte.

Setting so_snd.sb_lowat to at least 1/8 of the socket buffer size allows
send thread more actively use PDUs coalescing, that dramatically reduces
TCP lock congestion and number of context switches, when the socket is
full and PDUs are small.

Details

Provenance
mavAuthored on
Parents
rS361735: MFC 361400: Do not try to fill socket send buffer to the last byte.
Branches
Unknown
Tags
Unknown