From 2ae9b7a008e41eab5843ac9cf94d783818165f1c Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Thu, 21 Apr 2016 15:55:40 +0200 Subject: [PATCH] mpLinkCharacteristics: use pfifo in parallel with netem --- src/mpLinkCharacteristics.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mpLinkCharacteristics.py b/src/mpLinkCharacteristics.py index db7a2ec..02af0e2 100644 --- a/src/mpLinkCharacteristics.py +++ b/src/mpLinkCharacteristics.py @@ -38,6 +38,9 @@ class MpLinkCharacteristics: cmd = cmd + " handle " + MpLinkCharacteristics.tcNetemHandle cmd = cmd + " netem " + n.cmd + " delay " + self.delay + "ms" 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 &" return cmd