netutils-linux icon indicating copy to clipboard operation
netutils-linux copied to clipboard

research: is there a reason to set rx-buffers not to its maximum?

Open strizhechenko opened this issue 7 years ago • 2 comments

In case of (real) forwarding or receiving traffic for local application it's bad idea, because of latency. Question is about the case of just receiving mirror copy of traffic for analyze.

strizhechenko avatar Jun 30 '17 07:06 strizhechenko

Yes, latency. Increasing buffers at every level leads to buffer bloat which heavily impacts latency. Small buffers are enough to catch short bursts while letting higher level protocols (eg TCP) handle congestion gracefully.

See: https://www.bufferbloat.net/projects/bloat/wiki/Introduction/

vincentbernat avatar Jul 16 '17 06:07 vincentbernat

Hi @vincentbernat. Thank you for the link. I added few details about this issue, you absolutely right in cases of just forwarding/receiving traffic into an application.

strizhechenko avatar Sep 29 '17 05:09 strizhechenko