General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Mikael Abrahamsson <swmike@swm.pp.se>
To: Sebastian Moeller <moeller0@gmx.de>
Cc: "Toke Høiland-Jørgensen" <toke@toke.dk>, bloat@lists.bufferbloat.net
Subject: Re: [Bloat] CAKE in openwrt high CPU
Date: Fri, 4 Sep 2020 15:37:09 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.20.2009041530360.20021@uplift.swm.pp.se> (raw)
In-Reply-To: <F6F30701-7A44-460F-8651-CED6B436D35A@gmx.de>

On Thu, 3 Sep 2020, Sebastian Moeller wrote:

> 	Mmmh, how did you measure the sirq percentage? Some top versions 
> show overall percentage with 100% meaning all CPUs, so 35% in a quadcore 
> could mean 1 fully maxed out CPU (25%) plus an additional 10% spread 
> over the other three, or something more benign. Better top (so not 
> busybox's) or htop versions also can show the load per CPU which is 
> helpful to pinpoint hotspots...

If I run iperf3 with 10 parallel sessions then htop shows this (in the 
CAKE upstream direction I believe):

   1  [*                                                                                  0.7%]   Tasks: 19, 0 thr; 2 running
   2  [*********************************************************************************100.0%]   Load average: 0.48 0.16 0.05
   3  [#***************************************                                          44.4%]   Uptime: 10 days, 04:46:37
   4  [************************************************                                  54.2%]
   Mem[|#*                                                                         36.7M/3.84G]
   Swp[                                                                                  0K/0K]

The other direction (-R), typically this:

  1  [#***********                                                                      13.0%]   Tasks: 19, 0 thr; 2 running
  2  [***********************************************                                   53.9%]   Load average: 0.54 0.25 0.09
  3  [#*************************************************                                55.8%]   Uptime: 10 days, 04:47:36
  4  [**************************************************************************        84.4%]

Topology is:

PC - HGW -> Internet

iperf3 is run on the PC, HGW has CAKE in the -> Internet direction.

> Best Regards
> 	Sebastian
>
>>
>> root@OpenWrt:~# tc -s qdisc
>> qdisc noqueue 0: dev lo root refcnt 2
>> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
>> backlog 0b 0p requeues 0
>> qdisc cake 8034: dev eth0 root refcnt 9 bandwidth 900Mbit diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100.0ms raw overhead 0
>> Sent 1111772001 bytes 959703 pkt (dropped 134, overlimits 221223 requeues 179)
>> backlog 0b 0p requeues 179
>> memory used: 2751976b of 15140Kb
>> capacity estimate: 900Mbit
>> min/max network layer size:           42 /    1514
>> min/max overhead-adjusted size:       42 /    1514
>> average network hdr offset:           14
>>
>>                   Bulk  Best Effort        Voice
>>  thresh      56250Kbit      900Mbit      225Mbit
>>  target          5.0ms        5.0ms        5.0ms
>>  interval      100.0ms      100.0ms      100.0ms
>>  pk_delay          0us         22us        232us
>>  av_delay          0us          6us          7us
>>  sp_delay          0us          4us          5us
>>  backlog            0b           0b           0b
>>  pkts                0       959747           90
>>  bytes               0   1111935437        39440
>>  way_inds            0        22964            0
>>  way_miss            0          275            2
>>  way_cols            0            0            0
>>  drops               0          134            0
>>  marks               0            0            0
>>  ack_drop            0            0            0
>>  sp_flows            0            3            1
>>  bk_flows            0            1            0
>>  un_flows            0            0            0
>>  max_len             0        68130         3714
>>  quantum          1514         1514         1514
>>
>>
>> --
>> Mikael Abrahamsson    email: swmike@swm.pp.se_______________________________________________
>> Bloat mailing list
>> Bloat@lists.bufferbloat.net
>> https://lists.bufferbloat.net/listinfo/bloat
>

-- 
Mikael Abrahamsson    email: swmike@swm.pp.se

  reply	other threads:[~2020-09-04 13:37 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-30 17:27 Mikael Abrahamsson
2020-08-30 17:52 ` Dave Taht
2020-08-31 11:35 ` Toke Høiland-Jørgensen
2020-08-31 12:22   ` Mikael Abrahamsson
2020-08-31 13:29     ` Toke Høiland-Jørgensen
2020-09-03 13:10       ` Mikael Abrahamsson
2020-09-03 13:29         ` Toke Høiland-Jørgensen
2020-09-03 13:34           ` Sebastian Moeller
2020-09-03 13:32         ` Sebastian Moeller
2020-09-04 13:37           ` Mikael Abrahamsson [this message]
2020-09-04 14:12             ` Sebastian Moeller
2020-09-01 15:41   ` Jonathan Foulkes
2020-09-01 16:11     ` Toke Høiland-Jørgensen
2020-09-01 16:25       ` Sebastian Moeller
2020-09-01 18:45         ` Toke Høiland-Jørgensen
2020-09-01 19:05           ` Jonathan Morton
2020-09-01 21:09             ` Toke Høiland-Jørgensen
2020-09-01 19:01       ` Jonathan Foulkes
2020-09-01 21:11         ` Toke Høiland-Jørgensen
2020-09-02 20:26           ` Jonathan Foulkes
2020-09-02 20:57             ` Toke Høiland-Jørgensen
2020-09-03 13:19           ` Mikael Abrahamsson
2020-09-03 13:27             ` Luca Muscariello
2020-09-03 14:32               ` Toke Høiland-Jørgensen
2020-09-03 15:31                 ` Luca Muscariello
2020-09-03 18:39                   ` Toke Høiland-Jørgensen
2020-09-03 18:53                 ` Jonathan Morton
2020-09-03 22:14                 ` [Bloat] Other CAKE territory (was: CAKE in openwrt high CPU) David Collier-Brown
2020-09-04  1:19                   ` Jonathan Morton
2020-09-04 13:41                     ` Mikael Abrahamsson
2020-09-04 11:11                   ` Toke Høiland-Jørgensen
2020-09-03 13:27             ` [Bloat] CAKE in openwrt high CPU Toke Høiland-Jørgensen
2020-09-01 16:18     ` Sebastian Moeller
2020-09-01 19:31       ` Jonathan Foulkes
2020-09-01 20:04         ` Sebastian Moeller
2020-09-01 20:09           ` Jonathan Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.2009041530360.20021@uplift.swm.pp.se \
    --to=swmike@swm.pp.se \
    --cc=bloat@lists.bufferbloat.net \
    --cc=moeller0@gmx.de \
    --cc=toke@toke.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox