Lets make wifi fast again!
 help / color / mirror / Atom feed
From: Bob McMahon <bob.mcmahon@broadcom.com>
To: Michael Yartys <michael.yartys@protonmail.com>
Cc: Dave Taht <dave.taht@gmail.com>,
	 Make-Wifi-fast <make-wifi-fast@lists.bufferbloat.net>
Subject: Re: [Make-wifi-fast] Weird periodic latency
Date: Fri, 15 Jan 2021 13:44:42 -0800	[thread overview]
Message-ID: <CAHb6LvpyCL3QMLaF4FHvHRZmAGy-_YEoLGjaezNx77v88X5paA@mail.gmail.com> (raw)
In-Reply-To: <m6opS4gY45w7SaxsD0G8iwAwmJAU9u7ZRUyNlndToVVG1yLnoNdAjlyM9nX7eiZ4xGOHe7r6SH8T7wlPbBitaqD-k5z32fplyFnDgKxyQf4=@protonmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 6589 bytes --]

If you want to isolate wifi from the router CPU, connect a device
(raspberry pi 4 to the lan switch) and run tests.

Also, for more detailed testing, sync the clocks to the GPS atomic clock
using pulse per second <https://www.satsignal.eu/ntp/Raspberry-Pi-NTP.html>
and try out some iperf 2.1 <https://sourceforge.net/projects/iperf2/>new
features.

Bob

On Fri, Jan 15, 2021 at 11:33 AM Michael Yartys via Make-wifi-fast <
make-wifi-fast@lists.bufferbloat.net> wrote:

> On Friday, January 15th, 2021 at 20:10, Dave Taht <dave.taht@gmail.com>
> wrote:
>
> > oops meant to cc the list
> >
> > On Fri, Jan 15, 2021 at 11:09 AM Dave Taht dave.taht@gmail.com wrote:
> >
> > > On Fri, Jan 15, 2021 at 9:00 AM Michael Yartys via Make-wifi-fast
> > >
> > > make-wifi-fast@lists.bufferbloat.net wrote:
> > >
> > > > I assume that I got it right by running:
> > > >
> > > > flent --test-parameter ping_hosts=1.1.1.1 -l 300
> netperf-eu.bufferbloat.net tcp_8down
> > > >
> > > > Either way, I think I'll have to do this test at another time since
> someone is streaming TV downstairs (via Ethernet!) and it really pollutes
> the results: https://imgur.com/a/F33LjeA
> > >
> > > I wouldn't say that pollutes the results, I'd say those are the
> > >
> > > typical and terrible results most users get when trying to do more
> > >
> > > than one thing at once on wifi or over the internet. Also it helps to
> > >
> > > have sqm on your isp updownlink, especially with netflix as it is
> > >
> > > bursty as heck
> > >
> > > I do not know if aql is enabled on that chipset. To my eye, it isn't,
> > >
> > > but the induced latency isn't quite high enough to represent what I
> > >
> > > viewed as the baseline problems.
>
> Yup, AQL is enabled on this chipset, and I also have SQM piece_of_cake
> enabled to 50/50 mbps. I ran another test and made sure that there was no
> significant activity on the wireless network before I started it. Here are
> the results: https://imgur.com/a/7MzMVVJ
>
> And the ping to 1.1.1.1 has the same shape: https://imgur.com/a/drcTGfv
>
> Looks quite weird to me with all the oscillating latency spikes.
> > >
> > > https://forum.openwrt.org/t/aql-and-the-ath10k-is-lovely/59002
> > >
> > > Do a packet capture at the AP and look for multciast bursts especially
>
> I think I'll have to find a moment where I have the network to myself
> again to be able to properly test things and figure out what might be
> causing this stuff. I'll probably do a packet capture at some point.
>
> > >
> > > And I keep trying to set aside time to go deep on AQL again, as the
> > >
> > > 7800 is a pretty popular box...
> > >
> > > > For what it's worth, the ping to 1.1.1.1 looks the same.
> > > >
> > > > Michael
> > > >
> > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > > >
> > > > On Friday, January 15th, 2021 at 17:23, Toke Høiland-Jørgensen
> toke@toke.dk wrote:
> > > >
> > > > > Michael Yartys via Make-wifi-fast
> make-wifi-fast@lists.bufferbloat.net
> > > > >
> > > > > writes:
> > > > >
> > > > > > Hi
> > > > > >
> > > > > > I decided to run a couple of flent 8-stream TCP downloads from
> > > > > >
> > > > > > netperf-eu.bufferbloat.net to my Fedora 33 laptop, and I
> noticed some
> > > > > >
> > > > > > weird periodic latency in the resulting graphs. My router is the
> > > > > >
> > > > > > NETGEAR R7800 running OpenWrt with an ath10k radio. Here's a
> graph
> > > > > >
> > > > > > that's representative of the results that I got:
> > > > > >
> > > > > > https://imgur.com/a/BOKNzht
> > > > > >
> > > > > > This looks similar to the latency spikes you would get from
> channel
> > > > > >
> > > > > > scans, but I have specified the BSSID in the Gnome network
> settings,
> > > > > >
> > > > > > which means that background scanning should be disabled. In
> addition,
> > > > > >
> > > > > > the test ran for 30 minutes, and channel scans are much more
> frequent
> > > > > >
> > > > > > than the latency spikes seen in the graph above. Here's what
> channel
> > > > > >
> > > > > > scans look like in a 15 minute long test:
> https://imgur.com/a/YJepfcp
> > > > > >
> > > > > > Does anyone here know what could be causing this behaviour?
> > > > >
> > > > > Hmm, your email reminds me that the server you are testing against
> was
> > > > >
> > > > > having some issue before the holidays. So it may just be that it's
> > > > >
> > > > > crapping out and it has nothing to do with your connection.
> > > > >
> > > > > You could try adding a secondary ping flow (--test-parameter
> > > > >
> > > > > ping_hosts=one.one.one.one should do it) and see if that secondary
> flow
> > > > >
> > > > > also shows the same spikes. If it does, it's likely your
> connection, if
> > > > >
> > > > > not it's likely the server...
> > > > >
> > > > > -Toke
> > > >
> > > > Make-wifi-fast mailing list
> > > >
> > > > Make-wifi-fast@lists.bufferbloat.net
> > > >
> > > > https://lists.bufferbloat.net/listinfo/make-wifi-fast
> > >
> > > --
> > >
> > > "For a successful technology, reality must take precedence over public
> > >
> > > relations, for Mother Nature cannot be fooled" - Richard Feynman
> > >
> > > dave@taht.net <Dave Täht> CTO, TekLibre, LLC Tel: 1-831-435-0729
> >
> > --
> >
> > "For a successful technology, reality must take precedence over public
> >
> > relations, for Mother Nature cannot be fooled" - Richard Feynman
> >
> > dave@taht.net <Dave Täht> CTO, TekLibre, LLC Tel: 1-831-435-0729
> _______________________________________________
> Make-wifi-fast mailing list
> Make-wifi-fast@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/make-wifi-fast

-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.

[-- Attachment #1.2: Type: text/html, Size: 9755 bytes --]

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4163 bytes --]

  reply	other threads:[~2021-01-15 21:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-15 16:02 Michael Yartys
2021-01-15 16:23 ` Toke Høiland-Jørgensen
2021-01-15 16:59   ` Michael Yartys
2021-01-15 18:55     ` Toke Høiland-Jørgensen
2021-01-15 19:22       ` Michael Yartys
2021-01-15 19:28         ` Toke Høiland-Jørgensen
     [not found]     ` <CAA93jw6uLUC9b-vuPrEcL_VqXWPOtqUo=ek2G0x=XmvJ-GfLKw@mail.gmail.com>
2021-01-15 19:10       ` Dave Taht
2021-01-15 19:33         ` Michael Yartys
2021-01-15 21:44           ` Bob McMahon [this message]
2021-01-16 14:46             ` Michael Yartys
2021-01-16 17:48               ` Dave Taht
2021-01-16 18:01                 ` Michael Yartys
2021-01-16 18:06                   ` Dave Taht
2021-01-16 18:14                     ` Michael Yartys
2021-01-16 18:20                       ` Dave Taht
2021-01-16 21:01                 ` Bob McMahon

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/make-wifi-fast.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to=CAHb6LvpyCL3QMLaF4FHvHRZmAGy-_YEoLGjaezNx77v88X5paA@mail.gmail.com \
    --to=bob.mcmahon@broadcom.com \
    --cc=dave.taht@gmail.com \
    --cc=make-wifi-fast@lists.bufferbloat.net \
    --cc=michael.yartys@protonmail.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