mpLinkCharacteristics: use pfifo in parallel with netem
This commit is contained in:
parent
1995269614
commit
2ae9b7a008
@ -38,6 +38,9 @@ class MpLinkCharacteristics:
|
|||||||
cmd = cmd + " handle " + MpLinkCharacteristics.tcNetemHandle
|
cmd = cmd + " handle " + MpLinkCharacteristics.tcNetemHandle
|
||||||
cmd = cmd + " netem " + n.cmd + " delay " + self.delay + "ms"
|
cmd = cmd + " netem " + n.cmd + " delay " + self.delay + "ms"
|
||||||
cmd = cmd + " rate " + self.bandwidth + "mbit && "
|
cmd = cmd + " rate " + self.bandwidth + "mbit && "
|
||||||
|
cmd = cmd + " tc qdisc add dev " + ifname + " "
|
||||||
|
cmd = cmd + " parent " + MpLinkCharacteristics.tcNetemHandle
|
||||||
|
cmd = cmd + " pfifo limit " + self.queueSize + " && "
|
||||||
cmd = cmd + " true &"
|
cmd = cmd + " true &"
|
||||||
return cmd
|
return cmd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user