Created
September 16, 2011 15:50
-
-
Save pixelpogo/1222411 to your computer and use it in GitHub Desktop.
How to simulate low bandwidth on mac os x
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
# try | |
# 48kbit/s for Dialup | |
# 64kbit/s for Edge | |
# 384kbit/s for 3G | |
# 768kbit/s for DSL | |
# 1572kbit/s for T1 | |
# | |
# to simulate low bandwidths. | |
# | |
# And: You can play with the delay option. | |
sudo ipfw pipe 1 config bw 64kbit/s plr 0.05 delay 500ms; sudo ipfw add pipe 1 dst-port http | |
# to reset (speedup again) | |
sudo ipfw flush |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment