From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (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 7446A3CB8F for ; Wed, 20 Jan 2016 12:50:31 -0500 (EST) Received: by mail-wm0-x22e.google.com with SMTP id 123so142963111wmz.0 for ; Wed, 20 Jan 2016 09:50:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=dnWz8K6B0zcbk1e5S0kK4SH+LJTxNz3zXwx4eCXhAZ8=; b=YNIsUVQ0/eDjqBmeD/xfbxRXMWKnqQwOeicLE4ygXx9VEFHZnmgNDWaISnMYaTBZe5 j1lL/QAlpO8Stqh/HJjEztA1v/8W5In4onoz+2cXNcx9ZznYy4e2yDwH59Gtk/gpVy6A kO281EcvTQU/nxJOxldkmh0TTEx3hR/bsWHVhqf+DTfwqZIo8MMrZwjgLD8g38iqGP/O o7XqxFP8gQO0pP+tWURSAF0Pb7dAphe6LlMWzva843Q8DJrph8QjIqWuUnUWcOF23PJp ewDKJx3wTBljbi0Ch4/K4LIJ+m6iVT2ovG1P96LthrKHNF8oMOKcCIjCQRF7ZtOv2lh2 AdCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=dnWz8K6B0zcbk1e5S0kK4SH+LJTxNz3zXwx4eCXhAZ8=; b=ddh7036UGXr0GCtjMsBoaq0WifoiVkt6F7oKJ8MUVrWPFpIdCygBbc+QrC4zi4NhpI y1zxH5vlgUbH7zwChDcThqJaO3Jil1Htg4FuOjrMfmMeHTUPfcvKejh0FG2LfC7g4r1N AvYME8c3QA7MbXBKRmDuLNc7ZTKmHEBJREGZCRr22BtKRcjwKdl5BT+eSvgyUe2NG+Uk dGjal2Fhg67soonMJP+JYthmFQ1MxAAlqkMGYvFdu8srT4soC07piFL0zjJaJmphQx94 WXMhHx/kRAV1xQ2xuC8lYxndhmAIG7yHCSP7Y0mm3jr904JZ4/SBpgWeGd3aemdykF4W KKxw== X-Gm-Message-State: AG10YOSkeb/ZgcGKSaZ9IcvTQq45XJKw3616qGxnYv12DnDxQLJLR2LhHeaA3PQ2UX3hQz85uFh0DeW8Vz+T+g== X-Received: by 10.194.7.67 with SMTP id h3mr8569145wja.44.1453312229738; Wed, 20 Jan 2016 09:50:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.129.193 with HTTP; Wed, 20 Jan 2016 09:50:10 -0800 (PST) In-Reply-To: References: <143AE017-AA48-442A-8A95-21CEE60EA27E@gmx.de> <55C85334-20A2-4625-BAD2-71BF536DF19D@burn.net> From: Etienne Champetier Date: Wed, 20 Jan 2016 18:50:10 +0100 Message-ID: To: moeller0 Cc: Brandon Applegate , Bloat@lists.bufferbloat.net Content-Type: multipart/alternative; boundary=047d7b450aa23390590529c79f5a Subject: Re: [Bloat] Getting started with sqm-scripts - latency good, bandwidth decimated X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2016 17:50:31 -0000 --047d7b450aa23390590529c79f5a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, 2016-01-20 18:42 GMT+01:00 moeller0 : > Hi Etienne, > > I could be out to lunch, but I always assumed for virtual interfaces the > txque does not matter as packets are immediate passed to the real interfa= ce. > This was not the case in the past (I remember losing quite some time on this some years ago), but i don't know if it's still the case. 2 choices: tests or read the code :) > > Best Regards > Sebastian > > > On Jan 20, 2016, at 18:09 , Etienne Champetier < > champetier.etienne@gmail.com> wrote: > > > > > > > > 2016-01-20 17:54 GMT+01:00 Brandon Applegate : > > > >> On Jan 20, 2016, at 11:47 AM, Etienne Champetier < > champetier.etienne@gmail.com> wrote: > >> > >> Hi Brandon, > >> > >> e quickly read the thread (maybe too quickly), > >> from what i remember for virtual interface txqueuelen is 0 by default, > so nothing work as expected > >> can you check the txqueuelen with ip -a ? > >> (i've found no reference to txqueuelen in sqm-scripts) > >> > >> see also > >> > https://wiki.openwrt.org/doc/howto/packet.scheduler/packet.scheduler#tips > > > > I haven=E2=80=99t done anything manually to change txqueuelen. Whateve= r is here > is default (1000 on eth) or I assume set by sqm-scripts / tc (32). > > > > I believe this is the output you are looking for: > > > > =E2=80=94 > > > > 1: lo: mtu 65536 qdisc noqueue state UNKNOWN > > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > > 2: eth1: mtu 1500 qdisc fq_codel stat= e > UP qlen 1000 > > link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff > > 3: eth0: mtu 1500 qdisc fq_codel stat= e > UP qlen 1000 > > link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff > > 4: eth0.666@eth0: mtu 1500 qdisc htb > state UP > > link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff > > 5: eth0.10@eth0: mtu 1500 qdisc > noqueue state UP > > link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff > > 6: eth0.11@eth0: mtu 1500 qdisc > noqueue state UP > > link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff > > 7: ifb0: mtu 1500 qdisc noop state DOWN qlen 32 > > link/ether 52:18:cd:a7:ad:71 brd ff:ff:ff:ff:ff:ff > > 8: ifb1: mtu 1500 qdisc noop state DOWN qlen 32 > > link/ether 5e:f0:86:88:8d:8e brd ff:ff:ff:ff:ff:ff > > 11: ifb4eth0.666: mtu 1500 qdisc htb stat= e > UNKNOWN qlen 32 > > link/ether 86:68:83:69:2e:b2 brd ff:ff:ff:ff:ff:ff > > =E2=80=94 > > > > > > no qlen means 0 I think > > maybe try > > ip link set eth0.666 txqueuelen 1000 > > > > _______________________________________________ > > Bloat mailing list > > Bloat@lists.bufferbloat.net > > https://lists.bufferbloat.net/listinfo/bloat > > --047d7b450aa23390590529c79f5a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

2016-01-20 18:42 GMT+01:00 moeller0 <moeller0@gmx.de>:
Hi Etienne,

I could be out to lunch, but I always assumed for virtual interfaces the tx= que does not matter as packets are immediate passed to the real interface.<= br>

This was not the case in the past (I re= member losing quite some time on this some years ago),
but i don't k= now if it's still the case.

2 choices: tests or read = the code :)

=C2=A0

Best Regards
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Sebastian

> On Jan 20, 2016, at 18:09 , Etienne Champetier <champetier.etienne@gmail.com> wrote: >
>
>
> 2016-01-20 17:54 GMT+01:00 Brandon Applegate <brandon@burn.net>:
>
>> On Jan 20, 2016, at 11:47 AM, Etienne Champetier <champetier.etienne@gmail.com> wro= te:
>>
>> Hi Brandon,
>>
>> e quickly read the thread (maybe too quickly),
>> from what i remember for virtual interface txqueuelen is 0 by defa= ult, so nothing work as expected
>> can you check the txqueuelen with ip -a ?
>> (i've found no reference to txqueuelen in sqm-scripts)
>>
>> see also
>> https://wiki.openw= rt.org/doc/howto/packet.scheduler/packet.scheduler#tips
>
> I haven=E2=80=99t done anything manually to change txqueuelen.=C2=A0 W= hatever is here is default (1000 on eth) or I assume set by sqm-scripts / t= c (32).
>
> I believe this is the output you are looking for:
>
> =E2=80=94
>
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKN= OWN
>=C2=A0 =C2=A0 =C2=A0link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:= 00
> 2: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_cod= el state UP qlen 1000
>=C2=A0 =C2=A0 =C2=A0link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff<= br> > 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_cod= el state UP qlen 1000
>=C2=A0 =C2=A0 =C2=A0link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff<= br> > 4: eth0.666@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdi= sc htb state UP
>=C2=A0 =C2=A0 =C2=A0link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff<= br> > 5: eth0.10@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdis= c noqueue state UP
>=C2=A0 =C2=A0 =C2=A0link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff<= br> > 6: eth0.11@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdis= c noqueue state UP
>=C2=A0 =C2=A0 =C2=A0link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff<= br> > 7: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN qlen 3= 2
>=C2=A0 =C2=A0 =C2=A0link/ether 52:18:cd:a7:ad:71 brd ff:ff:ff:ff:ff:ff<= br> > 8: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN qlen 3= 2
>=C2=A0 =C2=A0 =C2=A0link/ether 5e:f0:86:88:8d:8e brd ff:ff:ff:ff:ff:ff<= br> > 11: ifb4eth0.666: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc h= tb state UNKNOWN qlen 32
>=C2=A0 =C2=A0 =C2=A0link/ether 86:68:83:69:2e:b2 brd ff:ff:ff:ff:ff:ff<= br> > =E2=80=94
>
>
> no qlen means 0 I think
> maybe try
> ip link set eth0.666 txqueuelen 1000
>
> _______________________________________________

--047d7b450aa23390590529c79f5a--