BBR – buffashe's Blog https://blog.buffashe.com/ 버프애쉬의 블로그 Thu, 30 Jul 2020 05:27:24 +0000 ko-KR hourly 1 https://wordpress.org/?v=5.6 리눅스 서버에 TCP BBR 알고리즘 적용하기 https://blog.buffashe.com/2019/06/applying-tcp-bbr-algorithm-to-linux-server/ Sat, 29 Jun 2019 07:18:16 +0000 https://blog.buffashe.com/?p=160 TCP BBR은 구글에서 개발된 혼잡 제어 알고리즘입니다. YouTube 네트워크에 적용한 결과 평균 4%, 일부 국가에서 14% 이상의 성능 향상이 있었다고 … 더 보기 "리눅스 서버에 TCP BBR 알고리즘 적용하기"

The post 리눅스 서버에 TCP BBR 알고리즘 적용하기 appeared first on buffashe's Blog.

]]>
TCP BBR은 구글에서 개발된 혼잡 제어 알고리즘입니다.

YouTube 네트워크에 적용한 결과 평균 4%, 일부 국가에서 14% 이상의 성능 향상이 있었다고 합니다.
TCP BBR congestion control comes to GCP – your Internet just got faster


서버 준비

적용할 서버에 접속해 커널 버전을 확인합니다.
4.9버전 이상에서만 적용 가능합니다.

$ uname -r
4.15.0-1043-aws

커널 버전이 4.15.0-1043-aws인 경우입니다. (4.15)


4.9버전 미만이라면 업데이트합니다.

$ sudo apt update && sudo apt upgrade

BBR 적용

/etc/sysctl.conf을 편집합니다.

$ sudo nano /etc/sysctl.conf

sysctl.conf의 마지막 줄에

net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr

을 추가하여 저장합니다.


/etc/sysctl.conf의 커널 설정을 적용합니다.

$ sudo sysctl -p
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr

잘 적용되었는지 확인합니다.

$ sudo sysctl -a | grep -E 'bbr|fq'
net.core.default_qdisc = fq
net.ipv4.tcp_allowed_congestion_control = reno cubic bbr
net.ipv4.tcp_available_congestion_control = reno cubic bbr
net.ipv4.tcp_congestion_control = bbr

The post 리눅스 서버에 TCP BBR 알고리즘 적용하기 appeared first on buffashe's Blog.

]]>