Simulate latency on network connection

This entry is recently updated at May 31, 2017


For testing purposes, we may want to add latency to an interface. This way we could simulate how an application would respond to the extra delay.


tc qdisc add dev eth0 root netem delay 80ms 15ms distribution normal

The tc command can be used to add latency on an interface for testing purposes

What do you think, was this useful?


Share with friends:
Share on Twitter