Created
February 1, 2012 18:15
-
-
Save timf/1718425 to your computer and use it in GitHub Desktop.
Throttling BW and latency on OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ipfw pipe 1 config bw 150kbit/s delay 150ms | |
sudo ipfw add pipe 1 dst-ip 0.0.0.0/0 | |
# do slow stuff | |
# done: | |
sudo ipfw flush |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment