From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 8B6903B29E for ; Fri, 1 Mar 2019 11:43:21 -0500 (EST) Received: by mail-wm1-x32f.google.com with SMTP id m1so13187783wml.2 for ; Fri, 01 Mar 2019 08:43:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heistp.net; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=2Fy+x4oRGMt8XLdc1r19hUukELV58BnQjGb7aPT/Jtc=; b=IZ9+fSVvSBGznjcjjDsY2ut2YKf3TngBm3e14Yq8FcHqZz6c3/H2jdSYWu64fVbqlV 7l16+CFWkFqiNeQKXEPdPuM0//9vPPpTx72ev1iVmRzVp55893arBMR4Z+MlNrsKfv7e D/uLAwfWOYfPvdsCC9DUswCprn1poS1Y23h7pzcQ/i+/sazWDIyibncoVWiM6yrkT8tt QSLluCXDduEAgv/HAwDw8kqpar0tVmi7SlE8H10/9C8sNLlrEm1j0JGFi+Pa+44Thgd2 5raHzlo6UTQlmXv+qupEmDz25Ns3LJu383iWgd3c8nwI2UGnkFHxlm4K486S9/mupaVD sUdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=2Fy+x4oRGMt8XLdc1r19hUukELV58BnQjGb7aPT/Jtc=; b=WRhvh9RehXKliTqulwm1bfLzFM7ovlmKu/JoPBKGDyJrte2o1yaNSvzpBLbdSTx0BG T2yW9/dS3RA7cbnsR4ElKqaCU0TYYlVJgtPKreQjjunCzg2zbFDKo+o2vc+c0cgRWHD5 iiWE2Vc+feFp/ZaMp4ATDswaI1tZ9aDPZa6blyyC9lepqJSCbOI0FWZqQ2UC3BMBXUDy 67qqEIPmCXrOgriKQTKNaYwzLD3Gmo5BznNHe1sHG/u5+uxb/9zKUwoYT8SkxchUoKOj 2UL0DWOd7XIhREVHBBtdqUICAITWZoJqSeUzZAH9Ofgd/oK8Nr55alAE8Z5SITOFVu4O QYgw== X-Gm-Message-State: APjAAAXbaAQbeDulqPTQyutT7v/xYRX9ysENV8bbUx8DRossnWQa7tF8 DTYaT03lTLHY0K016iatZC7p2g== X-Google-Smtp-Source: APXvYqzO0zu8LsIyITyvsGbKjzbDbLY8ug6APJG+itpYSeelwEmK08UGTu61HgzqRLhXKDtR/1Je0g== X-Received: by 2002:a1c:cb86:: with SMTP id b128mr3718971wmg.46.1551458600495; Fri, 01 Mar 2019 08:43:20 -0800 (PST) Received: from tron.luk.heistp.net (h-1169.lbcfree.net. [185.193.85.130]) by smtp.gmail.com with ESMTPSA id v67sm16208527wmb.9.2019.03.01.08.43.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Mar 2019 08:43:19 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) From: Pete Heist In-Reply-To: Date: Fri, 1 Mar 2019 17:43:18 +0100 Cc: =?utf-8?Q?Toke_H=C3=B8iland-J=C3=B8rgensen?= , Cake List Content-Transfer-Encoding: quoted-printable Message-Id: References: <72193310-7502-47B8-9554-7F8F9FA23204@heistp.net> <874l8mn9iy.fsf@toke.dk> To: Georgios Amanakis X-Mailer: Apple Mail (2.3445.9.1) Subject: Re: [Cake] Upstream submission of dual-mode fairness patch X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 16:43:21 -0000 > On Mar 1, 2019, at 3:40 PM, Georgios Amanakis = wrote: >=20 > Thanks for testing Pete! The unfairness you see occurs if you shape > ingress using ifb on the same interface you shape egress, right? > Sounds puzzling to me, and I don't have an explanation right now. Yes, same interface, so it=E2=80=99s: apu2a eth0 <=E2=80=94> apu1a eth0 / apu1a eth0.3300 <=E2=80=94> apu2b = eth0.3300 Of course, the VLAN interfaces have 4 bytes of extra overhead, which = should be accounted for by ether-vlan. It=E2=80=99s possible there=E2=80=99s some quirkiness here with apu1a, = which has a Realtek Ethernet interface with the r8169 driver. With this = driver, I find that setting rx-vlan-offload off (ethtool -K eth0 rxvlan = off) doubles routed throughput when one-armed routing. That probably = shouldn=E2=80=99t be. Nevertheless, the same thing happens with or = without that offload enabled. Or it=E2=80=99s just something in this old kernel again. If I ever have = a rig like this with a newer kernel I=E2=80=99ll try it.=