坏鸡鸡 发表于 2025-4-7 10:13:37

搬瓦工三网那台质量不好啊?

<i class="pstatus"> 本帖最后由 坏鸡鸡 于 2025-4-7 11:59 编辑 </i><br />
<br />
我上个月买了的,但是一直拖到昨天才安装使用<br />
<br />
感觉质量不好啊,晚上网速 才 38Mbps . 而且打开推特也卡的不得了,还没有一般的美国 IP<br />
<br />
是我还没有优化吗,我还没有优化,只是安装<br />
<br />
需要那些优化处理<br />
<br />
优化了一下,有点改善,多看几天<br />
<br />
<br /><div class="blockcode"><div id="code_hUC"><ol><li># 内存管理优化 - 为网络性能优化 - 对1G 内存 SSD 优化<br /><li>vm.swappiness = 5&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;# 极低的swappiness,优先使用物理内存<br /><li>vm.overcommit_memory = 1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;# 允许内存过度分配<br /><li>vm.dirty_bytes = 16777216&nbsp; &nbsp;&nbsp; &nbsp; # 16MB脏页上限(SSD系统)<br /><li>vm.dirty_background_bytes = 8388608&nbsp;&nbsp;# 8MB后台刷新阈值<br /><li>vm.vfs_cache_pressure = 50&nbsp; &nbsp;&nbsp; &nbsp;# 增加inode和dentry缓存<br /><li><br /><li># 文件句柄和网络基础 - 针对高吞吐量<br /><li>fs.file-max = 1048576&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;# 仍然保持较高值<br /><li>net.core.netdev_max_backlog = 16384&nbsp;&nbsp;# 加倍,处理网络流量突发<br /><li>net.core.somaxconn = 32768&nbsp; &nbsp;&nbsp; &nbsp;# 最大连接队列,加倍<br /><li>net.core.optmem_max = 65536&nbsp; &nbsp;&nbsp;&nbsp;# 每个套接字的辅助缓冲区大小<br /><li><br /><li># TCP 缓冲区优化 - 最大化吞吐量<br /><li>net.core.rmem_max = 16777216&nbsp; &nbsp; # 还原到16MB<br /><li>net.core.wmem_max = 16777216&nbsp; &nbsp; # 还原到16MB<br /><li>net.core.rmem_default = 262144&nbsp;&nbsp;# 较大的默认值<br /><li>net.core.wmem_default = 262144&nbsp;&nbsp;# 较大的默认值<br /><li>net.ipv4.tcp_rmem = 4096 87380 16777216&nbsp;&nbsp;# 最大接收缓冲区<br /><li>net.ipv4.tcp_wmem = 4096 65536 16777216&nbsp;&nbsp;# 最大发送缓冲区<br /><li>net.ipv4.tcp_mem = 786432 1048576 1572864&nbsp;&nbsp;# 较大TCP内存分配<br /><li><br /><li># TCP 性能优化 - 极致性能设置<br /><li>net.ipv4.tcp_syncookies = 1<br /><li>net.ipv4.tcp_tw_reuse = 1&nbsp; &nbsp;&nbsp; &nbsp; # 重用TIME_WAIT连接<br /><li>net.ipv4.tcp_fin_timeout = 10&nbsp; &nbsp;# 快速关闭连接<br /><li>net.ipv4.tcp_keepalive_time = 600&nbsp;&nbsp;# 较快检测死连接<br /><li>net.ipv4.tcp_keepalive_probes = 3&nbsp;&nbsp;# 探测次数<br /><li>net.ipv4.tcp_keepalive_intvl = 15&nbsp;&nbsp;# 探测间隔<br /><li>net.ipv4.ip_local_port_range = 1024 65535&nbsp;&nbsp;# 最大端口范围<br /><li>net.ipv4.tcp_max_syn_backlog = 16384&nbsp;&nbsp;# 最大半连接数<br /><li>net.ipv4.tcp_max_tw_buckets = 65536&nbsp;&nbsp;# 高TIME_WAIT容忍度<br /><li>net.ipv4.tcp_rfc1337 = 1&nbsp; &nbsp;&nbsp; &nbsp; # TIME_WAIT安全处理<br /><li>net.ipv4.tcp_slow_start_after_idle = 0&nbsp;&nbsp;# 禁用空闲后慢启动<br /><li>net.ipv4.tcp_no_metrics_save = 1&nbsp;&nbsp;# 不保存连接指标<br /><li><br /><li># BBR 和现代特性 - 最佳流量算法<br /><li>net.ipv4.tcp_congestion_control = bbr<br /><li>net.core.default_qdisc = fq&nbsp; &nbsp;&nbsp;&nbsp;# BBR配套队列算法<br /><li>net.ipv4.tcp_fastopen = 3&nbsp; &nbsp;&nbsp; &nbsp; # 启用TCP快速打开<br /><li>net.ipv4.tcp_mtu_probing = 1&nbsp; &nbsp; # 启用MTU探测<br /><li>net.ipv4.tcp_ecn = 2&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;# 激进使用ECN<br /><li>net.ipv4.tcp_low_latency = 1&nbsp; &nbsp; # 优先低延迟<br /><li>net.ipv4.tcp_window_scaling = 1 # 启用窗口缩放<br /><li>net.ipv4.tcp_timestamps = 1&nbsp; &nbsp;&nbsp;&nbsp;# 启用时间戳<br /><li>net.ipv4.tcp_sack = 1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; # 选择性确认<br /><li>net.ipv4.tcp_fack = 1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; # 转发确认<br /><li>net.ipv4.tcp_dsack = 1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;# 重复SACK<br /><li>net.ipv4.tcp_adv_win_scale = 2&nbsp;&nbsp;# 更激进的窗口缩放<br /><li>net.ipv4.udp_mem = 65536 131072 262144&nbsp;&nbsp;# UDP内存控制<br /><li><br /><li># 额外优化<br /><li>net.ipv4.route.flush = 1&nbsp; &nbsp;&nbsp; &nbsp; # 路由缓存更新<br /><li>net.ipv4.tcp_thin_linear_timeouts = 1&nbsp;&nbsp;# 改进小报文超时处理<br /><li>net.ipv4.tcp_limit_output_bytes = 262144&nbsp;&nbsp;# 增加输出限制<br /><li>复制代码</ol></div><em onclick="copycode($('code_hUC'));">复制代码</em></div>

taryn 发表于 2025-4-7 10:17:15

因为你是一头坏鸡鸡

Today-to-Lsp 发表于 2025-4-7 11:03:19

因为你是一头坏鸡鸡 +2

史提芬周 发表于 2025-4-7 11:05:31

可能人太多了,都挤一起了

Fix 发表于 2025-4-7 11:43:07

被恶毒的 aff mjj 欺骗了

wcwcxiaobin 发表于 2025-4-7 11:54:41

我用Hysteria2 用着用着会断网的情况。不知道是不是限流了。。。现在用naiveproxy把还是

坏鸡鸡 发表于 2025-4-7 11:58:12

<i class="pstatus"> 本帖最后由 坏鸡鸡 于 2025-4-7 11:59 编辑 </i><br />
<br />
我优化了一下,开启了下面的...有点改善,但是多看几天<br />
<br />

nn小来LO 发表于 2025-4-7 17:34:13

我体验也不杂样,没感觉出CN2的优越性。。。反而163白天,反应飞快。
页: [1]
查看完整版本: 搬瓦工三网那台质量不好啊?