Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Sebastian Moeller <moeller0@gmx.de>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: "cerowrt-devel@lists.bufferbloat.net"
	<cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] Build instructions for regular OpenWRT with Ceropackages
Date: Wed, 1 Jul 2015 13:55:57 +0200	[thread overview]
Message-ID: <AE5CEDD1-3020-4F4E-A002-67A98F5E6DFF@gmx.de> (raw)
In-Reply-To: <alpine.DEB.2.02.1507011223530.9487@uplift.swm.pp.se>


On Jul 1, 2015, at 12:32 , Mikael Abrahamsson <swmike@swm.pp.se> wrote:

> On Wed, 1 Jul 2015, David Lang wrote:
> 
>> not true, the switch doesn't give any way for traffic to get from one vlan to the other one, so if you have gig-e connections on both sides, the traffic going from one to the other will have to go through the soc, so if there is more than 1Gb of traffic in either direction the interface will be saturated.
> 
> I don't see how it can be.

	If “saturated” means running at line rate, then I agree with David.

> The switch has a 4 externally facing ports, these all go to a single SoC port that is GigE, so the SoC cannot ingest more than 1G of traffic from the 4 LAN ports.

	But this is not SoC specific, no? If the router only had two ethernet ports and the LAN aggregation would happen at a dedicated switch between the clients and the router’s lan port the situation would be the same?

> The L2 switch chip will do the egress dropping from LAN ports->SoC ports, so there is no AQM there.

	Ingress/egress are always relative to something I guess. You can put AQM on any of the two SoC ports (or both) but that will not affect how the switch copes with overloads, unless the switch grows AQM (as Dave mentioned in earlier threads). I would hope that the LAN’s short RTTs and high bandwidth should make this bearable.

> 
>> The problem is if you have a slower connection, the bottleneck is in the switch not the soc. you may be able to set the soc-switch interface to 100Mb (make sure you have access through another interface in case you cut yourself off) and that would make the soc see the queue directly.
> 
> That is my point. There is no way by doing traffic LAN<->WAN to get egress congestion on the SoC ports, and it's on the SOC ports we can do AQM.

	Unless you reduce the egress rate to below the ingress rate. This really is why we need the soft shapers at all, otherwise the buffering moves from where we have control back into the DSLAMs/CMTSs/BRASs and CPE.

> 
> The SoC ports is gigabit ethernet only, no 10/100 available according to ethtool.
> 
> So the only way to generate congestion egress on the WAN SOC port is to add traffic locally from the SoC (iperf3 for instance), or adding traffic from Wifi.

	Well, that os shaping the other direction, so that more data can enter the router than leave. It is all a balancing game in the end…

Best Regards
	Sebastian


> 
> -- 
> Mikael Abrahamsson    email: swmike@swm.pp.se
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel


  reply	other threads:[~2015-07-01 11:56 UTC|newest]

Thread overview: 119+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-19 14:44 [Cerowrt-devel] Latest build test - new sqm-scripts seem to work; "cake overhead 40" didn't Alan Jenkins
2015-06-19 16:41 ` Sebastian Moeller
2015-06-19 17:35   ` Alan Jenkins
2015-06-19 20:12     ` Dave Taht
2015-06-19 20:40       ` Alan Jenkins
2015-06-19 20:51         ` Dave Taht
2015-06-19 20:57           ` Dave Taht
2015-06-19 20:57           ` Alan Jenkins
2015-06-19 21:06             ` Dave Taht
2015-06-19 21:24               ` Dave Taht
2015-06-19 21:52                 ` Luis E. Garcia
2015-06-19 23:32                   ` Dave Taht
2015-06-20  5:52                   ` Sebastian Moeller
2015-06-23  2:41                 ` Jim Reisert AD1C
2015-06-23  7:20                   ` Sebastian Moeller
2015-06-23 12:55                     ` [Cerowrt-devel] performance numbers from WRT1200AC (Re: Latest build test - new sqm-scripts seem to work; "cake overhead 40" didn't) Mikael Abrahamsson
2015-06-23 14:09                       ` Dave Taht
2015-06-23 17:25                       ` Sebastian Moeller
2015-06-23 18:15                         ` Jonathan Morton
2015-06-24  5:21                           ` Mikael Abrahamsson
2015-06-24  5:19                         ` Mikael Abrahamsson
2015-06-24 11:31                         ` Mikael Abrahamsson
2015-06-24 16:32                           ` Dave Taht
2015-06-25  1:53                             ` Aaron Wood
2015-06-25  3:07                               ` Mikael Abrahamsson
2015-06-25  3:32                                 ` Aaron Wood
2015-06-25  9:12                             ` Mikael Abrahamsson
2015-06-25 10:26                               ` Mikael Abrahamsson
2015-06-25 20:13                               ` Dave Taht
2015-06-25 20:16                                 ` Dave Taht
2015-06-25 20:24                                 ` Toke Høiland-Jørgensen
2015-06-25 22:14                                   ` Dave Taht
2015-06-26  6:58                                   ` Mikael Abrahamsson
2015-06-26  7:12                                 ` Mikael Abrahamsson
2015-06-26  9:46                           ` Sebastian Moeller
2015-06-26 12:26                             ` Mikael Abrahamsson
2015-06-26 14:17                               ` Sebastian Moeller
2015-06-26 14:49                               ` Mikael Abrahamsson
2015-06-26 16:18                                 ` Jonathan Morton
2015-06-26 16:31                                   ` Mikael Abrahamsson
2015-06-26 16:35                                     ` Jonathan Morton
2015-06-26 17:04                                       ` Dave Taht
2015-06-26 18:24                                         ` Dave Taht
2015-06-26 18:38                                           ` Mikael Abrahamsson
2015-06-26 18:58                                             ` Dave Taht
2015-06-26 18:59                                               ` Dave Taht
2015-06-26 19:11                                                 ` Mikael Abrahamsson
2015-06-26 19:13                                                   ` Dave Taht
2015-06-27  5:03                                               ` Mikael Abrahamsson
2015-06-27  5:18                                                 ` Dave Taht
2015-06-27  5:50                                                   ` Mikael Abrahamsson
2015-06-27 17:59                                                     ` Dave Taht
2015-06-27 18:23                                                       ` Mikael Abrahamsson
2015-06-27 18:52                                                         ` Dave Taht
2015-06-27 23:13                                                       ` Sebastian Moeller
2015-06-28  7:06                                                   ` Mikael Abrahamsson
2015-06-28  8:23                                                     ` Sebastian Moeller
2015-06-28 10:29                                                       ` Mikael Abrahamsson
2015-06-28 17:04                                                         ` Sebastian Moeller
2015-06-28 17:32                                                           ` Mikael Abrahamsson
2015-06-28 17:58                                                             ` Jonathan Morton
2015-06-28 18:04                                                               ` Dave Taht
2015-06-28 18:55                                                                 ` Sebastian Moeller
2015-06-28 19:17                                                                   ` Mikael Abrahamsson
2015-06-28 19:24                                                                     ` Sebastian Moeller
2015-06-28 20:48                                                                       ` Mikael Abrahamsson
2015-06-28 21:23                                                                         ` Sebastian Moeller
2015-06-29  4:58                                                                           ` Mikael Abrahamsson
2015-06-29  5:11                                                                             ` Mikael Abrahamsson
2015-06-29  7:46                                                                               ` Sebastian Moeller
2015-06-29  7:54                                                                                 ` Mikael Abrahamsson
2015-06-29  7:56                                                                                   ` Sebastian Moeller
2015-06-29  8:10                                                                                   ` Sebastian Moeller
2015-06-29  8:17                                                                                     ` Mikael Abrahamsson
2015-06-29  8:24                                                                                       ` Sebastian Moeller
2015-06-29  7:44                                                                             ` Sebastian Moeller
2015-06-29  8:09                                                                               ` Mikael Abrahamsson
2015-06-29  8:34                                                                                 ` Sebastian Moeller
2015-06-29  8:42                                                                                 ` Sebastian Moeller
2015-06-29  9:12                                                                                   ` Mikael Abrahamsson
2015-06-29 10:09                                                                                     ` Toke Høiland-Jørgensen
2015-06-29 13:00                                                                                       ` Mikael Abrahamsson
2015-06-29 13:34                                                                                         ` Sebastian Moeller
2015-06-29 13:46                                                                                           ` dpreed
2015-06-29 16:45                                                                                             ` Jonathan Morton
2015-06-30 13:58                                                                                             ` [Cerowrt-devel] Build instructions for regular OpenWRT with Ceropackages Mikael Abrahamsson
2015-06-30 16:20                                                                                               ` dpreed
2015-06-30 19:58                                                                                                 ` Mikael Abrahamsson
2015-07-01  8:23                                                                                                   ` David Lang
2015-07-01 10:32                                                                                                     ` Mikael Abrahamsson
2015-07-01 11:55                                                                                                       ` Sebastian Moeller [this message]
2015-07-01 15:37                                                                                                   ` dpreed
2015-06-29 13:42                                                                                         ` [Cerowrt-devel] performance numbers from WRT1200AC (Re: Latest build test - new sqm-scripts seem to work; "cake overhead 40" didn't) Sebastian Moeller
2015-06-29 16:44                                                                                           ` Dave Taht
2015-06-29 18:24                                                                                             ` Sebastian Moeller
2015-06-29 22:15                                                                                             ` Mikael Abrahamsson
2015-06-29 22:49                                                                                             ` Mikael Abrahamsson
2015-06-30  8:00                                                                                             ` Mikael Abrahamsson
2015-06-30  9:40                                                                                               ` Mikael Abrahamsson
2015-07-02 15:33                                                                                                 ` Mikael Abrahamsson
2015-07-02 15:39                                                                                                   ` Toke Høiland-Jørgensen
2015-07-02 15:43                                                                                                     ` Mikael Abrahamsson
2015-07-02 15:47                                                                                                       ` Toke Høiland-Jørgensen
2015-07-02 16:06                                                                                                         ` dpreed
2015-07-02 19:12                                                                                                           ` Mikael Abrahamsson
2015-07-07  1:07                                                                                                           ` David Lang
2015-07-02 16:09                                                                                                         ` Rich Brown
2015-07-02 16:12                                                                                                           ` Toke Høiland-Jørgensen
2015-07-03 11:38                                                                                                   ` Mikael Abrahamsson
2015-06-29  6:12                                                                       ` Mikael Abrahamsson
2015-06-28 18:48                                                             ` Sebastian Moeller
2015-06-26 16:34                                   ` Dave Taht
2015-06-26 16:27                                 ` Sebastian Moeller
2015-06-26 16:36                                   ` Mikael Abrahamsson
2015-06-26 16:43                                     ` Dave Taht
2015-06-26 17:01                                       ` Mikael Abrahamsson
2015-06-23 14:35                     ` [Cerowrt-devel] Latest build test - new sqm-scripts seem to work; "cake overhead 40" didn't Jim Reisert AD1C
2015-06-23 14:40                       ` Dave Taht
2015-06-19 20:37     ` Sebastian Moeller

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/cerowrt-devel.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to=AE5CEDD1-3020-4F4E-A002-67A98F5E6DFF@gmx.de \
    --to=moeller0@gmx.de \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=swmike@swm.pp.se \
    /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