Skip to content

Instantly share code, notes, and snippets.

@waterlink
Created January 8, 2014 15:55
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 waterlink/8319003 to your computer and use it in GitHub Desktop.
Save waterlink/8319003 to your computer and use it in GitHub Desktop.
emulate increased latency and decreased rate
#!/bin/bash
sudo tc qdisc add dev eth0 root tbf rate 128kbit latency 500ms burst 2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment