From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (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 BD7EA3BA8E for ; Mon, 16 Jul 2018 15:27:58 -0400 (EDT) Received: by mail-lf0-x229.google.com with SMTP id y200-v6so33069927lfd.7 for ; Mon, 16 Jul 2018 12:27:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n9U9X7GHHmin+6xdDbmFyievt3a6ZTKkhqqyteagAK8=; b=lJesbRjyi2d3L48R7rmc9vKqK2MXWhz7l1yUk2cQ9zIJHbp8pVEQtXTP4nYzu5xQzm Uk3LjOaqzJms5fB7j5Kh29MMasi4FmFketzlH13/nsSGh+Le0afeg9lFH/xXoNbk9uKH fEbR71f1Us5+dmSIBUl327fAwYCIcic1vappZdzGLxKA0h0eVDrPl3XUUeaF/ynjAB8/ M5pykzCfWQZYjFhi3FuyBCKUGVw+dGadQ71jIyHI/1ayvA1VKW9ZefrJtnuoIIOzHaku +tCkgeSmscbK0mJIkuL4LtvUulgE2PbX0Tt9OqEZxr/uYjLDFfSKZA0vZXsGDpBsWCKc UWgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n9U9X7GHHmin+6xdDbmFyievt3a6ZTKkhqqyteagAK8=; b=Myrjcm0VlfiDJJq7TgF38GeUkR3wGMmo8o/GQq0lRMzuAB4HSV3V4aoX3JNWgsog0g 1x8aE5Iiyh5k5BOlEn4YQAEwdVmMeTFHh298JVSRlEm08inwv20VrDIXtXjkI6K8HFnX e1zsWTdDB3Vuck7r3hA1Fc0m9EBK9wD9MvuiIbGUDmDYFJFQN2XwEe4dhIupnhfIt/RN 1QewVLPu9g3CO0vy8t4/VyYYipjmE5biQue6FmszB5BAHrQtNceD7lpnNvSjXz8zDgEZ KVCsJFOPVFr2F0StnJxE94oV+ycD7ugjurBWTzrFEofqLvu1dYEikhln/mOutp/kP/PE gr+g== X-Gm-Message-State: AOUpUlF2cLtl5qCsQU7FuCKEGURcrPxB3f2kuRTkwTLbA6t32T5zWksx jdQ9ic3xbvIHyaaPI3sP296zIMx64+8w352ynHU= X-Google-Smtp-Source: AAOMgpe0EoZEokz0yaGohA70epfzY8LrVVgjvBWzTl3Ofstd49Xld8SI8c/C815IcEC+e4U9llHzX3Obc2UMNq1Xjsc= X-Received: by 2002:a19:9e8c:: with SMTP id h134-v6mr11853668lfe.63.1531769277518; Mon, 16 Jul 2018 12:27:57 -0700 (PDT) MIME-Version: 1.0 References: <3E2FE0BD-3A6C-4399-90FB-1334A7A0D962@gmail.com> <87o9f895ei.fsf@toke.dk> <87tvp06y6y.fsf@toke.dk> In-Reply-To: From: Georgios Amanakis Date: Mon, 16 Jul 2018 15:27:47 -0400 Message-ID: To: dag dg Cc: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= , Cake List Content-Type: multipart/alternative; boundary="000000000000aa17c6057122d360" Subject: Re: [Cake] Multiple Hardware Queues 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: Mon, 16 Jul 2018 19:27:59 -0000 --000000000000aa17c6057122d360 Content-Type: text/plain; charset="UTF-8" The docsis option shows up in TC qdisc show as: noatm overhead 18 mpu 64. So I think you are ok. On Mon, Jul 16, 2018, 3:03 PM dag dg wrote: > (sorry for the spam Toke, still getting used to a new email client) > > Thanks for the input, this is pretty much the info I was hoping for. > At this point I'll probably swap out the dual port NIC I have with > something more reasonable and put the i350 to work where its > performance will actually be used. > > Really excited to have cake support in upstream. > > Looking at usage I noticed there were a few cake configuration > parameters I may have missed when setting up my sqm-scripts config. > Right now I'm just using the "piece-of-cake.qos" example, with my > interface config file as: > > # Uplink and Downlink values are in kbps > UPLINK=23000 > DOWNLINK=330000 > > # SQM recipe to use. For more information, see /usr/lib/sqm/*.help > SCRIPT=piece_of_cake.qos > > # Optional/advanced config > > #ENABLED=1 > #QDISC=cake > > #LLAM=tc_stab > #LINKLAYER=none > #OVERHEAD=0 > #STAB_MTU=2047 > #STAB_TSIZE=512 > #STAB_MPU=0 > > #ILIMIT= > #ELIMIT= > #ITARGET= > #ETARGET= > > # ECN ingress resp. egress. Values are ECN or NOECN. > #IECN=ECN > #EECN=ECN > > # Extra qdisc options ingress resp. egress > IQDISC_OPTS="nat docsis ingress" > EQDISC_OPTS="nat docsis ack-filter" > > # CoDel target > #TARGET=5ms > > #ZERO_DSCP_INGRESS=1 > #IGNORE_DSCP_INGRESS=1 > > With the result being: > > qdisc noqueue 0: dev lo root refcnt 2 > qdisc fq_codel 0: dev enp6s0 root refcnt 2 limit 10240p flows 1024 > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc cake 803b: dev enp2s0f0 root refcnt 9 bandwidth 23Mbit > besteffort triple-isolate nat ack-filter split-gso rtt 100.0ms noatm > overhead 18 mpu 64 > qdisc ingress ffff: dev enp2s0f0 parent ffff:fff1 ---------------- > qdisc mq 0: dev enp2s0f1 root > qdisc fq_codel 0: dev enp2s0f1 parent :8 limit 10240p flows 1024 > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: dev enp2s0f1 parent :7 limit 10240p flows 1024 > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: dev enp2s0f1 parent :6 limit 10240p flows 1024 > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: dev enp2s0f1 parent :5 limit 10240p flows 1024 > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: dev enp2s0f1 parent :4 limit 10240p flows 1024 > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: dev enp2s0f1 parent :3 limit 10240p flows 1024 > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: dev enp2s0f1 parent :2 limit 10240p flows 1024 > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: dev enp2s0f1 parent :1 limit 10240p flows 1024 > quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc fq_codel 0: dev tun0 root refcnt 2 limit 10240p flows 1024 > quantum 1500 target 5.0ms interval 100.0ms memory_limit 32Mb ecn > qdisc cake 803c: dev ifb4enp2s0f0 root refcnt 2 bandwidth 330Mbit > besteffort triple-isolate nat wash ingress split-gso rtt 100.0ms noatm > overhead 18 mpu 64 > > I don't fully understand the docsis option, is it supposed to show up > under the tc qdisc show or is it all in the background? I'm just > worried I'm not setting this up properly. > _______________________________________________ > Cake mailing list > Cake@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cake > --000000000000aa17c6057122d360 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The docsis option shows up in TC qdisc show as: noatm ove= rhead 18 mpu 64. So I think you are ok.

On Mon, Jul 16, 2018, 3:03 PM dag dg <dagofthedofg@gmail.com> wrote:
(sorry for the spam Toke, still getting used t= o a new email client)

Thanks for the input, this is pretty much the info I was hoping for.
At this point I'll probably swap out the dual port NIC I have with
something more reasonable and put the i350 to work where its
performance will actually be used.

Really excited to have cake support in upstream.

Looking at usage I noticed there were a few cake configuration
parameters I may have missed when setting up my sqm-scripts config.
Right now I'm just using the "piece-of-cake.qos" example, wit= h my
interface config file as:

# Uplink and Downlink values are in kbps
UPLINK=3D23000
DOWNLINK=3D330000

# SQM recipe to use. For more information, see /usr/lib/sqm/*.help
SCRIPT=3Dpiece_of_cake.qos

# Optional/advanced config

#ENABLED=3D1
#QDISC=3Dcake

#LLAM=3Dtc_stab
#LINKLAYER=3Dnone
#OVERHEAD=3D0
#STAB_MTU=3D2047
#STAB_TSIZE=3D512
#STAB_MPU=3D0

#ILIMIT=3D
#ELIMIT=3D
#ITARGET=3D
#ETARGET=3D

# ECN ingress resp. egress. Values are ECN or NOECN.
#IECN=3DECN
#EECN=3DECN

# Extra qdisc options ingress resp. egress
IQDISC_OPTS=3D"nat docsis ingress"
EQDISC_OPTS=3D"nat docsis ack-filter"

# CoDel target
#TARGET=3D5ms

#ZERO_DSCP_INGRESS=3D1
#IGNORE_DSCP_INGRESS=3D1

With the result being:

qdisc noqueue 0: dev lo root refcnt 2
qdisc fq_codel 0: dev enp6s0 root refcnt 2 limit 10240p flows 1024
quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc cake 803b: dev enp2s0f0 root refcnt 9 bandwidth 23Mbit
besteffort triple-isolate nat ack-filter split-gso rtt 100.0ms noatm
overhead 18 mpu 64
qdisc ingress ffff: dev enp2s0f0 parent ffff:fff1 ----------------
qdisc mq 0: dev enp2s0f1 root
qdisc fq_codel 0: dev enp2s0f1 parent :8 limit 10240p flows 1024
quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: dev enp2s0f1 parent :7 limit 10240p flows 1024
quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: dev enp2s0f1 parent :6 limit 10240p flows 1024
quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: dev enp2s0f1 parent :5 limit 10240p flows 1024
quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: dev enp2s0f1 parent :4 limit 10240p flows 1024
quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: dev enp2s0f1 parent :3 limit 10240p flows 1024
quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: dev enp2s0f1 parent :2 limit 10240p flows 1024
quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: dev enp2s0f1 parent :1 limit 10240p flows 1024
quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc fq_codel 0: dev tun0 root refcnt 2 limit 10240p flows 1024
quantum 1500 target 5.0ms interval 100.0ms memory_limit 32Mb ecn
qdisc cake 803c: dev ifb4enp2s0f0 root refcnt 2 bandwidth 330Mbit
besteffort triple-isolate nat wash ingress split-gso rtt 100.0ms noatm
overhead 18 mpu 64

I don't fully understand the docsis option, is it supposed to show up under the tc qdisc show or is it all in the background? I'm just
worried I'm not setting this up properly.
_______________________________________________
Cake mailing list
Cake@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/cake
--000000000000aa17c6057122d360--