7 Feb
2017
7 Feb
'17
7:43 a.m.
On 02/06/2017 07:41 PM, Nathan Neulinger wrote:
It's also very easy to add latency for testing as well.
Example to add 10ms to ixgbe0 interface:
tc qdisc add dev ixgbe0 root netem delay 10ms limit 200000 and/or tc qdisc change dev ixgbe0 root netem delay 10ms limit 200000
If you do "netem delay Xms Yms" it will do X +/- Yms roughly.
Note that this is on output only, so is typically more useful on a device in between endpoints. Also, don't use it on a high traffic link, it'll have difficulties.
Thank you! I'll have a read about tc as well!
-- Nathan