Created
September 21, 2023 18:57
-
-
Save aolo2/3732759267d5cebc9c651458e3038a32 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
sudo tc qdisc add dev lo root netem loss 10% delay 150ms 100ms distribution normal # tune these numbers to make it less or more terrible | |
sudo ifconfig lo mtu 1500 # like on the internet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment