General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Michael Richardson <mcr@sandelman.ca>
To: bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] lwn.net's tcp small queues vs wifi aggregation solved
Date: Fri, 22 Jun 2018 17:55:05 -0400	[thread overview]
Message-ID: <18224.1529704505@localhost> (raw)
In-Reply-To: <47EC21F5-94D2-4982-B0BE-FA1FA30E7C88@gmail.com>

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


Jonathan Morton <chromatix99@gmail.com> wrote:
    >>> I would instead frame the problem as "how can we get hardware to
    >>> incorporate extra packets, which arrive between the request and grant
    >>> phases of the MAC, into the same TXOP?"  Then we no longer need to
    >>> think probabilistically, or induce unnecessary delay in the case that
    >>> no further packets arrive.
    >>
    >> I've never looked at the ring/buffer/descriptor structure of the ath9k, but
    >> with most ethernet devices, they would just continue reading descriptors
    >> until it was empty.   Is there some reason that something similar can not
    >> occur?
    >>
    >> Or is the problem at a higher level?
    >> Or is that we don't want to enqueue packets so early, because it's a source
    >> of bloat?

    > The question is of when the aggregate frame is constructed and
    > "frozen", using only the packets in the queue at that instant.  When
    > the MAC grant occurs, transmission must begin immediately, so most
    > hardware prepares the frame in advance of that moment - but how far in
    > advance?

Oh, I understand now.  The aggregate frame has to be constructed, and it's
this frame that is actually in the xmit queue.  I'm guessing that it's in the
hardware, because if it was in the driver, then we could perhaps do something?

    > In principle it should be possible to delay frame construction until
    > the moment the radio is switched on; there is a short period consumed
    > by a data-indepedent preamble sequence.  In the old days, HW designers
    > would have bent over backwards to make that happen.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [




[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 464 bytes --]

  reply	other threads:[~2018-06-22 21:58 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-21  4:58 Dave Taht
2018-06-21  9:22 ` Toke Høiland-Jørgensen
2018-06-21 12:55   ` Eric Dumazet
2018-06-21 15:18     ` Dave Taht
2018-06-21 15:31       ` Caleb Cushing
2018-06-21 15:46         ` Stephen Hemminger
2018-06-21 17:41           ` Caleb Cushing
2018-06-21 15:50         ` Dave Taht
2018-06-21 16:29       ` David Collier-Brown
2018-06-21 16:54         ` Jonathan Morton
2018-06-21 16:43       ` Kathleen Nichols
2018-06-21 19:17         ` Dave Taht
2018-06-21 19:41           ` Sebastian Moeller
2018-06-21 19:51             ` Toke Høiland-Jørgensen
2018-06-21 19:54             ` Dave Taht
2018-06-21 20:11               ` Sebastian Moeller
2018-06-22 14:01           ` Kathleen Nichols
2018-06-22 14:12             ` Jonathan Morton
2018-06-22 14:49               ` Michael Richardson
2018-06-22 15:02                 ` Jonathan Morton
2018-06-22 21:55                   ` Michael Richardson [this message]
2018-06-25 10:38                     ` Toke Høiland-Jørgensen
2018-06-25 23:54                       ` Jim Gettys
2018-06-26  0:07                         ` Jonathan Morton
2018-06-26  0:21                           ` David Lang
2018-06-26  0:36                             ` Simon Barber
2018-06-26  0:44                               ` Jonathan Morton
2018-06-26  0:52                                 ` Jim Gettys
2018-06-26  0:56                                 ` David Lang
2018-06-26 11:16                                   ` Toke Høiland-Jørgensen
2018-06-26  1:27                                 ` Dave Taht
2018-06-26  3:30                                   ` Simon Barber

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=18224.1529704505@localhost \
    --to=mcr@sandelman.ca \
    --cc=bloat@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