From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-x230.google.com (mail-qt0-x230.google.com [IPv6:2607:f8b0:400d:c0d::230]) (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 B65BD3BA8E for ; Mon, 16 Jul 2018 15:03:25 -0400 (EDT) Received: by mail-qt0-x230.google.com with SMTP id e19-v6so19619772qtp.8 for ; Mon, 16 Jul 2018 12:03:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bH0iLgT3G2Y5oAaTIZ3v2yy8Y9xznZZO10yg7uZVYa8=; b=IuRE/N5+wA8VTZBasKs9Rixv39EE9PbJg2jLV3HSeRCFL/yjVWJjjH8yQQU10D2QKp 9hkTGCwQT5D+6ComCGlDFY4UckljHwN9caablaYB1qdn3AH6jvSHa2wkjaTfSbRLG2L9 5QYp3zoDiLgHPZTwz98qvwUh6pV6oNMXmPmPbqqFx9PNjkTo+qF0sCwxf97KVyt3JMuR bNi8rxUr6CbjF1xJPk6Fw4HQUdA52DlcrVkPUXCAxpZoctuyCFXrTh+czrKyyE3Ydo/r x5yDUWahA67fNM42zzTaDrjfxdNZf/yH88cWijL4dxGrdb2s1P/tjEZJoKC43ElyuMCA 8gjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bH0iLgT3G2Y5oAaTIZ3v2yy8Y9xznZZO10yg7uZVYa8=; b=HmJi9Lsqc/B4Iq9dZDiG+Ew7bf+wR+uto5hoegA93Elti6f9OH8+T689uUCSwVlV1/ 3aTScytNMjQ8iLLH+SlvC7BRSt+ll1S+WwmiGxFkaWo6JmX9bzyhoglxQCPKX+HFBJmE Kjni2s+CPYCHerBYieMqEo1RWc+6ioOYnxiTsRJt58SOLojGD9vTPJhaBL5SgUr5Yoma M7lxUp3XoidSAH1tQ6FuIohgBnLscT8I45xFobqmr/aJTEzSyrke10gSHTBBsSl1L1Oy M+OaWmfEySmss+OizVvre6F8tm4M/BSEOFQF7IPg/X3ZnZ741ccXQDX3u/0XrypltcbI BMtA== X-Gm-Message-State: AOUpUlE8FnKQUQRLz8uLHDgurRWKZv2/sONvsnw9naz2yd2VJRMyym+g c0fk2nMGrSSXF7vI9OQSQfzBSWhdfrrJXRJToH0= X-Google-Smtp-Source: AAOMgpfzlAAyqb8h1Yz1mXS/d89iyWl2VqQ36xu/8/Y7nHjSCQbIy+JKV1qW3tCY/USdOmaxFKSFTcv9/TbMPoXwWFQ= X-Received: by 2002:ac8:3692:: with SMTP id a18-v6mr16668090qtc.406.1531767805238; Mon, 16 Jul 2018 12:03:25 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac8:2aa9:0:0:0:0:0 with HTTP; Mon, 16 Jul 2018 12:03:04 -0700 (PDT) In-Reply-To: <87tvp06y6y.fsf@toke.dk> References: <3E2FE0BD-3A6C-4399-90FB-1334A7A0D962@gmail.com> <87o9f895ei.fsf@toke.dk> <87tvp06y6y.fsf@toke.dk> From: dag dg Date: Mon, 16 Jul 2018 14:03:04 -0500 Message-ID: To: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= Cc: Dave Taht , Jonathan Morton , Cake List Content-Type: text/plain; charset="UTF-8" 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:03:25 -0000 (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.