From: Denys Fedoryshchenko <denys@wbc.net.sa>
To: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: Johannes Berg <johannes@sipsolutions.net>,
netdev <netdev@vger.kernel.org>,
linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: creating netdev queues on the fly?
Date: Thu, 10 Nov 2011 16:55:54 +0200 [thread overview]
Message-ID: <7be02f26a67fac4c7448a74f1f17aa01@visp.net.lb> (raw)
In-Reply-To: <CAGXE3d-_RFgW_zwfX2vTBe1psXmgoBFO5pd5cAgtYo=Jwpddhw@mail.gmail.com>
On Thu, 10 Nov 2011 15:40:01 +0100, Helmut Schaa wrote:
>>
>> I think this might also make implementing reservation (tspec)
>> easier.
>> Not sure if anyone wants/needs that though.
>
> Wouldn't it be possible to implement something like this as a qdisc
> on top of
> mq that makes use of the current tx rate per station to distribute
> the airtime
> equitably?
>
> Of course this would require the qdisc to know the tx rate a priori
> but for
> mac80211 drivers we could just use last_tx_rate as an estimate ...
>
> Helmut
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Maybe someone will make something like "tfifo" in future :)
And when clients are connected, each have his own queue.
then, for example qdisc add dev wlan0 parent 1:10 handle 10 tfifo limit
100ms
If packet are older than 100ms will be dropped, or new packets are not
added, if
there is packet older than 100ms are not sent yet.
I am not sure that bandwidth will be distributed fairly, it is
different question,
probably each queue should have some "limited chunk of time" to send
data.
And again, 802.11a/b/g at least are half-duplex and CSMA, and without
polling/TDMA or CTS/RTS tricks
it will be complicated to give guaranteed chunks of time.
P.S. That's just a dream :)
---
Network engineer
Denys Fedoryshchenko
P.O.Box 41553 Jeddah 21531
Tel: 920023422
Fax: +966 26501784
E-Mail: denys@wbc.net.sa
next prev parent reply other threads:[~2011-11-10 15:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-10 13:58 creating netdev queues on the fly? Johannes Berg
2011-11-10 14:35 ` Eric Dumazet
2011-11-10 16:26 ` Johannes Berg
2011-11-10 17:00 ` Eric Dumazet
2011-11-10 14:40 ` Helmut Schaa
2011-11-10 14:55 ` Denys Fedoryshchenko [this message]
2011-11-10 15:25 ` Dave Taht
2011-11-11 11:02 ` Eric Dumazet
2011-11-11 11:42 ` Dave Taht
2011-11-11 11:54 ` Eric Dumazet
2011-11-12 9:45 ` Eric Dumazet
2011-11-10 14:47 ` 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=7be02f26a67fac4c7448a74f1f17aa01@visp.net.lb \
--to=denys@wbc.net.sa \
--cc=helmut.schaa@googlemail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox