ansyun / dpdk-ans

ANS(Accelerated Network Stack) on DPDK, DPDK native TCP/IP stack.
https://ansyun.com
BSD 3-Clause "New" or "Revised" License
1.15k stars 322 forks source link

Congestion Control supports #126

Closed up0617 closed 4 years ago

up0617 commented 4 years ago

Hola,

I have several questions about cc supports. 1. In README, ans support reno, cubic, vegas and etc... However, there is no TCP_CONGESTION option in anssock_setsockopt() So, is $ sysctl net.ipv4.tcp_congestion_control=reno the only way to set socket CC?

  1. is there any plan to support BBR CC algorithm? (https://cloud.google.com/blog/products/gcp/tcp-bbr-congestion-control-comes-to-gcp-your-internet-just-got-faster)

Thanks!

bluenet13 commented 4 years ago

Still no interface to change TCP CC.

Will support BBR CC in future.

up0617 commented 4 years ago

Thanks! I'll close the issue!

up0617 commented 4 years ago

Sorry for reopening, So for changing CC, the only way is to change net.ipv4.tcp_congestion_control? or any other configuration in ANS?

I just have a curiosity about ANS reading kernel default configuration as DPDK is Kernel-bypassing.

bluenet13 commented 4 years ago

ANS don't read kernel configuration. ANS has own configuration API.

up0617 commented 4 years ago

Then, what is the CC Configuration API and how can i call? and what is the default CC?

bluenet13 commented 4 years ago

The api sitll not open. Default CC is newreno

up0617 commented 4 years ago

Thanks. Maybe these are the last question!

  1. Is there any other way to change cc but the api?
  2. Then is there any fixed plan(kinda "end of this year") to open the api?
  3. any fixed plan to support BBR?