看板 Linux 關於我們 聯絡資訊
由於我是個萬年新手,對這些東西實在是不了解, 今天在中國的論壇看到了 TCP BBR 這個關鍵字, 全名為 Bottleneck Bandwidth and RTT, 這是一款 Google 所開發的擁塞控制演算法, 可以一定程度上的增加網路速度、穩定度, 並已經收錄於 Linux 4.9 中,請問有使用心得嗎? 開啟辦法(從網路上抄來的)(2017/02/18 更新): 1. 更新 kernel 到 4.9 2. 加載內核模塊 建立 /etc/modules-load.d/80-bbr.conf 並在內容輸入 tcp_bbr 3. 使用 BBR 演算法 sudo sysctl net.ipv4.tcp_congestion_control=bbr 4. 設定每次開機自動啟用 建立 /etc/sysctl.d/80-bbr.conf 並在內容輸入 net.ipv4.tcp_congestion_control = bbr 5. 執行 lsmod | grep bbr (有看到 tcp_bbr 就代表 bbr 已經啟動) -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.171.87.10 ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1487323783.A.288.html ※ 編輯: s9209122222 (118.171.87.10), 02/17/2017 17:30:45
s9209122222: 我免空下載東西的速度變得很穩定,不曉得是不是因為 02/17 17:31
s9209122222: 這個 02/17 17:31
※ 編輯: s9209122222 (118.171.87.10), 02/17/2017 17:41:47
filiaslayers: 我的arch還在4.4。有distro在用4.9的kernel了? 02/17 18:20
s9209122222: 我用 antergos 就寫 4.9.8 啊 02/17 19:02
s9209122222: 你是用到 lts 的版本? 02/17 19:05
sasoric: arch已經到4.9.8了,4.4應該是用到lts 02/17 21:20
tjjh89017: 這是送端才有差別的 02/17 22:44
joe820730: to filiaslayers: 可以自己更新,看distro有沒有package 02/18 02:54
joe820730: 比如我Ubuntu 16.04就正在用4.9.10的kernel 02/18 02:55
selnec: 114宿網用BBR下載沒辦法吃飽頻寬 用CUBIC倒是可以 02/18 11:13
filiaslayers: 想到我是跑在raspberry pi上,所以沒這麼新XD 02/18 12:02
danny8376: 除非你是上傳爆了 不然自己改BBR其實沒啥效果 02/18 13:06
viat: 推,馬上實驗看看:) 02/18 19:52
s9209122222: 話說這樣不會開機自動開啟耶 02/18 20:01
CP64: 忘了在 /etc/modprobe.d 底下加 conf 了吧 02/18 21:04
※ 編輯: s9209122222 (114.47.156.118), 02/18/2017 21:48:04
s9209122222: 更新做法,問了那位才知道之前的做法是過時的 02/18 21:49
obitop2012: BBR我有拿來放在公司實際上線,效能和封包阻塞情況改 02/23 21:46
obitop2012: 善超級多,我用centos 7再升核心4.9,目前已用超過一 02/23 21:46
obitop2012: 個月,沒出問題過,只有開機時sshd很慢才啟動(不知道 02/23 21:46
obitop2012: 是不是安全因素考量) 02/23 21:46