@ユメイ1 月前
12/17
00:54
echo "net.inet.tcp.sendspace=1048576
net.inet.tcp.recvspace=1048576
net.inet.tcp.win_scale_factor=8
net.inet.tcp.autorcvbufmax=33554432
net.inet.tcp.autosndbufmax=33554432
net.inet.udp.maxdgram=65500
kern.ipc.somaxconn=2048" | sudo tee /etc/sysctl.conf
流媒体解锁查询
bash <(curl -L -s https://git.io/JRw8R) -E en
realm一键配置脚本
wget -N https://raw.githubusercontent.com/qqrrooty/EZrealm/main/realm.sh && chmod +x realm.sh && ./realm.sh
一键xray-vless-reality
bash <(curl -L https://github.com/crazypeace/xray-vless-reality/raw/main/install.sh)
一键ss-plugins
wget -N --no-check-certificate -c -t3 -T60 -O ss-plugins.sh https://git.io/fjlbl
chmod +x ss-plugins.sh
./ss-plugins.sh
一键测试脚本bench.sh
wget -qO- bench.sh | bash
NextTrace
curl nxtrace.org/nt |bash
nexttrace --fast-trace --tcp
wsreset -i
Change TCP congestion control to BBR:
netsh int tcp set supplemental Template=Internet CongestionProvider=bbr2
netsh int tcp set supplemental Template=Datacenter CongestionProvider=bbr2
netsh int tcp set supplemental Template=Compat CongestionProvider=bbr2
netsh int tcp set supplemental Template=DatacenterCustom CongestionProvider=bbr2
netsh int tcp set supplemental Template=InternetCustom CongestionProvider=bbr2
Verify
Get-NetTCPSetting | Select SettingName, CongestionProvider
dd if=/dev/zero of=/var/swap bs=1k count=1024k
chmod 600 /var/swap
mkswap /var/swap
swapon /var/swap
echo '/var/swap swap swap default 0 0' >> /etc/fstab
swapoff /var/swapfile
rm -rf /var/swapfile
删除/etc/fstab文件条目/var/swapfile swap swap defaults 0 0
dism /Online /Set-ReservedStorageState /State:Disabled
dism /Online /Get-ReservedStorageState