Performance-oriented Congestion Control.
This is a Linux kernel module implementing the PCC Allegro and PCC Vivace.
master branch is for PCC Allegro, the first version of PCC, introduced in NSDI15.
vivace branch is for PCC Vivace, the second version of PCC, introduced in NSDI18.
git
and clone this repository.cd src
make
sudo insmod tcp_pcc.ko
Now you can use pcc
as a congestion algorithm:
import socket
TCP_CONGESTION = getattr(socket, 'TCP_CONGESTION', 13)
s = socket.socket()
s.setsockopt(socket.IPPROTO_TCP, TCP_CONGESTION, 'pcc')
# Use s
src/tcp_pcc.c