From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 2C95A21F229 for ; Mon, 7 Apr 2014 10:58:41 -0700 (PDT) Received: by mail-we0-f178.google.com with SMTP id u56so7156464wes.9 for ; Mon, 07 Apr 2014 10:58:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=WK3ArFlu7MyE25Uj+xMyxWQ0X5EuU8tF/V7YmP7Mg+0=; b=Y2fZCVKOkU+fCHJge+XEGya7bkBvQU279vqqxvC8W0jeulyp0j9YDzUkyEWgpGhSFH lo1rzl/4u1B/+mxeeTyzbA+9g4VTLXunvV1GD1F9Ed9CzqX9+Akx9zTS+BWjIXiQoQyc PJD6Y2+ZWsnrcCypuRn9G+HgaxLjwa1WP3L/kl4bTulUXRJ0Y/7EpJYwIF0VhFtWs0/k Ny9DP3eYkuzXO/GEzqx74h1w3jrasrOcGy/vxwGqdo55JJTzYTPO64c2Q1A3YR+0pBUT IRvmBObwJblmSxFv+mQchnMzKYyWYo7FusniGVE32wmUldaf/No7bOdgj5dJx9kUxZW5 DcBA== MIME-Version: 1.0 X-Received: by 10.180.188.169 with SMTP id gb9mr26657593wic.17.1396893519803; Mon, 07 Apr 2014 10:58:39 -0700 (PDT) Received: by 10.216.177.10 with HTTP; Mon, 7 Apr 2014 10:58:39 -0700 (PDT) In-Reply-To: <5342C3E1.8070306@etorok.net> References: <533FC007.3010700@etorok.net> <87a9bxqjv4.fsf@toke.dk> <5342C3E1.8070306@etorok.net> Date: Mon, 7 Apr 2014 10:58:39 -0700 Message-ID: From: Dave Taht To: =?ISO-8859-1?Q?T=F6r=F6k_Edwin?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "cerowrt-devel@lists.bufferbloat.net" Subject: Re: [Cerowrt-devel] cerowrt-3.10.34-4 dev build released 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: Mon, 07 Apr 2014 17:58:44 -0000 On Mon, Apr 7, 2014 at 8:27 AM, T=F6r=F6k Edwin wrote: > On 04/07/2014 05:45 PM, Toke H=F8iland-J=F8rgensen wrote: >> T=F6r=F6k Edwin writes: >> >>> I hacked the script to set the interface name for iptables to pppoe-ge0= 0 (not for uci, cause uci >>> doesn't have an enabled=3D1 for pppoe): >>> setup_ipset >>> + interface=3Dpppoe-ge00 >>> setup_iptables "$interface" >>> >>> Any idea how to fix this properly without hardcoding the interface >>> name? >> >> Editing the config file by hand should be sufficient rather than having >> to edit the script (it's in /etc/config/bcp38). > > Thanks, that worked (both for /etc/config/bcp38 and /etc/config/sqm). > The netperf streams seem to be better separated with pppoe-ge00.png Um, er, I actually found the differences between these two graphs quite puzzling, as the fq_codel tc filter is supposed to be able to decode ppp frames and access the 5 tuple including the diffserv bits, which seems to be happening in the sqm-over-ppp case but not the sqm-over-normal-ethernet-with-encap-traffic case. It may be that the iptables rules don't work right on encapsulated traffic. :grump: Did you use simple.qos in both cases? It might be easier to see a difference in performance if you use a closer server like demo.tohojo.dk. This is the relevant bit from net/core/flow_dissector.c case __constant_htons(ETH_P_PPP_SES): { struct { struct pppoe_hdr hdr; __be16 proto; } *hdr, _hdr; hdr =3D skb_header_pointer(skb, nhoff, sizeof(_hdr), &_hdr)= ; if (!hdr) return false; proto =3D hdr->proto; nhoff +=3D PPPOE_SES_HLEN; switch (proto) { case __constant_htons(PPP_IP): goto ip; case __constant_htons(PPP_IPV6): goto ipv6; default: return false; } } > >> >> The interface selection box in the GUI does not show pppoe-ge00 as an >> option? > > It shows only @ge00, ge00, and se00, and selecting the @ge00 doesn't help= . > > Best regardsm > --Edwin > > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel > --=20 Dave T=E4ht NSFW: https://w2.eff.org/Censorship/Internet_censorship_bills/russell_0296_= indecent.article