HomeFreeBSD

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

Description

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.

MFC after: 1 week
Sponsored by: iXsystems, Inc.

Details

Provenance
mavAuthored on
Parents
rS361399: Disable nullfs cacheing on top of fusefs
Branches
Unknown
Tags
Unknown