Skip to content

Instantly share code, notes, and snippets.

@catid
Created June 21, 2018 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save catid/58665435d5ee610b69b22621736da227 to your computer and use it in GitHub Desktop.
Save catid/58665435d5ee610b69b22621736da227 to your computer and use it in GitHub Desktop.
{d-Connection} [127.0.0.1:1] Connection::OnTimeSync(ReceivedBPS=105088, LossRate=0)
{d-Connection} [127.0.0.1:1] Connection::OnTimeSync(ReceivedBPS=129088, LossRate=0)
{d-Connection} [127.0.0.1:1] Connection::OnTimeSync(ReceivedBPS=129088, LossRate=0)
{d-Connection} [127.0.0.1:1] Connection::OnTimeSync(ReceivedBPS=113088, LossRate=0.125)
{d-Connection} [127.0.0.1:1] Connection::OnTimeSync(ReceivedBPS=113088, LossRate=0.125)
{d-Connection} [127.0.0.1:1] Connection::OnTimeSync(ReceivedBPS=98944, LossRate=0.230469)
Got router queue filling up simulation working
My crappy current CC increases the send rate to 129KB/S until the queue fills up (filling 1 MB buffer) and data starts dropping off the back
Then CC detects loss and sets send rate lower
99KB/S (router throughput is 100KB/S)
Seems to work okay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment