大网数据广告活动
服务器运维问答

TCP congestion control for IPv6 under Linux

· 52CE 我爱测

I can type echo bbr > /proc/sys/net/ipv4/tcp_congestion_control to change the congestion control algorithm for the TCP connections running over IPv4, but how do I do it for those arriving over IPv6? Does the above command set it …

问题原文

原帖链接 · pQd · CC BY-SA 3.0

I can type

echo bbr > /proc/sys/net/ipv4/tcp_congestion_control

to change the congestion control algorithm for the TCP connections running over IPv4, but how do I do it for those arriving over IPv6?

Does the above command set it for both?

已采纳解答

原帖链接 · Alexandre Fenyo · CC BY-SA 4.0

Yes, both sysctl (net.ipv4.tcp_allowed_congestion_control and net.ipv4.tcp_available_congestion_control) and /proc entry (/proc/sys/net/ipv4/tcp_congestion_control) apply to every IPv4 and IPv6 TCP connections. The ipv4 part in the sysctl and /proc names does not mean that this is only for TCP over ipv4. This only means that the algorithm is implemented in the linux/net/ipv4 subdirectory of the kernel source tree: in Linux, TCP over IPv6 implements the congestion control by making calls to the implementation for IPv4, since there is no difference between TCP congestion control in TCP over IPv4 and TCP over IPv6.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-08-05)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。