Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2012 12:11:20 -0700
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        Derrick Edwards <dantavious313@gmail.com>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Performance of AR9287
Message-ID:  <CAJ-Vmomd%2BGbz5UXNG86WnnS28VCqhPx_VPVr3AZ5Y79b4jD%2BEg@mail.gmail.com>
In-Reply-To: <201209210701.41807.dantavious313@gmail.com>
References:  <201209202357.06358.dantavious313@gmail.com> <CAJ-VmonhW4VXUVfKDeHh_XJV2cfUih82JPaMz1cso05rt7vDAw@mail.gmail.com> <201209210701.41807.dantavious313@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hiya,

those results look fine, what's the problem exactly?

Beforehand it was 2MBit/sec upload, now it's 50MBit/sec
upload/download, that looks within expectations and close to what
ath9k is getting.



Adrian

On 21 September 2012 04:01, Derrick Edwards <dantavious313@gmail.com> wrote:
> On Friday, September 21, 2012 12:50:08 AM Adrian Chadd wrote:
>> Which iperf is upload and which is download?
>>
>> Can you run athstats during the transfer?
>>
>> Adrian
>>
>> On Sep 20, 2012 8:57 PM, "Derrick Edwards" <dantavious313@gmail.com> wrote:
>> >         Hi,
>> >
>> > I am utilizing an mini PCIE AR9287 mini PCI-E.  It is not performing as
>> > expected thus far. I utilized iperf to test speed from laptops (both
>> > FreeBSD
>> > and Windows) to local default gateway. The results are show below with
>> > the first result being executed from the Windows Laptop and FreeBSD
>> > afterwards. Are these results to be expected?
>> >
>> > Derrick
>> >
>> > Windows
>> >
>> > Server listening on TCP port 5001
>> > TCP window size: 64.0 KByte (default)
>> > ------------------------------------------------------------
>> > [  4] local 192.168.15.3 port 5001 connected with 192.168.15.153 port
>> > 58137 ------------------------------------------------------------
>> > Client connecting to 192.168.15.153, TCP port 5001
>> > TCP window size: 56.5 KByte (default)
>> > ------------------------------------------------------------
>> > [  6] local 192.168.15.3 port 49723 connected with 192.168.15.153 port
>> > 5001 Waiting for server threads to complete. Interrupt again to force
>> > quit. [ ID] Interval       Transfer     Bandwidth
>> > [  4]  0.0-10.0 sec  14.3 MBytes  12.0 Mbits/sec
>> > [  6]  0.0-10.0 sec  74.4 MBytes  62.4 Mbits/sec
>> >
>> >
>> > FreeBSD 10.0-CURRENT #0: Thu Sep 20 16:22:56 EDT 2012
>> >
>> > Server listening on TCP port 5001
>> > TCP window size: 64.0 KByte (default)
>> > ------------------------------------------------------------
>> > [  4] local 192.168.15.3 port 5001 connected with 192.168.15.238 port
>> > 44678 ------------------------------------------------------------
>> > Client connecting to 192.168.15.238, TCP port 5001
>> > TCP window size: 32.5 KByte (default)
>> > ------------------------------------------------------------
>> > [  6] local 192.168.15.3 port 40554 connected with 192.168.15.238 port
>> > 5001 Waiting for server threads to complete. Interrupt again to force
>> > quit. [ ID] Interval       Transfer     Bandwidth
>> > [  4]  0.0-10.0 sec  74.4 MBytes  62.3 Mbits/sec
>> > [  6]  0.0-10.1 sec  9.87 MBytes  8.21 Mbits/sec
>> >
>> >
>> >
>> > wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
>> > 1500
>> >
>> >         ether 1c:65:9d:ab:18:6f
>> >         inet 192.168.15.238 netmask 0xffffff00 broadcast 192.168.15.255
>> >         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>> >         media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
>> >         status: associated
>> >         ssid datdude channel 1 (2412 MHz 11g ht/40+) bssid
>> >
>> > 10:bf:48:d9:1e:a0
>> >
>> >         regdomain FCC country US indoor ecm authmode WPA2/802.11i privacy
>> >
>> > ON
>> >
>> >         deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60
>> >         protmode CTS ampdulimit 64k ampdudensity 8 shortgi wme burst
>> >         roaming MANUAL
>> >
>> > ./athstats
>> > 495670       data frames received
>> > 605640       data frames transmit
>> > 1129         tx frames with an alternate rate
>> > 21720        short on-chip tx retries
>> > 15941        long on-chip tx retries
>> > 34           tx failed 'cuz too many retries
>> > 428          mib overflow interrupts
>> > 9            tx linearized to cluster
>> > MCS4         current transmit rate
>> > 1            watchdog timeouts
>> > 12           beacon miss interrupts
>> > 37           tx failed 'cuz destination filtered
>> > 21042        rx failed 'cuz of bad CRC
>> > 7            rx failed 'cuz decryption
>> > 5            rx failed 'cuz of PHY err
>> >
>> >     5            illegal service
>> >
>> > 354          periodic calibrations
>> > -0/+0        TDMA slot adjust (usecs, smoothed)
>> > 58           rssi of last ack
>> > 48           avg recv rssi
>> > -96          rx noise floor
>> > 4            phantom beacon misses
>> > 237          tx frames through raw api
>> > 303067       A-MPDU sub-frames received
>> > 136445       Half-GI frames received
>> > 321349       40MHz frames received
>> > 4339         CRC errors for non-last A-MPDU subframes
>> > 179          CRC errors for last subframe in an A-MPDU
>> > 128845       Frames transmitted with HT Protection
>> > 69601        Number of frames retransmitted in software
>> > 556475       A-MPDU sub-frame TX attempt success
>> > 69579        A-MPDU sub-frame TX attempt failures
>> > 6            A-MPDU TX frame failures
>> > 2            first step level
>> > 1            OFDM weak signal detect
>> > 140          ANI increased noise immunity
>> > 140          ANI decrease noise immunity
>> > 1            ANI increased spur immunity
>> > 1            ANI decrease spur immunity
>> > 127          ANI disabled OFDM weak signal detect
>> > 127          ANI disabled CCK weak signal threshold
>> > 2            ANI increased first step level
>> > 251877       cumulative OFDM phy error count
>> > 348293       cumulative CCK phy error count
>> > 431          ANI forced listen time to zero
>> > 15583        missing ACK's
>> > 23402        RTS without CTS
>> > 94745        successful RTS
>> > 77637        bad FCS
>> > 102509       beacons received
>> > 66           average rssi (beacons only)
>> > 59           average rssi (all rx'd frames)
>> > 60           average rssi (ACKs only)
>> > Antenna profile:
>> > [0] tx    87529 rx      100
>> > [1] tx        0 rx   495570
>> >
>> >
>> >
>> > ath0@pci0:2:0:0:        class=0x028000 card=0x30a417aa chip=0x002e168c
>> > rev=0x01 hdr=0x00
>> >
>> >     vendor     = 'Atheros Communications Inc.'
>> >     device     = 'AR9287 Wireless Network Adapter (PCI-Express)'
>> >     class      = network
>> >     bar   [10] = type Memory, range 64, base 0xb8500000, size 65536,
>> >
>> > enabled
>> >
>> >     cap 01[40] = powerspec 3  supports D0 D1 D3  current D0
>> >     cap 05[50] = MSI supports 1 message
>> >     cap 10[60] = PCI-Express 2 legacy endpoint max data 128(128) link
>> >
>> > x1(x1)
>> > ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected
>> > ecap 0002[140] = VC 1 max VC0
>> > ecap 0003[160] = Serial 1 001517ffff241412
>> > ecap 0004[170] = Power Budgeting 1
>> >
>> >
>> > _______________________________________________
>> > freebsd-wireless@freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>> > To unsubscribe, send any mail to
>> > "freebsd-wireless-unsubscribe@freebsd.org "
>
>         Thanks for the responce.
> I did another test running athstats during transfer.
>
> Upload Test Results:
>
> iperf -c 192.168.15.3
> ------------------------------------------------------------
> Client connecting to 192.168.15.3, TCP port 5001
> TCP window size: 32.5 KByte (default)
> ------------------------------------------------------------
> [  3] local 192.168.15.238 port 39474 connected with 192.168.15.3 port 5001
> [ ID] Interval       Transfer     Bandwidth
> [  3]  0.0-10.0 sec  69.1 MBytes  57.9 Mbits/sec
>
> Athstats Results before, during, and after transfer with interval 1.
>
>
> input   output altrate   short    long xretry crcerr crypt  phyerr rssi  rate
> 67401  174480     225    6396    3064      0   3751     0       0   36MCS14
> 19        0       0       0       0      0      0     0       0   34 MCS14
> 20        0       0       0       0      0      0     0       0   34 MCS14
> 19        0       0       0       0      0      1     0       0   33 MCS14
> 18        0       0       0       0      0      0     0       0   35 MCS14
> 19        0       0       0       0      0      0     0       0   35 MCS14
> 19        0       0       0       0      0      0     0       0   34 MCS14
> 16        0       0       0       0      0      0     0       0   34 MCS14
> 18        0       0       0       0      0      1     0       0   34 MCS14
> 19        0       0       0       0      0      0     0       0   36 MCS14
> 563     2185       0      82      21      0     29     0       0    8  MCS9
> 794     2931       0     120      30      0     27     0       0   15  MCS9
> 1100     4100       0     139      33      0     99     0       0 -100 MCS11
> 1580     5989       1     150      44      0    209     0       0   18 MCS12
> 1367     5370       1     150      28      0     75     0       0   79 MCS13
> 1593     6222       7     134     135      0     35     0       0   52 MCS11
> 1393     5477       2     133      50      0     89     0       0  -62 MCS12
> 1432     5636       2     133      49      0     15     0       0   89 MCS11
> 1269     4840      13     142     151      0     50     0       0   21 MCS13
> 1552     6055       4     125      73      0    158     0       0   86 MCS12
> 427     1259       1      35       8      0     18     0       0   42 MCS14
> input   output altrate   short    long xretry crcerr crypt  phyerr rssi  rate
> 80652   224544     256    7739    3686      0   4557     0       0   39 MCS14
> 16        0       0       0       0      0      0     0       0   37 MCS14
> 18        0       0       0       0      0      0     0       0   35 MCS14
> 19        0       0       0       0      0      0     0       0   34 MCS14
> 13        0       0       0       0      0      0     0       0   38 MCS14
> 11        0       0       0       0      0      0     0       0   41 MCS14
> 15        0       0       0       0      0      0     0       0   34 MCS14
>
>
> ******************************************************************
>
> Download Test Results:
>
> iperf -s
> ------------------------------------------------------------
> Server listening on TCP port 5001
> TCP window size: 64.0 KByte (default)
> ------------------------------------------------------------
> [  4] local 192.168.15.238 port 5001 connected with 192.168.15.3 port 49841
> [ ID] Interval       Transfer     Bandwidth
> [  4]  0.0-10.0 sec  54.6 MBytes  45.8 Mbits/sec
>
>
> Athstats during Transfer:
> input   output altrate   short    long xretry crcerr crypt  phyerr rssi  rate
> 162138   246787     454   11290    5842     13   7390     0       1   50 MCS10
> 15        2       0       1       1      0      1     0       0   55 MCS10
> 14        0       0       0       0      0      0     0       0   54 MCS10
> 1963     1168       0      69      15      0    606     0       0   53 MCS10
> 5222     3225       2     170      51      0   1411     0       0   54 MCS12
> 5393     3337       3     199      69      0   1579     0       0   54 MCS14
> 2521     1516       1      70      26      0    553     2       0   54 MCS14
> 2736     1673       5     128      88      0    616     2       0   52 MCS15
> 1613     1050       2      88      21      0    296     0       0   53 MCS13
> 5309     3290       0     178      31      0   1105     0       0   53 MCS13
> 5602     3503       0     179      54      0   1133     0       0   54 MCS15
> 4101     2556      14     191     163      0    834     0       0   53 MCS14
> 5091     3199       3     207     120      1   1062     0       0   52 MCS15
> 2444     1522      15      82     119      0    530     0       0   53 MCS14
> 19        0       0       0       0      0      0     0       0   48 MCS14
> 18        0       0       0       0      0      0     0       0   50 MCS14
>
> Let me know if you need anything else.
>
> Derrick
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmomd%2BGbz5UXNG86WnnS28VCqhPx_VPVr3AZ5Y79b4jD%2BEg>