0

I want to emulate large buffer delay on a specific interface. I have a simple dumbbell topology like:

PC1   eth0  <-----------------------> eth0   PC2

It would be good if I ping PC1 from PC2, the latency about 1ms, but when I start a download the latency grow up to a specific value (which calculated from RTT and BDP). The naive approach (tc netem delay) won't work in this case because this not behaves like a buffer delay (more like a propagation delay)

Thanks for the help!

SPYFF
  • 3
  • 3

1 Answers1

0

With tc and a simple fifo queue, you can use tc qdisc add dev eth0 parent X:Y handle Z: pfifo limit 10000 to set a fifo queue with a 10000 packets length.

setenforce 1
  • 1,200
  • 6
  • 10