From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-x22f.google.com (mail-ie0-x22f.google.com [IPv6:2607:f8b0:4001:c03::22f]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id BE2B421F1F5 for ; Sun, 16 Jun 2013 14:26:57 -0700 (PDT) Received: by mail-ie0-f175.google.com with SMTP id a13so5294194iee.20 for ; Sun, 16 Jun 2013 14:26:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=UkxECrRlTVW+rDiwqdB6xeSi32ZR9Hbyx3QKOr56IuY=; b=v8O6AJPHqI7pxUCN/C2ARe6kRjID8NqiZhIqDWiqq0ehYmiu61N9Gr8Fo7KTst45La H5UHlg22+2eRM/7aVNkc14pyYlP8h48CGDaHw7D/F8VtMYosJlynQk4k8o99e9BLKQjq wYWlh11IvDlaqdnSF5AwrRcwY8HpP/6KQ0+oxpIx8/Tinpg13ABO9bF0gFHkniuMk/C+ fZfqjrx1e6hwgXcXkTe5ebMN3f0hbjG551k4EpAueswOLOrkPXWXOQ2vq0M4mrZeJvdW tV4qXbJYRUwbjgNxhJ8nwSvCLM1NbrKaAaPSMDL/MncEEvmpnvE8oxIRLM+d4Egbrn2p dAmw== MIME-Version: 1.0 X-Received: by 10.50.108.114 with SMTP id hj18mr3526578igb.87.1371418017108; Sun, 16 Jun 2013 14:26:57 -0700 (PDT) Received: by 10.64.45.137 with HTTP; Sun, 16 Jun 2013 14:26:57 -0700 (PDT) Date: Sun, 16 Jun 2013 14:26:57 -0700 Message-ID: From: Dave Taht To: cerowrt-devel@lists.bufferbloat.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [Cerowrt-devel] rounding errors in sch_pie currently X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2013 21:26:58 -0000 In my modified pie a rounding error is introduced with the HZ values cerowrt uses (I think it's 250, but would have to check) target=3D20 becomes target=3D23 target=3D10 becomes target=3D11 I still haven't got around to checking the code against the paper, which I'll start doing this week. root@CMTS: tc qdisc add dev se00 root pie root@CMTS: tc qdisc show dev se00 qdisc pie 8001: root refcnt 2 limit 1000p target 23 tupdate 31 alpha 2 beta 20 bytemode 1 ecn root@CMTS:~# tc qdisc del dev se00 root root@CMTS:~# tc qdisc add dev se00 root pie target 10 root@CMTS:~# tc qdisc show dev se00 qdisc pie 8002: root refcnt 2 limit 1000p target 11 tupdate 31 alpha 2 beta 20 bytemode 1 ecn --=20 Dave T=E4ht Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.= html