linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnd Hannemann <hannemann@nets.rwth-aachen.de>
To: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Minstrel's definition of best throughput
Date: Thu, 20 Aug 2009 16:14:32 +0200	[thread overview]
Message-ID: <4A8D5A48.5070809@nets.rwth-aachen.de> (raw)

Hi,

while watching the rc_stats of minstrel, I noticed
that minstrel does not choose the rate with best throughput.
For example, I often see something like this:

rate     throughput  ewma prob   this prob  this succ/attempt   success    attempts
     1         0.8       89.1      100.0          0(  0)       1490        2257
     2         1.8       95.3      100.0          0(  0)         13          15
     5.5       4.8       95.5      100.0          0(  0)         17          22
  P 11         9.4       98.5      100.0          0(  0)       1532        2195
     6         5.4       95.6      100.0          0(  0)         28          88
     9         8.1       96.2      100.0          0(  0)        143         431
    12         8.7       78.8      100.0          0(  0)        209         814
    18        12.3       75.8      100.0          0(  0)        302        2416
    24        18.3       86.2      100.0          0(  0)       5765        9196
    36         2.6       85.2      100.0          0(  0)     736813      886517
T   48        14.7       97.4      100.0          2(  2)    3433862     4411674
 t  54         8.5       73.3      100.0          0(  0)    1488241     2180261


Why did minstrel chose the 48M rate, and not 24M for the best throughput rate?
Also "this prob" seems fishy to me, its always 100...
Another thing: I noticed that the througput field in minstrel_rate is never used?
Should I send a patch, removing it? Or does anyone remember why it was there
in the first place?


Best regards,
Arnd

P.S. runnning 2.6.31-rc6 with ath5k...




             reply	other threads:[~2009-08-20 14:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-20 14:14 Arnd Hannemann [this message]
2009-08-20 20:45 ` Minstrel's definition of best throughput Felix Fietkau

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=4A8D5A48.5070809@nets.rwth-aachen.de \
    --to=hannemann@nets.rwth-aachen.de \
    --cc=linux-wireless@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;
as well as URLs for NNTP newsgroup(s).