From: Bob McMahon <bob.mcmahon@broadcom.com>
To: Tim Higgins <tim@smallnetbuilder.com>
Cc: Make-Wifi-fast <make-wifi-fast@lists.bufferbloat.net>
Subject: Re: [Make-wifi-fast] SmallNetBuilder article: Does OFDMA Really Work?
Date: Fri, 15 May 2020 12:36:24 -0700 [thread overview]
Message-ID: <CAHb6LvqZqeQjdmkvUtg=Qd9RhjyL2=3jxJ-oRmBs1KOXz6tNpQ@mail.gmail.com> (raw)
In-Reply-To: <6d8fc82a-cd32-31ba-023c-4dcd7822bb1d@smallnetbuilder.com>
[-- Attachment #1: Type: text/plain, Size: 4291 bytes --]
Latency testing under "heavy traffic" isn't ideal. If the input
rate exceeds the service rate of any queue for any period of time the queue
fills up and latency hits a worst case per that queue depth. I'd say take
latency measurements when the input rates are below the service rates. The
measurements when service rates are less than input rates are less
about latency and more about bloat.
Also, a good paper is this one on trading bandwidth for ultra low latency
<https://people.csail.mit.edu/alizadeh/papers/hull-nsdi12.pdf>using phantom
queues and ECN.
Another thing to consider is that network engineers tend to have a mioptic
view of latency. The queueing or delay between the socket writes/reads and
network stack matters too. Network engineers focus on packets or TCP RTTs
and somewhat overlook a user's true end to end experience. Avoiding bloat
by slowing down the writes, e.g. ECN or different scheduling, still
contributes to end/end latency between the writes() and the reads() that
too few test for and monitor.
Note: We're moving to trip times of writes to reads (or frames for video)
for our testing. We are also replacing/supplementing pings with TCP
connects as other "latency related" measurements. TCP connects are more
important than ping.
Bob
On Fri, May 15, 2020 at 8:20 AM Tim Higgins <tim@smallnetbuilder.com> wrote:
> Hi Bob,
>
> Thanks for your comments and feedback. Responses below:
>
> On 5/14/2020 5:42 PM, Bob McMahon wrote:
>
> Also, forgot to mention, for latency don't rely on average as most don't
> care about that. Maybe use the upper 3 stdev, i.e. the 99.97% point. Our
> latency runs will repeat 20 seconds worth of packets and find that then
> calculate CDFs of this point in the tail across hundreds of runs under
> different conditions. One "slow packet" is all that it takes to screw up
> user experience when it comes to latency.
>
> Thanks for the guidance.
>
>
> On Thu, May 14, 2020 at 2:38 PM Bob McMahon <bob.mcmahon@broadcom.com>
> wrote:
>
>> I haven't looked closely at OFDMA but these latency numbers seem way too
>> high for it to matter. Why is the latency so high? It suggests there may
>> be queueing delay (bloat) unrelated to media access.
>>
>> Also, one aspect is that OFDMA is replacing EDCA with AP scheduling per
>> trigger frame. EDCA kinda sucks per listen before talk which is about 100
>> microseconds on average which has to be paid even when no energy detect.
>> This limits the transmits per second performance to 10K (1/0.0001.). Also
>> remember that WiFi aggregates so transmissions have multiple packets and
>> long transmits will consume those 10K tx ops. One way to get around
>> aggregation is to use voice (VO) access class which many devices won't
>> aggregate (mileage will vary.). Then take a packets per second
>> measurement with small packets. This would give an idea on the frame
>> scheduling being AP based vs EDCA.
>>
>> Also, measuring ping time as a proxy for latency isn't ideal. Better to
>> measure trip times of the actual traffic. This requires clock sync to a
>> common reference. GPS atomic clocks are available but it does take some
>> setup work.
>>
>> I haven't thought about RU optimizations and that testing so can't really
>> comment there.
>>
>> Also, I'd consider replacing the mechanical turn table with variable
>> phase shifters and set them in the MIMO (or H-Matrix) path. I use model
>> 8421 from Aeroflex
>> <https://www.apitech.com/globalassets/documents/products/rf-microwave-microelectronics-power-solutions/rf-components/phase-shifter-subsystem/wmod84208421.pdf>.
>> Others make them too.
>>
>> Thanks again for the suggestions. I agree latency is very high when I
> remove the traffic bandwidth caps. I don't know why. One of the key
> questions I've had since starting to mess with OFDMA is whether it helps
> under light or heavy traffic load. All I do know is that things go to hell
> when you load the channel. And RRUL test methods essentially break OFDMA.
>
> I agree using ping isn't ideal. But I'm approaching this as creating a
> test that a consumer audience can understand. Ping is something consumers
> care about and understand. The octoScope STApals are all ntp sync'd and
> latency measurements using iperf have been done by them.
>
>
>
[-- Attachment #2: Type: text/html, Size: 6328 bytes --]
next prev parent reply other threads:[~2020-05-15 19:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-14 16:43 Tim Higgins
2020-05-14 21:38 ` Bob McMahon
2020-05-14 21:42 ` Bob McMahon
2020-05-15 15:20 ` Tim Higgins
2020-05-15 19:36 ` Bob McMahon [this message]
2020-05-15 19:50 ` Tim Higgins
2020-05-15 20:05 ` Bob McMahon
2020-05-15 20:24 ` Toke Høiland-Jørgensen
2020-05-15 20:30 ` Dave Taht
2020-05-15 21:35 ` Bob McMahon
2020-05-16 5:02 ` Dave Taht
[not found] ` <mailman.342.1589573120.24343.make-wifi-fast@lists.bufferbloat.net>
2020-05-15 20:38 ` Toke Høiland-Jørgensen
2020-05-15 6:47 ` Erkki Lintunen
2020-05-15 15:34 ` Tim Higgins
2020-05-15 16:25 ` Dave Taht
2020-05-15 16:41 ` Tim Higgins
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='CAHb6LvqZqeQjdmkvUtg=Qd9RhjyL2=3jxJ-oRmBs1KOXz6tNpQ@mail.gmail.com' \
--to=bob.mcmahon@broadcom.com \
--cc=make-wifi-fast@lists.bufferbloat.net \
--cc=tim@smallnetbuilder.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