General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Bob McMahon <bob.mcmahon@broadcom.com>
To: Dave Taht <dave.taht@gmail.com>
Cc: Stuart Cheshire <cheshire@apple.com>,
	Rpm <rpm@lists.bufferbloat.net>,
	 Make-Wifi-fast <make-wifi-fast@lists.bufferbloat.net>,
	 Cake List <cake@lists.bufferbloat.net>,
	bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] [Make-wifi-fast] [Rpm] The most wonderful video ever about bufferbloat
Date: Thu, 20 Oct 2022 12:31:54 -0700	[thread overview]
Message-ID: <CAHb6LvrdRxu7-Qu82WVG4y8cugPRujFL4WmrgJgZ=2LSMtY9XA@mail.gmail.com> (raw)
In-Reply-To: <CAA93jw5j16_188JC58o44=EV3HmOCDQm-U-dgMLjXESq691TnQ@mail.gmail.com>


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

The demo is nice but a way to measure this with full statistics can be
actionable by engineers. I did add support for tcp write time with
histograms, where setting TCP_NOTSENT_LOWAT, can give a sense of the
network responsiveness as the writes will await the select() indicating the
pipeline has drained. Nobody really uses this much.

Also, there is a suggestion for the server to generate branches so-to-speak
by sending an event back to the client, e.g. move the video pointer, but
how does the test tool decide when to create the user events that need to
be sent back? How long does it wait between events, etc?

Bob

On Thu, Oct 20, 2022 at 12:12 PM Dave Taht <dave.taht@gmail.com> wrote:

> On Thu, Oct 20, 2022 at 12:04 PM Bob McMahon via Make-wifi-fast
> <make-wifi-fast@lists.bufferbloat.net> wrote:
> >
> > Intel has a good analogous video on this with their CPU video here going
> over branches and failed predictions. And to Stuart's point, the longer
> pipelines make the forks worse in the amount of in-process bytes that need
> to be thrown away. Interactivity, in my opinion, suggests shrinking the
> pipeline because, with networks, there is no quick way to throw away stale
> data rather every forwarding device continues forward with invalid data.
> That's bad for the network too, spending resources on something that's no
> longer valid. We in the test & measurement community never measure this.
>
> One of my all time favorite demos was of stuart's remote desktop
> scenario, where he moved the mouse and the window moved with it.
>
> > There have been a few requests that iperf 2 measure the "bytes thrown
> away" per a fork (user moves a video pointer, etc.) I haven't come up with
> a good test yet. I'm still trying to get basic awareness about existing
> latency, OWD and responsiveness metrics. I do think measuring the amount of
> resources spent on stale data is sorta like food waste, few really pay
> attention to it.
> >
> > Bob
> >
> > FYI, iperf 2 supports TCP_NOTSENT_LOWAT for those interested.
> >
> > --tcp-write-prefetch n[kmKM]
> > Set TCP_NOTSENT_LOWAT on the socket and use event based writes per
> select() on the socket.
> >
> >
> > On Thu, Oct 20, 2022 at 11:32 AM Stuart Cheshire via Make-wifi-fast <
> make-wifi-fast@lists.bufferbloat.net> wrote:
> >>
> >> On 20 Oct 2022, at 02:36, Sebastian Moeller <moeller0@gmx.de> wrote:
> >>
> >> > Hi Stuart,
> >> >
> >> > [SM] That seems to be somewhat optimistic. We have been there before,
> short of mandating actually-working oracle schedulers on all end-points,
> intermediate hops will see queues some more and some less transient. So we
> can strive to minimize queue build-up sure, but can not avoid queues and
> long queues completely so we need methods to deal with them gracefully.
> >> > Also not many applications are actually helped all that much by
> letting information get stale in their own buffers as compared to an
> on-path queue. Think an on-line reaction-time gated game, the need is to
> distribute current world state to all participating clients ASAP.
> >>
> >> I’m afraid you are wrong about this. If an on-line game wants low
> delay, the only answer is for it to avoid generating position updates
> faster than the network carry them. One packet giving the current game
> player position is better than a backlog of ten previous stale ones waiting
> to go out. Sending packets faster than the network can carry them does not
> get them to the destination faster; it gets them there slower. The same
> applies to frames in a screen sharing application. Sending the current
> state of the screen *now* is better than having a backlog of ten previous
> stale frames sitting in buffers somewhere on their way to the destination.
> Stale data is not inevitable. Applications don’t need to have stale data if
> they avoid generating stale data in the first place.
> >>
> >> Please watch this video, which explains it better than I can in a
> written email:
> >>
> >> <https://developer.apple.com/videos/play/wwdc2015/719/?time=892>
> >>
> >> Stuart Cheshire
> >>
> >> _______________________________________________
> >> 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._______________________________________________
> > Make-wifi-fast mailing list
> > Make-wifi-fast@lists.bufferbloat.net
> > https://lists.bufferbloat.net/listinfo/make-wifi-fast
>
>
>
> --
> This song goes out to all the folk that thought Stadia would work:
>
> https://www.linkedin.com/posts/dtaht_the-mushroom-song-activity-6981366665607352320-FXtz
> Dave Täht CEO, TekLibre, LLC
>

-- 
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: 7724 bytes --]

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

  reply	other threads:[~2022-10-20 19:32 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-09 13:14 [Bloat] " Dave Taht
2022-10-09 13:23 ` Nathan Owens
2022-10-10  5:52 ` Taraldsen Erik
2022-10-10  9:09   ` [Bloat] [Cake] " Sebastian Moeller
2022-10-10  9:32     ` Taraldsen Erik
2022-10-10  9:40       ` Sebastian Moeller
2022-10-10 11:46         ` Taraldsen Erik
2022-10-10 20:23           ` Sebastian Moeller
2022-10-11  6:08             ` Taraldsen Erik
2022-10-11  6:35               ` Sebastian Moeller
2022-10-11  6:38                 ` Dave Taht
2022-10-11 11:34                   ` Taraldsen Erik
2022-10-10 16:45         ` [Bloat] [Make-wifi-fast] " Bob McMahon
2022-10-10 22:57           ` David Lang
2022-10-11  0:05             ` Bob McMahon
2022-10-11  7:15               ` Sebastian Moeller
2022-10-11 16:58                 ` Bob McMahon
2022-10-11 17:00                   ` [Bloat] [Rpm] " Dave Taht
2022-10-11 17:26                   ` [Bloat] " Sebastian Moeller
2022-10-11 17:47                     ` Bob McMahon
2022-10-11 13:57               ` [Bloat] [Rpm] " Rich Brown
2022-10-11 14:43                 ` [Bloat] [Make-wifi-fast] [Rpm] " Dave Taht
2022-10-11 17:05                 ` [Bloat] [Rpm] [Make-wifi-fast] " Bob McMahon
2022-10-11 18:44                   ` Rich Brown
2022-10-11 22:24                     ` Dave Taht
2022-10-12 17:39                       ` Bob McMahon
2022-10-12 21:44                         ` [Bloat] [Cake] [Rpm] [Make-wifi-fast] " David P. Reed
2022-10-13 17:45                   ` [Bloat] [Rpm] [Make-wifi-fast] [Cake] " Livingood, Jason
2022-10-13 17:49                     ` Dave Taht
2022-10-11  6:28           ` [Bloat] " Sebastian Moeller
2022-10-18  0:02 ` [Bloat] [Make-wifi-fast] " Stuart Cheshire
2022-10-18  2:44   ` Dave Taht
2022-10-18  2:50     ` Sina Khanifar
2022-10-18  3:15       ` [Bloat] A quick report from the WISPA conference Dave Taht
2022-10-18 17:17         ` Sina Khanifar
2022-10-18 19:04           ` Sebastian Moeller
2022-10-20  5:15             ` Sina Khanifar
2022-10-20  9:01               ` Sebastian Moeller
2022-10-18 19:17           ` Sebastian Moeller
2022-10-18  2:58     ` [Bloat] [Make-wifi-fast] The most wonderful video ever about bufferbloat David Lang
2022-10-18 17:03       ` Bob McMahon
2022-10-18 18:19         ` [Bloat] [Rpm] " Sebastian Moeller
2022-10-18 19:30           ` Bob McMahon
2022-10-19  7:09           ` David Lang
2022-10-19 19:18             ` Bob McMahon
2022-10-19 19:23               ` David Lang
2022-10-19 21:26                 ` [Bloat] [Cake] " David P. Reed
2022-10-19 21:37                   ` David Lang
2022-10-22 18:37       ` [Bloat] " Matt Taggart
2022-10-22 18:58         ` Dave Taht
2022-10-22 20:13           ` Sebastian Moeller
2022-10-22 19:47         ` Sebastian Moeller
2022-10-22 20:34           ` Matt Taggart
2022-10-19 20:44     ` Stuart Cheshire
2022-10-19 21:33       ` David Lang
2022-10-19 23:36         ` Stephen Hemminger
2022-10-20 14:26           ` [Bloat] [Rpm] [Make-wifi-fast] Traffic analogies (was: Wonderful video) Rich Brown
2022-10-19 21:46       ` [Bloat] [Make-wifi-fast] The most wonderful video ever about bufferbloat Michael Richardson
2022-12-06 19:17         ` Bob McMahon
2022-10-20  9:36       ` [Bloat] [Rpm] " Sebastian Moeller
2022-10-20 18:32         ` Stuart Cheshire
2022-10-20 19:04           ` [Bloat] [Make-wifi-fast] [Rpm] " Bob McMahon
2022-10-20 19:12             ` Dave Taht
2022-10-20 19:31               ` Bob McMahon [this message]
2022-10-20 19:40               ` [Bloat] [Rpm] [Make-wifi-fast] " Sebastian Moeller
2022-10-21 17:48                 ` Bob McMahon
2022-10-20 19:33             ` [Bloat] [Make-wifi-fast] [Rpm] " Sebastian Moeller
2022-10-20 19:33           ` [Bloat] [Rpm] [Make-wifi-fast] " Dave Taht
2022-10-26 20:38           ` Sebastian Moeller
2022-10-26 20:42             ` Dave Taht
2022-10-26 20:53               ` Sebastian Moeller
2022-10-18 18:07   ` [Bloat] " 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/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='CAHb6LvrdRxu7-Qu82WVG4y8cugPRujFL4WmrgJgZ=2LSMtY9XA@mail.gmail.com' \
    --to=bob.mcmahon@broadcom.com \
    --cc=bloat@lists.bufferbloat.net \
    --cc=cake@lists.bufferbloat.net \
    --cc=cheshire@apple.com \
    --cc=dave.taht@gmail.com \
    --cc=make-wifi-fast@lists.bufferbloat.net \
    --cc=rpm@lists.bufferbloat.net \
    /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