[Linux Kernel Network Bug Report] tcp_rmem[1] is not resulting in correct TCP window size since 3.4

From: Zhibin Liu <hidden>
Date: 2021-02-10 15:35:21

Hi, Linux Kernel Networking TCP maintainers,

tcp_rmem[1] has value 87380, which will result in a window of 65535
when tcp_adv_win_scale=2. (87380 - 87380/2^2 = 65535)

But since 3.4, commit b49960a05e32121d29316cfdf653894b88ac9190,
tcp_adv_win_scale default value is changed from 2 to 1.

The change causes tcp_rmem[1] with value 87380 will result in a window
of 43690, instead of expected 65535.

Now the doc Documentation/networking/ip-sysctl.rst is still mentioning
87380 tcp_rmem[1] will result in 65535 window size with default
tcp_adv_win_scale.

tcp_rmem[1] should be changed from 87380 to 131070.
At same time, tcp_rmem[2] should be changed from "between 87380B and
6MB" to "between 131070B and 6MB".

I've fired a bug (id 211677) in Kernel Bugzilla, too. The bug is
assigned to Stephen Hemminger [off-list ref] instead of
you. So I sent this mail.

Thanks,

Zhibin Liu | Software Engineer | zhibinliu@google.com | +86 21 6123 2345
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help