Skip to content

Instantly share code, notes, and snippets.

@fsamareanu
fsamareanu / cake_debian.txt
Created October 9, 2019 09:53
My short cake crash course
#Set cake as qdisc and bbr as your congestion control (either from shell or add them to sysctl.conf or your OS equivalent)
sysctl net.core.default_qdisc=cake
sysctl net.ipv4.tcp_congestion_control=bbr
#Replace the root qdisc to cake diffserv4 (we get 4 distinct queues this way). Replace enp0231f6 with your interface name:
/sbin/tc qdisc replace root dev enp0s31f6 cake ethernet diffserv4 wash
#Check output. Queue priority (from lowest to highest) is bulk<best effort<video<voice. It should be similar to below one: