arch升级kernel为lts版

sudo pacman -S linux-lts linux-lts-headers
sudo pacman -Rsn linux linux-headers
sudo grub-mkconfig -o /boot/grub/grub.cfg
reboot

====================
开启BBR
sudo sysctl net.ipv4.tcp_congestion_control=bbr

永久开启BBR
# Load the BBR kernel module.
echo “tcp_bbr” > /etc/modules-load.d/modules.conf

# Set the default congestion algorithm to BBR.
echo “net.core.default_qdisc=fq” > /etc/sysctl.d/bbr.conf
echo “net.ipv4.tcp_congestion_control=bbr” >> /etc/sysctl.d/bbr.conf

发表评论

Fill in your details below or click an icon to log in:

WordPress.com 徽标

You are commenting using your WordPress.com account. Log Out /  更改 )

Google photo

You are commenting using your Google account. Log Out /  更改 )

Twitter picture

You are commenting using your Twitter account. Log Out /  更改 )

Facebook photo

You are commenting using your Facebook account. Log Out /  更改 )

Connecting to %s


%d 博主赞过: