For applications that don't send as aggressively, this helps ensure we still grow the local window by taking its low watermark into account. By default, SO_SNDLOWAT is a negligable 1024. When this number is bumped up for efficiency on a large number of sessions, it starts to affect the ability for growth in the current code.
sbruno hiren gnn
- Group Reviewers
- rS320614: Add a sysctl to toggle the use of the sockets LOWAT when calculating auto…
We have been running with this SO_SNDLOWAT modification at LLNW for a few years
It may be more proper for this to go into tflag, but the downsides there is then it won't apply to existing sessions and we consume more space (which is low with the current padding). Open to any opinions, as locally we just have it hard coded on in any case.