wondershaper icon indicating copy to clipboard operation
wondershaper copied to clipboard

Add support for latency (enhancement)

Open giusepperagusa opened this issue 5 years ago • 4 comments

When simulating WAN links it would be useful to be able to add a fixed latency along the lines of:

tc qdisc add dev eth0 root netem delay 100ms

giusepperagusa avatar Mar 21 '19 09:03 giusepperagusa

I'm exactly needing that to simulate Antarctica bad network conditions: 100kbps up/down and 500ms latency.

LeOSW42 avatar Jul 03 '19 19:07 LeOSW42

+1 for packets latency/delay.

RussellBradley avatar Jul 24 '19 22:07 RussellBradley

tc does latency, so it could be integrated in wondershaper. I'm open to PRs, but it should be separately configurable from limiting, which is the primary use case.

magnific0 avatar Mar 31 '20 15:03 magnific0

@magnific0 The netem command is classless, Do you know how to set the latency in tc class? I can not find the corresponding documents for it now.

lionkunonly avatar Dec 31 '20 07:12 lionkunonly