Skip to content

Instantly share code, notes, and snippets.

@you21979
Last active September 18, 2019 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save you21979/e9cd4f50f213f7228e1ef6f7fa24e7f8 to your computer and use it in GitHub Desktop.
Save you21979/e9cd4f50f213f7228e1ef6f7fa24e7f8 to your computer and use it in GitHub Desktop.
congestion_control

Table

OS NewReno CTCP DCTCP HTCP CUBIC BBR setting
windows xp ●※ - - - - - -
windows7/vista ●※ - - - - netsh int tcp set global congestionprovider=
windows10 - - ●※ - netsh interface tcp set supplemental internet congestionprovider=
windowsSV2012 - ●※ - - netsh interface tcp set supplemental internet congestionprovider=
freebsd8.3 ●※ - - - net.inet.tcp.cc.algorithm=
freebsd9.2 ●※ - - - net.inet.tcp.cc.algorithm=
freebsd11 ●※ - - net.inet.tcp.cc.algorithm=
freebsd12 ●※ - net.inet.tcp.cc.algorithm=
linux - - - ●※ net.ipv4.tcp_congestion_control=
VMWare ESXi ●※ - - - - default tcp stack

※はデフォルト

NewReno

  • 広帯域・高遅延環境には適していない(WIFI/10gbeなどには向かない)
  • パケロスがある環境でスループットが落ちにくい

Cubic

  • 高速ネットワーク環境に適し、立ち上がりがゆっくりで公平性を保つ(専有しすぎない)

HTCP

  • 高速ネットワーク環境に適する
  • ネットワークを専有する傾向がある

CTCP

  • 高速ネットワーク環境に適し帯域が空いているときに速度を稼ぐ
  • 空いている帯域をパケロスするまで試すNewRenoと相性が悪い

freebsd

/boot/loader.conf

  • cc_dctcp_load="YES"
  • cc_htcp_load="YES"

https://fasterdata.es.net/host-tuning/freebsd/ https://wiki.ninth-nine.com/FreeBSD/%EF%BC%B4%EF%BC%A3%EF%BC%B0%E8%BC%BB%E8%BC%B3%E5%88%B6%E5%BE%A1

HTCP派とDCTCP派に別れてるらしい

@you21979
Copy link
Author

you21979 commented Sep 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment