Maximizing TCP Throughput in Linux: Understanding and Tuning Send and Receive Buffers

Benjamin Cane
6 min readJan 2
Photo by Zac Harris on Unsplash

A standard performance tuning recommendation for distributed systems running on Linux is to adjust the tcp_rmem and tcp_wmem Kernel tunables. But what are these? Why are they important? How do they work?

In today's article, we are going to explore the tcp_rmem (Receive Buffer) and tcp_wmem (Send Buffer) work and how to…

Benjamin Cane

Building payments systems at American Express. Author ( Open-source contributor (