The congestion control plane is a new API for writing congestion control algorithms.
It provides three benefits:
Supporting Sophisticated Algorithms. Manymoderncongestioncontrol proposals use sophisticated processing to make control decisions. It is often difficult to implement these algorithms within the “datapath” - any module that provides data transmission and reception interfaces between higher-layer applications and lower-layer network hardware. CCP allows algorithm implementations to take advantage of useful user-space libraries independent of the target datapath.
Write-Once, Run-Anywhere. Recently, newdatapaths have emerged, leading to the “matrix of sadness,” where congestion control algorithm developers must re-implement their algorithms anew on each datapath. CCP provides a runtime for algorithms which interfaces with each datapath, so the same algorithm code runs in multiple datapaths without modification.
New Capabilities. It is difficult to implement new congestion control capabilities such as the congestion manager in current datapaths. CCP allows developers to add these capabilities without datapath modification.
To get started using CCP, please see our guide. It provides detailed setup instructions
for running existing algorithms on CCP and a tutorial for writing new algorithms.
If you have questions, you can reach us at firstname.lastname@example.org.
We have implemented several components in the CCP ecosystem:
Portus is a user-space CCP agent. It provides a runtime and API for developers to implement congestion control algorithms.
It is published with documentation on crates.io.
libccp is a convenience library which, given an IPC mechanism and the definitions of various congestion control primitives in the context of a datapath, can communicate with Portus to run a congestion control algorithm.
‘ccp-kernel` implements a Linux kernel TCP datapath using the pluggable TCP API.
ccp-mtcp is a fork of mTCP, a TCP stack on top of DPDK, which implements CCP support.
ccp-quic hosts a patch to QUIC which implements CCP support.
Finally, we have implemented or are aware of various congestion control algorithm implementations (bbr, copa, nimbus and more). If you have implemented a congestion control algorithm using CCP, or are considering doing so, please get in touch with us!
CCP algorithms perform similarly to their in-datapath counterparts. While we evaluate this more thoroughly in the paper, it it simplest to view this demo, comparing the Linux kernel implementation of BBR: