#17582: poor WiFi performance / ath9k / TP-LINK TL-WR1043ND v1
--------------------------+------------------------
  Reporter:  bittorf@…    |      Owner:  developers
      Type:  defect       |     Status:  closed
  Priority:  normal       |  Milestone:
 Component:  packages     |    Version:  Trunk
Resolution:  no_response  |   Keywords:
--------------------------+------------------------

Comment (by bittorf@…):

 i can still see it with r42464 - but much more seldom:

 {{{
 type         rate     throughput  ewma prob   this prob  retry   this
 succ/attempt   success    attempts
 CCK/LP        1.0M           0.1       18.5         0.0      2
 0(  0)       398        8688
 CCK/SP        2.0M           0.0        0.8         0.0      2
 0(  0)         4          28
 CCK/SP        5.5M           0.0        1.9         0.0      2
 0(  0)         5          42
 CCK/SP       11.0M           2.7       40.5       100.0      2
 0(  0)        21         142
 HT20/LGI  t  MCS0            2.5       41.5       100.0      3
 0(  0)       771        5619
 HT20/LGI     MCS1            0.0        6.8         0.0      4
 0(  0)       331        1435
 HT20/LGI T P MCS2           10.0       61.1       100.0      5
 1(  1)       525        2721
 HT20/LGI     MCS3            2.5       13.1         0.0      5
 0(  0)       801        3469
 HT20/LGI     MCS4            3.9       14.5         0.0      5
 0(  0)      1535        4748
 HT20/LGI     MCS5            0.0        9.6         0.0      5
 0(  0)      1274        4841
 HT20/LGI     MCS6            3.6       10.2         0.0      5
 0(  0)      3072        7949
 HT20/LGI     MCS7            0.0        6.4         0.0      5
 0(  0)      1133        4370
 HT20/LGI     MCS8            5.6       47.9       100.0      4
 0(  0)        59         437
 HT20/LGI     MCS9            0.0        1.3         0.0      5
 0(  0)        11         235
 HT20/LGI     MCS10           0.0        9.7         0.0      5
 0(  0)       348        2273
 HT20/LGI     MCS11           3.9       12.1         0.0      5
 0(  0)        82         944
 HT20/LGI     MCS12           0.0        7.3         0.0      5
 0(  0)        72         750
 HT20/LGI     MCS13           0.0        1.6         0.0      5
 0(  0)        68         911
 HT20/LGI     MCS14           0.0        0.4         0.0      6
 0(  0)        56         546
 HT20/LGI     MCS15           0.0        0.4         0.0      5
 0(  0)        33         259

 Total packet count::    ideal 11025      lookaround 454
 Average A-MPDU length: 1.0
 }}}

 {{{
 root@box:~ iw dev wlan0-1 station get 00:21:6a:32:7c:1c
 Station 00:21:6a:32:7c:1c (on wlan0-1)
         inactive time:  10 ms
         rx bytes:       10508512
         rx packets:     68929
         tx bytes:       72724777
         tx packets:     67989
         tx retries:     76733
         tx failed:      2712
         signal:         -50 [-51, -57, -61] dBm
         signal avg:     -50 [-53, -55, -60] dBm
         tx bitrate:     26.0 MBit/s MCS 9
         rx bitrate:     12.0 MBit/s
         authorized:     yes
         authenticated:  yes
         preamble:       short
         WMM/WME:        yes
         MFP:            no
         TDLS peer:      no
 }}}

 {{{
 root@box:~ for W in reset interrupt queues;do for F in
 /sys/kernel/debug/ieee80211/phy*/ath9k/$W; do echo "### $F"; cat $F; done;
 done
 ### /sys/kernel/debug/ieee80211/phy0/ath9k/reset
     Baseband Hang:  0
 Baseband Watchdog:  0
    Fatal HW Error:  0
       TX HW error:  0
  Transmit timeout:  0
      TX Path Hang:  0
       PLL RX Hang:  0
          MAC Hang:  2
      Stuck Beacon:  2
         MCI Reset:  0
 Calibration error:  0
 ### /sys/kernel/debug/ieee80211/phy0/ath9k/interrupt
                    RX:   17385331
                 RXEOL:          0
                 RXORN:          0
                    TX:     923033
                 TXURN:          0
                   MIB:          0
                 RXPHY:          0
                 RXKCM:          0
                  SWBA:    4690362
                 BMISS:          0
                   BNR:          0
                   CST:       1869
                   GTT:          0
                   TIM:          0
                CABEND:          0
              DTIMSYNC:          0
                  DTIM:          0
                TSFOOR:          0
                   MCI:          0
              GENTIMER:          0
                 TOTAL:   22166554
 SYNC_CAUSE stats:
              Sync-All:          0
               RTC-IRQ:          0
               MAC-IRQ:          0
 EEPROM-Illegal-Access:          0
           APB-Timeout:          0
     PCI-Mode-Conflict:          0
           HOST1-Fatal:          0
            HOST1-Perr:          0
        TRCV-FIFO-Perr:          0
           RADM-CPL-EP:          0
   RADM-CPL-DLLP-Abort:          0
    RADM-CPL-TLP-Abort:          0
     RADM-CPL-ECRC-Err:          0
      RADM-CPL-Timeout:          0
     Local-Bus-Timeout:          0
             PM-Access:          0
             MAC-Awake:          0
            MAC-Asleep:          0
      MAC-Sleep-Access:          0
 ### /sys/kernel/debug/ieee80211/phy0/ath9k/queues
 (VO):  qnum: 0 qdepth:  0 ampdu-depth:  0 pending:   0 stopped: 0
 (VI):  qnum: 1 qdepth:  0 ampdu-depth:  0 pending:   0 stopped: 0
 (BE):  qnum: 2 qdepth:  2 ampdu-depth:  2 pending:   3 stopped: 0
 (BK):  qnum: 3 qdepth:  0 ampdu-depth:  0 pending:   0 stopped: 0
 (CAB): qnum: 8 qdepth:  0 ampdu-depth:  0 pending:   0 stopped: 0
 }}}

 it is fast again, after calling 'wifi':

 {{{
 type         rate     throughput  ewma prob   this prob  retry   this
 succ/attempt   success    attempts
 CCK/LP        1.0M           0.7      100.0       100.0      0
 0(  0)         2           2
 CCK/SP        2.0M           0.0        0.0         0.0      0
 0(  0)         0           0
 CCK/SP        5.5M           0.0        0.0         0.0      0
 0(  0)         0           0
 CCK/SP       11.0M           0.0        0.0         0.0      0
 0(  0)         0           0
 HT20/LGI     MCS0            5.6       97.9       100.0      3
 0(  0)        10          11
 HT20/LGI     MCS1            0.0        0.0         0.0      0
 0(  0)         0           0
 HT20/LGI     MCS2            0.0        0.0         0.0      0
 0(  0)         0           0
 HT20/LGI     MCS3            0.0        0.0         0.0      0
 0(  0)         0           0
 HT20/LGI     MCS4            0.0        0.0         0.0      0
 0(  0)         0           1
 HT20/LGI  t  MCS5           30.3       97.9       100.0      5
 0(  0)        37          42
 HT20/LGI T P MCS6           32.5       93.3       100.0      5
 1(  1)        23          26
 HT20/LGI     MCS7            0.0        0.0         0.0      0
 0(  0)         0           0
 HT20/LGI     MCS8            0.0        0.0         0.0      0
 0(  0)         0           0
 HT20/LGI     MCS9            0.0        0.0         0.0      0
 0(  0)         0           0
 HT20/LGI     MCS10           0.0        0.0         0.0      0
 0(  0)         0           0
 HT20/LGI     MCS11           0.0        0.0         0.0      0
 0(  0)         0           0
 HT20/LGI     MCS12           0.0        0.0         0.0      0
 0(  0)         0           1
 HT20/LGI     MCS13           0.0        0.0         0.0      0
 0(  0)         0           1
 HT20/LGI     MCS14           0.0        0.0         0.0      0
 0(  0)         0           1
 HT20/LGI     MCS15           0.0        0.0         0.0      0
 0(  0)         0           1

 Total packet count::    ideal 64      lookaround 7
 Average A-MPDU length: 1.0
 }}}

 {{{
 root@box:~ iw dev wlan0-1 station get 00:21:6a:32:7c:1c
 Station 00:21:6a:32:7c:1c (on wlan0-1)
         inactive time:  10 ms
         rx bytes:       42839
         rx packets:     298
         tx bytes:       25258
         tx packets:     137
         tx retries:     21
         tx failed:      0
         signal:         -53 [-55, -64, -62] dBm
         signal avg:     -51 [-54, -58, -57] dBm
         tx bitrate:     58.5 MBit/s MCS 6
         rx bitrate:     65.0 MBit/s MCS 7
         authorized:     yes
         authenticated:  yes
         preamble:       short
         WMM/WME:        yes
         MFP:            no
         TDLS peer:      no
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/17582#comment:6>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to