Support Gilbert-Elliott packet-loss model#1550
Conversation
|
To address the convo in the previous PR: I didn't change the values for |
b821422 to
af1ecdb
Compare
I've added some |
e85e083 to
ca534eb
Compare
Closes cBournhonesque#1546. Replace LinkConditioner's per-packet drop rate with a two-state Gilbert-Elliott Markov model so simulated packet loss occurs in correlated bursts, matching real packet-loss behavior. Give `LinkConditioner` a good/bad state. A good state denotes the link is healthy and not dropping packets. A bad state denotes the link is dropping a lot of packets. It also opens up the possibility of adding an extra latency to packets during a bad state. Add builder methods to `LinkConditionerConfig` to configure the packet loss model.
ca534eb to
3499bd7
Compare
|
Thanks, looks great |
Closes #1546.
Replace LinkConditioner's per-packet drop rate with a two-state Gilbert-Elliott Markov model so simulated packet loss occurs in correlated bursts, matching real packet-loss behavior.
Give
LinkConditionera good/bad state. A good state denotes the link is healthy and not dropping packets. A bad state denotes the link is dropping a lot of packets. It also opens up the possibility of adding an extra latency to packets during a bad state.Add builder methods to
LinkConditionerConfigto configure the packet loss model.