Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2011 19:57:28 +0200
From:      Petar Bogdanovic <petar@smokva.net>
To:        freebsd-wireless@freebsd.org
Subject:   Re: ath: tx-rate stops adapting after a while
Message-ID:  <20110424175728.GA12886@pintail.smokva.net>
In-Reply-To: <BANLkTikrphNg35odW2anDPjJj5r0pKzn_g@mail.gmail.com>
References:  <20110421222524.GA5730@pintail.smokva.net> <BANLkTimNZOjka0V3YgtkVYFONDwZWtJGuA@mail.gmail.com> <20110422090705.GA1183@pintail.smokva.net> <BANLkTinqWxtt57LboPmiCGXjtfc8=nwzHA@mail.gmail.com> <20110422153827.GA26063@pintail.smokva.net> <BANLkTikrphNg35odW2anDPjJj5r0pKzn_g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 23, 2011 at 01:14:43AM +0800, Adrian Chadd wrote:
>
> Do that when it's happy @ 54mbit, then when it isn't. Let's compare.

Ok, here we go:

(1) sample_stats after a few hours happiness only

    [HWADDR-FREEBSD-AP] refcnt 5 static_rix 0 ratemask 0x0
    [ 250] cur rix 0 since switch: packets 0 ticks 0
    [ 250] last sample 0 cur sample 0 packets sent 0
    [ 250] packets since sample 0 sample tt 0
    [1600] cur rix 0 since switch: packets 0 ticks 0
    [1600] last sample 0 cur sample 0 packets sent 0
    [1600] packets since sample 0 sample tt 0

    [HWADDR-NETBSD-STA] refcnt 3 static_rix -1 ratemask 0xfcf
    [ 250] cur rix 10 since switch: packets 1 ticks 96635490
    [ 250] last sample 11 cur sample -1 packets sent 2819633
    [ 250] packets since sample 8 sample tt 444
    [1600] cur rix 11 since switch: packets 2 ticks 96515658
    [1600] last sample 10 cur sample -1 packets sent 5805129
    [1600] packets since sample 2 sample tt 672
    [ 1: 250]       24:24       (100%) T       24 F    0 avg  3216 last 169832
    [ 1:1600]        5:5        (100%) T        6 F    0 avg 16940 last 9861244
    [11:1600]        1:1        (100%) T        1 F    0 avg  2085 last 9867211
    [12: 250]     1972:1972     (100%) T     2111 F    0 avg   673 last 3197972
    [18: 250]     7173:7172     ( 99%) T     7737 F    0 avg   639 last 3177528
    [18:1600]        3:2        ( 66%) T        8 F    1 avg  1820 last 8846212
    [24: 250]    42567:42563    ( 99%) T    44791 F    0 avg   516 last 3175409
    [24:1600]      927:923      ( 99%) T      992 F    0 avg  1102 last 3216447
    [36: 250]   339953:339935   ( 99%) T   355486 F    0 avg   505 last 3161841
    [36:1600]    12573:12555    ( 99%) T    13346 F    0 avg   850 last 3204473
    [48: 250]   986272:986199   ( 99%) T  1030354 F    0 avg   448 last 240193
    [48:1600]   896245:896161   ( 99%) T   927385 F    0 avg   768 last 3178500
    [54: 250]  1441934:1441804  ( 99%) T  1505752 F    0 avg   477 last 360073
    [54:1600]  4895676:4895500  ( 99%) T  5048083 F    0 avg   644 last 360095

    [HWADDR-OSX106-STA] refcnt 3 static_rix -1 ratemask 0xfcf
    [ 250] cur rix 11 since switch: packets 7 ticks 96872650
    [ 250] last sample 8 cur sample -1 packets sent 268
    [ 250] packets since sample 7 sample tt 492
    [1600] cur rix 10 since switch: packets 128 ticks 96873953
    [1600] last sample 11 cur sample -1 packets sent 19736
    [1600] packets since sample 1 sample tt 644
    [ 1: 250]        5:5        (100%) T        6 F    0 avg  3980 last 170183
    [ 1:1600]        1:0        (  0%) T        3 F    1 avg 28642 last 62489
    [12: 250]        8:8        (100%) T       11 F    0 avg  1195 last 214446
    [12:1600]        2:2        (100%) T        2 F    0 avg  1480 last 57381
    [18: 250]       12:12       (100%) T       14 F    0 avg   655 last 155966
    [18:1600]      146:146      (100%) T      164 F    0 avg  1323 last 52414
    [24: 250]       16:16       (100%) T       19 F    0 avg   631 last 18212
    [24:1600]      905:904      ( 99%) T     1030 F    0 avg  1260 last 6699
    [36: 250]        6:6        (100%) T        9 F    0 avg   829 last 143665
    [36:1600]      605:603      ( 99%) T      681 F    0 avg   941 last 2139
    [48: 250]       28:27       ( 96%) T       33 F    0 avg   635 last 18481
    [48:1600]     5598:5595     ( 99%) T     6180 F    0 avg   771 last 1259
    [54: 250]      199:199      (100%) T      214 F    0 avg   519 last 3158
    [54:1600]    12488:12485    ( 99%) T    13925 F    0 avg   814 last 1307


(2) sample_stats after a few hours being happy, then depressed.. for the
    sake of comparison, I included the stats for an always happy OSX box

    [HWADDR-FREEBSD-AP] refcnt 4 static_rix 0 ratemask 0x0
    [ 250] cur rix 0 since switch: packets 0 ticks 0
    [ 250] last sample 0 cur sample 0 packets sent 0
    [ 250] packets since sample 0 sample tt 0
    [1600] cur rix 0 since switch: packets 0 ticks 0
    [1600] last sample 0 cur sample 0 packets sent 0
    [1600] packets since sample 0 sample tt 0

    [HWADDR-NETBSD-STA] refcnt 65 static_rix -1 ratemask 0xfcf
    [ 250] cur rix 9 since switch: packets 2 ticks 84635202
    [ 250] last sample 11 cur sample -1 packets sent 7530330
    [ 250] packets since sample 6 sample tt 444
    [1600] cur rix 3 since switch: packets 20 ticks 84658350
    [1600] last sample 8 cur sample -1 packets sent 168841
    [1600] packets since sample 2 sample tt 940
    [ 1: 250]      546:545      ( 99%) T      717 F    0 avg  4149 last 20012
    [ 1:1600]        1:0        (  0%) T        3 F    1 avg 14016 last 898932
    [ 5: 250]       48:48       (100%) T       49 F    0 avg  1314 last 5066666
    [11: 250]      373:373      (100%) T      429 F    0 avg  1374 last 6129628
    [11:1600]   168619:168619   (100%) T   175842 F    0 avg  2142 last 323
    [12: 250]    33141:33021    ( 99%) T    36265 F    0 avg   670 last 225657
    [12:1600]      152:32       ( 21%) T      663 F  115 avg  2218 last 6130416
    [18: 250]    56864:56664    ( 99%) T    63313 F    0 avg   633 last 224868
    [18:1600]      216:16       (  7%) T     1360 F  185 avg  1286 last 3206776
    [24: 250]   190793:190116   ( 99%) T   207079 F    0 avg   512 last 188474
    [24:1600]      686:9        (  1%) T     5050 F  638 avg   940 last 1244466
    [36: 250]   746945:746368   ( 99%) T   789265 F    0 avg   488 last 23353
    [36:1600]      585:8        (  1%) T     4082 F  577 avg   892 last 289086
    [48: 250]  2384880:2383906  ( 99%) T  2503980 F    0 avg   556 last 135017
    [48:1600]     1006:32       (  3%) T     6951 F  970 avg   691 last 279662
    [54: 250]  4124833:4121865  ( 99%) T  4326694 F    0 avg   513 last 66133
    [54:1600]     3031:63       (  2%) T    21813 F 2960 avg   767 last 357176

    [HWADDR-OSX106-STA] refcnt 7 static_rix -1 ratemask 0xfcf
    [ 250] cur rix 10 since switch: packets 4 ticks 84656713
    [ 250] last sample 11 cur sample -1 packets sent 110264
    [ 250] packets since sample 2 sample tt 444
    [1600] cur rix 11 since switch: packets 54 ticks 84657320
    [1600] last sample 10 cur sample 10 packets sent 505325
    [1600] packets since sample 3 sample tt 672
    [ 1: 250]       20:17       ( 85%) T       27 F    0 avg  3977 last 20537
    [ 1:1600]       17:12       ( 70%) T       36 F    0 avg 25887 last 115951
    [ 5: 250]        2:2        (100%) T        2 F    0 avg  1295 last 5277352
    [ 5:1600]        1:1        (100%) T        1 F    0 avg  3259 last 3356857
    [11:1600]        4:4        (100%) T        7 F    0 avg  5426 last 115902
    [12: 250]      581:581      (100%) T      585 F    0 avg   597 last 39452
    [12:1600]        3:3        (100%) T        8 F    0 avg 13568 last 1076285
    [18: 250]     1263:1262     ( 99%) T     1290 F    0 avg   600 last 159936
    [18:1600]      817:816      ( 99%) T      847 F    0 avg  2927 last 356098
    [24: 250]     3462:3461     ( 99%) T     3526 F    0 avg   509 last 35807
    [24:1600]     8321:8317     ( 99%) T     8588 F    0 avg  1000 last 105002
    [36: 250]    11383:11380    ( 99%) T    11578 F    0 avg   492 last 8258
    [36:1600]     2220:2215     ( 99%) T     2402 F    0 avg   909 last 10730
    [48: 250]    32340:32335    ( 99%) T    32821 F    0 avg   448 last 1812
    [48:1600]    74473:74455    ( 99%) T    76257 F    0 avg   685 last 2116
    [54: 250]    61249:61243    ( 99%) T    62101 F    0 avg   463 last 2078
    [54:1600]   419600:419540   ( 99%) T   426599 F    0 avg   689 last 1233



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110424175728.GA12886>