From: Hauke Mehrtens <hauke@hauke-m.de>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: "John W. Linville" <linville@tuxdriver.com>,
Herton Ronaldo Krzesinski <herton@mandriva.com.br>,
Hin-Tak Leung <htl10@users.sourceforge.net>,
barreyromartin@gmail.com, linux-wireless@vger.kernel.org
Subject: Re: [RFT V2] rtl8187: Fix OFDM power settings for RTL8187L
Date: Fri, 30 Jan 2009 22:28:18 +0100 [thread overview]
Message-ID: <498370F2.4040804@hauke-m.de> (raw)
In-Reply-To: <497F67D9.5040709@lwfinger.net>
[-- Attachment #1: Type: text/plain, Size: 10741 bytes --]
Larry Finger schrieb:
> Hauke Mehrtens wrote:
>> With this patch included and pid the rate goes up to 24Mb/s, but the
>> connection is stable. Without this patch is is only up to 11Mb/s. The
>> connection is still unusable with minstrel, it goes up too fare. It
>> starts with 24Mb/s and the connection drops. After some time it goes up
>> to 54Mb/s, but then it goes down again and the connection is working
>> again for a minute till the procedure begins again.
>>
>> What do you mean with rc_stats ?
>
> The statistics for the mistrel algorithn are presented in the /sys
> tree in a file named rc_stats. The easy way to see that data is to do
> the following:
>
> STATS=$(find /sys -name rc_stats)
> sudo cat $STATS
>
> You will get output that looks like
>
> rate throughput ewma prob this prob this succ/attempt
> success attempts
> 1 0.9 99.9 100.0 0( 0) 855
> 873
> 2 1.8 95.7 100.0 0( 0) 11
> 11
> P 5.5 5.0 99.9 100.0 0( 0) 77
> 77
> 11 9.1 95.9 100.0 0( 0) 14
> 16
> 6 5.4 95.6 100.0 0( 0) 16
> 19
> 9 8.0 95.7 100.0 0( 0) 11
> 11
> 12 10.6 95.7 100.0 0( 0) 11
> 11
> 18 15.5 95.7 100.0 0( 0) 11
> 11
> 24 20.4 96.0 100.0 0( 0) 276
> 279
> 36 5.9 96.0 100.0 0( 0) 76
> 78
> t 48 6.5 76.5 100.0 0( 0) 2958
> 3034
> T 54 20.0 99.9 100.0 1( 1) 6220
> 6400
>
> Total packet count:: ideal 9216 lookaround 485
>
> These data are for my RTL8187, which is running at 54 Mb/s (the line
> with the T) and the success rate at this speed is 6220/6400 (97%).
>
> Let the mistrel method go through several of those cycles that you
> mention and then dump and post this table. Perhaps the experts will
> see what is wrong.
>
> Larry
Hi Larry,
I captured the rc_stats for my rtl8187 device. These stats are created with kernel
2.6.29-rc3-wl (master-2009-01-28). I tried to get traffic through the link, but I was almost
dead. Most of the time it showed me 54Mb/s in iwconfig.
Hauke
hauke@hauke-desktop:~/kamikaze/openwrt5$ sudo cat $STATS
rate throughput ewma prob this prob this succ/attempt success attempts
1 0.2 25.0 100.0 0( 0) 1 1
2 0.0 3.1 12.5 0( 0) 1 8
5.5 1.2 25.0 100.0 0( 0) 1 1
P 11 5.5 57.8 12.5 0( 0) 3924 4064
6 1.4 25.0 100.0 0( 0) 1 1
9 2.1 25.0 100.0 0( 0) 1 1
12 2.7 25.0 100.0 0( 0) 1 1
18 2.0 12.5 50.0 0( 0) 1 2
24 5.3 25.0 100.0 0( 0) 1 1
t 36 6.8 22.3 12.5 0( 0) 6 34
T 48 9.1 23.3 12.5 1( 8) 27 190
54 1.3 3.1 12.5 0( 0) 1 8
Total packet count:: ideal 212 lookaround 11
hauke@hauke-desktop:~/kamikaze/openwrt5$ sudo cat $STATS
rate throughput ewma prob this prob this succ/attempt success attempts
1 0.2 25.0 100.0 0( 0) 1 1
2 0.0 3.1 12.5 0( 0) 1 8
5.5 1.2 25.0 100.0 0( 0) 1 1
P 11 5.5 57.8 12.5 0( 0) 3924 4064
6 1.4 25.0 100.0 0( 0) 1 1
9 2.1 25.0 100.0 0( 0) 1 1
12 2.7 25.0 100.0 0( 0) 1 1
18 2.0 12.5 50.0 0( 0) 1 2
24 5.3 25.0 100.0 0( 0) 1 1
t 36 5.8 19.2 10.0 0( 0) 7 44
T 48 6.0 15.4 12.5 1( 8) 36 273
54 1.3 3.1 12.5 0( 0) 1 8
Total packet count:: ideal 222 lookaround 11
hauke@hauke-desktop:~/kamikaze/openwrt5$ sudo cat $STATS
rate throughput ewma prob this prob this succ/attempt success attempts
1 0.2 25.0 100.0 0( 0) 1 1
2 0.1 5.4 12.5 0( 0) 2 16
5.5 1.2 25.0 100.0 0( 0) 1 1
P 11 4.4 46.4 12.5 0( 0) 3925 4072
6 1.4 25.0 100.0 0( 0) 1 1
9 2.1 25.0 100.0 0( 0) 1 1
12 2.7 25.0 100.0 0( 0) 1 1
18 2.0 12.5 12.5 0( 0) 2 10
24 4.6 21.8 12.5 0( 0) 2 9
t 36 4.6 15.3 12.5 0( 0) 11 76
T 48 6.4 16.3 12.5 1( 8) 83 649
54 1.3 3.1 12.5 0( 0) 1 8
Total packet count:: ideal 274 lookaround 14
hauke@hauke-desktop:~/kamikaze/openwrt5$ sudo cat $STATS
rate throughput ewma prob this prob this succ/attempt success attempts
1 0.1 17.7 12.5 0( 0) 4 25
2 0.3 16.6 50.0 0( 0) 3 18
5.5 1.9 39.6 100.0 0( 0) 4 18
11 3.0 31.6 12.5 0( 0) 3927 4088
6 0.9 17.4 12.5 0( 0) 4 27
9 1.4 17.7 12.5 0( 0) 4 25
12 4.6 41.9 100.0 0( 0) 4 14
P 18 7.9 48.8 12.5 0( 0) 120 206
24 7.4 34.7 12.5 0( 0) 133 418
T 36 11.6 38.1 12.5 1( 8) 21 135
48 5.3 13.6 12.5 0( 0) 217 1684
t 54 8.3 19.2 12.5 0( 0) 139 963
Total packet count:: ideal 793 lookaround 41
hauke@hauke-desktop:~/kamikaze/openwrt5$ sudo cat $STATS
rate throughput ewma prob this prob this succ/attempt success attempts
1 0.1 17.7 12.5 0( 0) 4 25
2 0.3 16.6 50.0 0( 0) 3 18
5.5 1.9 39.6 100.0 0( 0) 4 18
11 3.0 31.6 12.5 0( 0) 3927 4088
6 0.9 17.4 12.5 0( 0) 4 27
9 1.4 17.7 12.5 0( 0) 4 25
12 4.6 41.9 100.0 0( 0) 4 14
P 18 7.9 48.8 12.5 0( 0) 120 206
24 7.4 34.7 12.5 0( 0) 133 418
T 36 11.6 38.1 12.5 1( 8) 21 135
48 5.3 13.6 12.5 0( 0) 217 1684
t 54 8.3 19.2 12.5 0( 0) 139 963
Total packet count:: ideal 793 lookaround 41
hauke@hauke-desktop:~/kamikaze/openwrt5$ sudo cat $STATS
rate throughput ewma prob this prob this succ/attempt success attempts
1 0.1 17.7 12.5 0( 0) 4 25
2 0.7 37.4 100.0 0( 0) 4 19
5.5 1.9 39.6 100.0 0( 0) 4 18
11 2.5 26.8 12.5 0( 0) 3928 4096
6 0.9 17.4 12.5 0( 0) 4 27
9 1.4 17.7 12.5 0( 0) 4 25
P 12 4.6 41.9 100.0 0( 0) 4 14
18 5.5 33.8 12.5 0( 0) 124 229
24 5.3 25.0 12.5 0( 0) 136 442
t 36 5.8 19.3 12.5 0( 0) 33 224
48 5.3 13.6 12.5 0( 0) 217 1684
T 54 6.7 15.5 12.5 1( 8) 153 1061
Total packet count:: ideal 826 lookaround 43
hauke@hauke-desktop:~/kamikaze/openwrt5$ sudo cat $STATS
rate throughput ewma prob this prob this succ/attempt success attempts
tP 1 0.7 81.8 50.0 0( 0) 21 23
2 0.0 0.0 0.0 0( 0) 0 0
5.5 0.0 0.0 0.0 0( 0) 0 0
11 0.0 0.0 0.0 0( 0) 0 0
6 0.0 0.0 0.0 0( 0) 0 0
9 0.0 0.0 0.0 0( 0) 0 0
12 0.0 0.0 0.0 0( 0) 0 0
18 0.0 0.0 0.0 0( 0) 0 0
24 0.0 0.0 0.0 0( 0) 0 0
T 36 4.5 14.8 12.5 1( 8) 15 106
48 0.0 0.0 0.0 0( 0) 0 0
54 0.0 0.0 0.0 0( 0) 0 0
Total packet count:: ideal 36 lookaround 1
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 898 bytes --]
next prev parent reply other threads:[~2009-01-30 21:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-23 0:03 [PATCH] rtl8187: Fix driver to return TX retry info for RTL8187L Larry Finger
2009-01-23 15:07 ` Hauke Mehrtens
2009-01-23 15:31 ` John W. Linville
2009-01-24 12:12 ` Hauke Mehrtens
2009-01-24 17:45 ` Larry Finger
2009-01-25 16:55 ` Larry Finger
2009-01-26 1:36 ` [RFT] rtl8187: Fix OFDM power settings " Larry Finger
2009-01-26 3:19 ` [RFT V2] " Larry Finger
2009-01-27 19:24 ` Hauke Mehrtens
2009-01-27 19:41 ` Hin-Tak Leung
2009-01-27 20:00 ` Larry Finger
2009-01-30 21:28 ` Hauke Mehrtens [this message]
2009-01-23 15:34 ` [PATCH] rtl8187: Fix driver to return TX retry info " Larry Finger
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=498370F2.4040804@hauke-m.de \
--to=hauke@hauke-m.de \
--cc=Larry.Finger@lwfinger.net \
--cc=barreyromartin@gmail.com \
--cc=herton@mandriva.com.br \
--cc=htl10@users.sourceforge.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/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.