From: Felix Fietkau <nbd@openwrt.org>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Sujith Manoharan <sujith@msujith.org>,
netdev@vger.kernel.org, Dave Taht <dave.taht@gmail.com>
Subject: Re: TCP performance regression
Date: Mon, 11 Nov 2013 18:44:56 +0100 [thread overview]
Message-ID: <52811798.1060805@openwrt.org> (raw)
In-Reply-To: <1384191515.16391.49.camel@edumazet-glaptop2.roam.corp.google.com>
On 2013-11-11 18:38, Eric Dumazet wrote:
> On Mon, 2013-11-11 at 17:38 +0100, Felix Fietkau wrote:
>> I don't think this issue is about something as simple as timer handling
>> for tx completion (or even broken/buggy drivers).
>>
>> There's simply no way to make 802.11 aggregation work well and have
>> similar tx completion latency characteristics as Ethernet devices.
>>
>> 802.11 aggregation reduces the per-packet airtime overhead by combining
>> multiple packets into one transmission (saving a lot of time getting a
>> tx opportunity, transmitting the PHY header, etc.), which makes the
>> 'line rate' heavily depend on the amount of buffering.
>
> How long a TX packet is put on hold hoping a following packet will
> come ?
TX packets in the aggregation queue are held as long as the hardware
queue holds two A-MPDUs (each of which can contain up to 32 packets).
If the aggregation queues are empty and the hardware queue is not full,
the next tx packet from the network stack is pushed to the hardware
queue immediately.
- Felix
next prev parent reply other threads:[~2013-11-11 17:45 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-11 5:30 TCP performance regression Sujith Manoharan
2013-11-11 5:55 ` Eric Dumazet
2013-11-11 6:07 ` Sujith Manoharan
2013-11-11 6:54 ` Eric Dumazet
2013-11-11 8:19 ` Sujith Manoharan
2013-11-11 14:27 ` Eric Dumazet
2013-11-11 14:39 ` Eric Dumazet
2013-11-11 16:44 ` Eric Dumazet
2013-11-11 15:05 ` David Laight
2013-11-11 15:29 ` Eric Dumazet
2013-11-11 15:43 ` David Laight
2013-11-11 16:17 ` Eric Dumazet
2013-11-11 16:35 ` David Laight
2013-11-11 17:41 ` Eric Dumazet
2013-11-12 7:42 ` Willy Tarreau
2013-11-12 14:16 ` Eric Dumazet
2013-11-14 9:54 ` Dave Taht
2013-11-11 16:13 ` Sujith Manoharan
2013-11-11 16:38 ` Felix Fietkau
2013-11-11 17:38 ` Eric Dumazet
2013-11-11 17:44 ` Felix Fietkau [this message]
2013-11-11 18:03 ` Dave Taht
2013-11-11 18:29 ` Sujith Manoharan
2013-11-11 18:31 ` Dave Taht
2013-11-11 19:11 ` Ben Greear
2013-11-11 19:24 ` Dave Taht
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52811798.1060805@openwrt.org \
--to=nbd@openwrt.org \
--cc=dave.taht@gmail.com \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=sujith@msujith.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.