From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (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 7840B3BA8E for ; Thu, 7 Sep 2017 03:47:20 -0400 (EDT) Received: from [192.168.250.101] ([134.76.241.253]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MOfx8-1dn6NX3yPm-0067qF; Thu, 07 Sep 2017 09:47:18 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) From: Sebastian Moeller In-Reply-To: <6581a265-041e-5ac0-9d1c-66067e45bfa6@gmail.com> Date: Thu, 7 Sep 2017 09:47:17 +0200 Cc: Ryan Mounce , Cake List Content-Transfer-Encoding: quoted-printable Message-Id: References: <915b0913-0ac5-c6b6-3771-752a9e41dff2@gmail.com> <0D998858-A2FD-4CE3-8B9B-07C6448C8F3B@gmx.de> <6581a265-041e-5ac0-9d1c-66067e45bfa6@gmail.com> To: Dennis Fedtke X-Mailer: Apple Mail (2.3273) X-Provags-ID: V03:K0:iMTAKPNW7BdLY+ikFvi+8vBVs6jiptZ+NYFSkLllwkLox6aiPiK MxW8vUkplCERnF+GhKUlT9F1PMVdRXqB11RAkC5MAz2pHGu7LA1HPfSB8V3sXFKYwRse88U 8td9fG1azAR/aHvlf2FHxwXCrwxDfOTUHsuCJA1jBH9rVERG3wYEuL5N1EAS6QM4F3mbwQh +nhYZTsePaSRHJ6aTtmTQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:XxAkU4maMY8=:C+mKn0FYTVCySz8/BVxlu4 DWYW1g5UL2wdNnlQZPibc65R+s1y0iWHkYDAgR2WdCvX5wKdKhu1xIqTCZ5Xhk0ZmyeNB3Tbm i0yGEnVDhnoyId14/Lwre9UcxcF9tkAVUIf2JNit2qcFRG+p2NMQreO1ds9kj9TOG9vkCB3rM 7QNDeKxwPcR4LvnLykwxpHNeJ1yxT3etqu7KdwvcUZgb4X4BAPT4MIKVd+jkJXCGy8V/sZwkT hX+8b3x9u6k5+MQmwIJVp1mQxTy/XDnQ0uf+3Gm3B3Hh1OGSZ89dct3dwQX7KRJ8uKMWIZqER qp2h1kdRdGXuHkLNrlX9yPP/MTDccBPBfZzUUkpWLhuL8+9TPlRE0V1628Xlaz5AW/Nn6AnjR im36LIywI8I/4mOp8E4YNaFj+L7tEKr/3xrZmDUsLkZ0NPlaXMb0tkt/IgQprtS4TX+M70Tja evlk8JWYWhW6jGNJ4mVHvGXEEcb/M7YyuIlSQN/PCuzNuqwbSTC1jUSk261oMbsqAnEg9gkFS xF2EFL9hutinDPgyi3K3l1sYF9+Y2YzV67UXb+DQUWAzEILebNplwvednorUT5EDlpETwlxAA B8T4m1bCTq930tBHEEFXunM8znvVE9T3lc7InqoV5CVY+JLQsu3BdvMLH0sZwJnCtko7sxXwg SzBlmUdD9jfkUehsERy0AayVM2k7tZ67FyYODYvOsVs6l5pT6xjgr5fIpuJI8dEeu406lDdAj TJSwpS1EZixVLy5ndQJbEzzbRYlOJSCTcRkCb3S9va1L++sHqYyFd4ol5DbCCMdU/mDZeSP8o GIdA4LoWlnU0RWDCfK4JVMkQDzHEOo3JH6oF1cEQdL8oKhF0sk= Subject: Re: [Cake] overhead and mpu 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: Thu, 07 Sep 2017 07:47:20 -0000 Hi Dennis, > On Sep 7, 2017, at 06:11, Dennis Fedtke = wrote: >=20 > Hi everyone! >=20 > thanks for your answers again. >=20 > So what about from should i expect from using the docsis keyword? > (This layer cake script + nat docsis set in advanced config) >=20 > tc -s qdisc show dev eth1.100: > qdisc cake 8064: root refcnt 2 bandwidth 19Mbit diffserv3 = triple-isolate nat rtt 100.0ms raw mpu 64 > Sent 246233450 bytes 1316430 pkt (dropped 65, overlimits 126706 = requeues 0) > backlog 0b 0p requeues 0 > memory used: 2372672b of 4Mb > capacity estimate: 19Mbit > Bulk Best Effort Voice > thresh 1187Kbit 19Mbit 4750Kbit > target 15.3ms 5.0ms 5.0ms > interval 110.3ms 100.0ms 10.0ms > pk_delay 0us 298us 10us > av_delay 0us 13us 2us > sp_delay 0us 1us 1us > pkts 0 1315692 803 > bytes 0 246260830 59314 > way_inds 0 733 0 > way_miss 0 5012 29 > way_cols 0 0 0 > drops 0 65 0 > marks 0 0 0 > sp_flows 0 1 0 > bk_flows 0 0 0 > un_flows 0 0 0 > max_len 0 1514 405 >=20 > tc -s qdisc show dev ifb4eth1.100 > qdisc cake 8065: root refcnt 2 bandwidth 150Mbit diffserv3 = triple-isolate nat wash rtt 100.0ms noatm overhead 18 via-ethernet mpu = 64 > Sent 869520280 bytes 2153104 pkt (dropped 30, overlimits 270811 = requeues 0) > backlog 0b 0p requeues 0 > memory used: 624320b of 7500000b > capacity estimate: 150Mbit > Bulk Best Effort Voice > thresh 9375Kbit 150Mbit 37500Kbit > target 5.0ms 5.0ms 5.0ms > interval 100.0ms 100.0ms 10.0ms > pk_delay 121us 448us 1us > av_delay 40us 158us 0us > sp_delay 2us 2us 0us > pkts 58805 1362429 731900 > bytes 77433974 748216627 43914060 > way_inds 0 118167 0 > way_miss 5 5911 3 > way_cols 0 0 0 > drops 1 29 0 > marks 0 0 0 > sp_flows 0 0 0 > bk_flows 0 0 1 > un_flows 0 0 0 > max_len 1486 1514 90 >=20 > Why is there no overhead showing for egress? Could you post post the output of "cat /etc/config/sqm" (assuming you = use LEDE/OpenWrt); i have a hunch that you might have forgotten to put = the docsis keyword into both advanced configuration fields (or there is = a typo n one of those words). > Why is there overhead18 + via-ethernet showing for ingress? This tells you that cake is using ethernet_payload + 18 bytes = overhead, and that it automatically effectively subtracted the 14 bytes = overhead the kernel added before applying its 18 bytes (so that you do = not need to worry about how much the kernel added). BTW, cake reports the maximum of the pkt_len field of all packets as = max_len and on ethernet interfaces the kernel automatically adds 14 = bytes (already to skb->len), this is why you see max_len 1514 instead of = 1500. If you use tc's stab method for overhead accounting things will = look different, as stab will add the full header size to pkt_len, so = using tc stab you would probably see 1532 for an ecplicit overhead of 18 = (as tc stab does not take the already accounted for header into account = so if you request 18 on an ethernet interface you will effectively get = 18+14 =3D 32.) It really is a great feature of cake to undo the = kernel's automagic length adjustment so that one can request overhead on = top of the ethernet payload/the IP packets. Best Regards Sebastian >=20 > Thanks again =3D) >=20