Venkatesh Srinivas (S2 '18) & Sid Shanker (S1'18)
Sender
Sender
Router
Receiver
1 GB/s
1 GB/s
1 GB/s
Sender
Link
Packets waiting to send
Router
TCP tries to estimate the bandwidth of a link.
Packet loss (bathtub overflowing)
Sending window over time
No active queue management
RED
Drop packets before the queue is full
RED
Drop packets before the queue is full
Maybe.
Packet
Packet
Packet :(
Packet
Packet
Packet
Packet
Packet
Packet
Packet
A queue using RED
With traditional droptail
With RED
But, sometimes, this would happen:
We only measure the average queue length when an item is added to the queue.
Turns out, the "spike" was having a HUGE impact on our average queue depth.