mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
tcp: increase tcp_limit_output_bytes default value to 4MB
Last change happened in 2018 with commit c73e5807e4
("tcp: tsq: no longer use limit_output_bytes for paced flows")
Modern NIC speeds got a 4x increase since then.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250513193919.1089692-10-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
a00f135cd9
commit
9ea3bfa61b
|
|
@ -1099,7 +1099,7 @@ tcp_limit_output_bytes - INTEGER
|
|||
limits the number of bytes on qdisc or device to reduce artificial
|
||||
RTT/cwnd and reduce bufferbloat.
|
||||
|
||||
Default: 1048576 (16 * 65536)
|
||||
Default: 4194304 (4 MB)
|
||||
|
||||
tcp_challenge_ack_limit - INTEGER
|
||||
Limits number of Challenge ACK sent per second, as recommended
|
||||
|
|
|
|||
|
|
@ -3495,8 +3495,8 @@ static int __net_init tcp_sk_init(struct net *net)
|
|||
* which are too large can cause TCP streams to be bursty.
|
||||
*/
|
||||
net->ipv4.sysctl_tcp_tso_win_divisor = 3;
|
||||
/* Default TSQ limit of 16 TSO segments */
|
||||
net->ipv4.sysctl_tcp_limit_output_bytes = 16 * 65536;
|
||||
/* Default TSQ limit of 4 MB */
|
||||
net->ipv4.sysctl_tcp_limit_output_bytes = 4 << 20;
|
||||
|
||||
/* rfc5961 challenge ack rate limiting, per net-ns, disabled by default. */
|
||||
net->ipv4.sysctl_tcp_challenge_ack_limit = INT_MAX;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user