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
rS361734: MFC r361604: Make struct ctl_be_lun first element of struct ctl_be_*_lun.
Branches
Unknown
Tags
Unknown