Search Linux Wireless

Re: [RFC/RFT] minstrel_ht: new rate control module for 802.11n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/3/2 Felix Fietkau <nbd@xxxxxxxxxxx>:
> [snip] also the hardware
> doesn't even provide enough information to do any kind of precise
> calculation on airtime utilization by tx attempts. For instance, I don't
> get any information on how many frames in an A-MPDU were successfully
> transmitted on each retransmission attempt.

You mean the hardware interprets the block-ack and keeps retrying the
un-acked frames? I thought it stopped as soon as it got a block-ack to
let software sort out the acked and un-acked frames and handle the
"partial" A-MPDU retry.

> Software retries are being taken into account on some level, because a
> software retry is simply going to be part of the next A-MPDU, which will
> get accounted for in the rate control code.

If my guess on block-ack implementation is correctly there is still
have a major uncertainty: if the first frame in the A-MPDU is
transferred correctly but every other frame in the AMPDU fails (and
has to be retransmitted in other A-MPDUs) you run the risk of counting
that as a success (and of course wise-versa)...

> This early version will probably not make a fully optimal tradeoff
> between retransmission probability and raw throughput, but that can
> probably be tweaked over time, simply by adjusting the internal
> throughput metric calculation to something that gets close in practice
> at least most of the time.

I agree this new code is a big step forward and the aim here (with
this patch) should of course not be a fully optimal solution. But
shouldn't we try to at least set up a roadmap to remove as much as
possible of these fundamental flaws / uncertainties?

The reason I'm so interested in this subject is I've tried to tweak
the ath9k rate control to behave reasonably for me. This has taken a
lot of time and the result is rather poor. Also, these tweaks are not
general enough to even be contributed back as patches. My feeling is
that the reason it is so difficult to get a rate control algorithm to
work for all use-cases is that the underlying model is just plain
wrong. Radio environments are very varied and complex. Add to that all
the other variability, such as ANI dynamically adjusting radio chain
parameters and it's very very difficult to know what is "incorrect but
good enough".

/Björn
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux