Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Pete Heist <pete@heistp.net>
To: Dave Taht <dave.taht@gmail.com>
Cc: Cake List <cake@lists.bufferbloat.net>,
	cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] [Cake] inbound cake or fq_codel shaping fails on cable on netflix reno
Date: Sun, 22 Jul 2018 09:57:28 -0000	[thread overview]
Message-ID: <D213885B-9A88-4406-B827-99E591A39CD2@heistp.net> (raw)
In-Reply-To: <CAA93jw6k-esNU8by-Z=j7n0SVTVGPY6=Z+nR_TGwdLGSVOCi+Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2742 bytes --]

> On Jul 21, 2018, at 6:09 PM, Dave Taht <dave.taht@gmail.com> wrote:
> 
> PS I also have two other issues going on. This is the first time I've
> been using irtt with a 20ms interval, and I regularly see single 50+ms
> spikes (in both ping and irtt) data and also see irtt stop
> transmitting.

irtt should keep sending for the duration of the test. I noticed that it looks like irtt was actually used in only one of these initial tests: ping-2018-07-21T082842.445812.flent-newark-reno.flent. In the rest, netperf UDP_RR was used, which can stop sending upon packet loss.

If irtt was configured but didn’t run, that may be because flent does a connectivity check to the server with “irtt client -n”, where it sends three requests within 900ms (200ms timeout, then 300ms then 400ms) and if it doesn’t receive a reply, it falls back to netperf UDP_RR. Do you think that’s what happened here?

> On this front, it could merely be that my (not tested in
> months!) test cablemodem setup is malfunctioning also! Or we're
> hitting power save. Or (finally) seeing request-grant delays. Or
> scheduling delay somewhere in the net-next kernel I'm using... Or....
> (regardless, this seems independent of my main issue, and I've not had
> such high res data before)

Regarding the spikes both you and Arie you’re seeing, I also saw in one of your later emails "0 delay via fq would be better than even
the 15-40ms I'm getting now with linux flows”. Those numbers struck me as similar to an issue I’m still dealing with:

https://community.ubnt.com/t5/airMAX-Installation/NanoStation-M5-ping-spikes-about-once-per-second-even-just-to/m-p/2359800/highlight/true#M119202 <https://community.ubnt.com/t5/airMAX-Installation/NanoStation-M5-ping-spikes-about-once-per-second-even-just-to/m-p/2359800/highlight/true#M119202>

To summarize, with airOS on the NanoStation M5, there are isochronous pauses around once per second in the processing of all packets, not just for the WiFi device but Ethernet also. Packets are not lost, but queued for either 20ms, if one Ethernet port is connected, or 40ms, if both are connected. This behavior is exactly described by the ar7240sw_phy_poll_reset function in ag71xx_ar7240.c, so it looks to me like the ar7240 internal switch is being reset once per second for no apparent reason. So far I’ve gotten crickets in response.

The cable modem you’re using doesn’t happen to have built-in WiFi and an ar7240, does it? If it does and has the same or a similar driver problem, you could just do a low-interval ping straight to its Ethernet adapter and check for isochronous spikes, something like:

sudo ping -l 100 -c 5000 -i 0.001 cablemodem

Now, back to vacation :)

[-- Attachment #2: Type: text/html, Size: 3583 bytes --]

  parent reply	other threads:[~2018-07-22  9:57 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-21 16:09 [Cerowrt-devel] " Dave Taht
2018-07-21 17:20 ` [Cerowrt-devel] [Cake] " Georgios Amanakis
2018-07-21 17:23   ` Jonathan Morton
2018-07-21 17:44     ` Georgios Amanakis
2018-07-21 17:47       ` Dave Taht
2018-07-21 18:18         ` Georgios Amanakis
2018-07-21 18:20           ` Dave Taht
2018-07-21 18:23             ` Georgios Amanakis
2018-07-21 20:01           ` Dave Taht
2018-07-21 20:24             ` Jonathan Morton
2018-07-21 20:36               ` Dave Taht
2018-07-21 17:24   ` Arie
2018-07-21 17:27     ` Dave Taht
2018-07-21 17:28   ` Georgios Amanakis
2018-07-21 17:42     ` Dave Taht
2018-07-21 19:57       ` Toke Høiland-Jørgensen
2018-07-24  2:36   ` Dave Taht
2018-07-24  4:17     ` Georgios Amanakis
2018-07-22  9:57 ` Pete Heist [this message]
2018-07-22 10:29   ` 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=D213885B-9A88-4406-B827-99E591A39CD2@heistp.net \
    --to=pete@heistp.net \
    --cc=cake@lists.bufferbloat.net \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=dave.taht@gmail.com \
    /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