logo NodeSeekbeta

瓦工 Mega 调了一下,下载起飞 不过上传咋就这么点?

image
晚高峰也能跑到 18w了

image

把大佬给的脚本优化了一下如下:

cat > /etc/sysctl.conf << EOF
# --- 系统级限制 ---
fs.file-max = 6815744
fs.inotify.max_user_instances = 8192

# --- BBR 核心设置 (关键) ---
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr

# --- 网络核心缓冲 (针对大带宽优化) ---
# 增加缓冲区大小以适配 1Gbps+ 速率
net.core.rmem_max = 67108864
net.core.wmem_max = 67108864
net.core.netdev_max_backlog = 250000
net.core.somaxconn = 4096

# --- TCP 调优 ---
# TCP 内存自动调整范围 (最小 默认 最大)
net.ipv4.tcp_rmem = 4096 87380 67108864
net.ipv4.tcp_wmem = 4096 16384 67108864

# 开启 MTU 探测 (有助于解决部分跨国网络卡死问题)
net.ipv4.tcp_mtu_probing = 1

# 其他优化
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_sack = 1
# 禁用空闲后慢启动 (让连接保持高速,不要休眠后重新慢速爬坡)
net.ipv4.tcp_slow_start_after_idle = 0

# --- IP 转发 (VPN/Docker 必备) ---
net.ipv4.ip_forward = 1
net.ipv4.conf.all.forwarding = 1
net.ipv4.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.default.forwarding = 1
EOF

# 应用更改
sysctl -p
1234
  • @hugo-node #27 贵有贵的道理,不能只看表面,线路,稳定性这些都是价值

  • 晚高峰20万不是常态化么

  • 这么强?晚点我也试试 xhj003 xhj005

  • 本地上传有多少
    不过感觉大妈也这样,上传跑不动
    我移动测速能跑100M,虽然好像只有测速的时候见过百兆上传 xhj027

  • 这个时候,大妈的优势就出来了,用 dmit的 IPv6跑 ,上传比你的数字翻几倍!是没问题的

  • @xiaomonk88 #1 没调之前我最多也就跑到过 8w,一般就四五万

  • 支持

  • 一会试试

  • 好东西,确实提升明显

  • Malibu能用吗?

1234

你好啊,陌生人!

我的朋友,看起来你是新来的,如果想参与到讨论中,点击下面的按钮!

📈用户数目📈

目前论坛共有60108位seeker

🎉欢迎新用户🎉