Date: Thu, 19 Mar 2015 20:56:35 +0000 From: Miguel Clara <miguelmclara@gmail.com> To: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org> Subject: Re: ath0 performence issues "ar9300_Stub_GetCTSTimeout" "ar9300_Stub_GetCTSTimeout Message-ID: <CADGo8CV%2BEiPXUF==c=1kMHQBxsCDmrAuj_wEiymeLu%2BaUukBrQ@mail.gmail.com> In-Reply-To: <CADGo8CWbS3iSE=ssndfb_gSCxdRrx9-Ve9_nSbG6MdWmhj4a3Q@mail.gmail.com> References: <CADGo8CWitJUhU0%2BjDX59gv%2Bc-4uhpgf58=r_K%2Bfq=4acDTni8A@mail.gmail.com> <CAJ-VmonRS-ifM2YYUFn73g7xWSmpeqWYcK86h=RuYHtiRuyE%2Bg@mail.gmail.com> <CADGo8CVX50Zfypwzc-_tjcZ-ej41rmvU00N3g7Fjh9XFQyCVDA@mail.gmail.com> <CADGo8CXKQszJWgM46q8wRkMZjKSXgn9=iLqx3mUEc7htuNU1RQ@mail.gmail.com> <CAJ-VmokfdeCU528L135HKupJ0iJartBDbwjMoww_16Km8jeFrQ@mail.gmail.com> <CADGo8CUoJb_YxHHZP_z=2yEYU0=Sg_ULL4GiTPRZ1B2SLnheYA@mail.gmail.com> <CAJ-VmonXcVTa-h2T2uEoMtNbw4GnB3vZZTf9UrEC6XrPLGeiTg@mail.gmail.com> <CADGo8CXB6rK%2BCPZ9i=V48z3cTLw3Wah2w88bKVpxf4vOJPR=9Q@mail.gmail.com> <CADGo8CXZY3bzBq=MAMMDu1sJMyqScbvWj9NhYLzGnS%2Bw-VKL5Q@mail.gmail.com> <CAJ-VmokfXR8pL9P3c8C_yACLxddHW=7hFqM9YDYd6N2=pX8Wng@mail.gmail.com> <CADGo8CWbS3iSE=ssndfb_gSCxdRrx9-Ve9_nSbG6MdWmhj4a3Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 15, 2015 at 8:32 PM, Miguel Clara <miguelmclara@gmail.com> wrote: > > > On Sun, Feb 15, 2015 at 8:25 PM, Adrian Chadd <adrian@freebsd.org> wrote: > >> I bet your environment is quite noisy and the ar9300 HAL is just not >> coping well. :( >> >> >> Could be, I have a laptop and a cell phone just close by and the TV is > also using wireless, but those are on 2.4Ghtz... and ... Oooh > I just noticed its connected to "PissnLove" and not "PissnLove5G". > > wpa_supplicant sometimes fails on selecting the on with higher priority. > > I'll force it back to the 5G and see if this goes away and if so I guess > you are correct :) > Been busy for the last weeks, I wanted to update/sync my src before posting more feedback on this. # uname -a FreeBSD r2d2 11.0-CURRENT FreeBSD 11.0-CURRENT #5 r280238+2c4b57d(master): Thu Mar 19 03:09:58 WET 2015 root@r2d2:/usr/obj/usr/src/sys/GENERIC-NODEBUG amd64 Note: the following test were done with only 2 wireless devices connect to the router and while doing the tests on the laptop in turned wifi off in the smartphone. Also the smartphone was even a little bit more distant from the router than the laptop (not much) The issue is clear not with the 5G/2.4G as I get about the same performance with boot see iperf results: ############################# iperf3 -c _server_ Connecting to host yoda, port 5201 [ 4] local 1.1.1.1 port 48073 connected to 1.1.1.2 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 1.67 MBytes 14.0 Mbits/sec [ 4] 1.00-2.00 sec 1.67 MBytes 14.0 Mbits/sec [ 4] 2.00-3.00 sec 1.35 MBytes 11.4 Mbits/sec [ 4] 3.00-4.00 sec 1.56 MBytes 13.1 Mbits/sec [ 4] 4.00-5.00 sec 1.35 MBytes 11.4 Mbits/sec [ 4] 5.00-6.00 sec 1.73 MBytes 14.5 Mbits/sec [ 4] 6.00-7.00 sec 1.93 MBytes 16.2 Mbits/sec [ 4] 7.00-8.00 sec 1.65 MBytes 13.8 Mbits/sec [ 4] 8.00-9.00 sec 1.15 MBytes 9.65 Mbits/sec [ 4] 9.00-10.00 sec 1.38 MBytes 11.6 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth [ 4] 0.00-10.00 sec 15.4 MBytes 13.0 Mbits/sec sender [ 4] 0.00-10.00 sec 15.4 MBytes 12.9 Mbits/sec receiver ########################### That's to a local Wired (1Gbit) connected iperf3 server. In comparison I get 100+ Mpbs on my One Plus One device in an internet speedtest, proof here: http://www.speedtest.net/my-result/a/1207329176 And an iperf3 test on the same smartphone to the server: ############################# Connecting to host local_server, port 5201 [ 4] local 1.1.1.1 port 52337 connected to 1.1.1.2 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.01 sec 11.8 MBytes 98.4 Mbits/sec [ 4] 1.01-2.00 sec 13.4 MBytes 113 Mbits/sec [ 4] 2.00-3.00 sec 13.6 MBytes 114 Mbits/sec [ 4] 3.00-4.00 sec 13.3 MBytes 112 Mbits/sec [ 4] 4.00-5.00 sec 14.1 MBytes 117 Mbits/sec [ 4] 5.00-6.00 sec 13.6 MBytes 115 Mbits/sec [ 4] 6.00-7.00 sec 13.7 MBytes 115 Mbits/sec [ 4] 7.00-8.00 sec 13.4 MBytes 113 Mbits/sec [ 4] 8.00-9.00 sec 13.7 MBytes 115 Mbits/sec [ 4] 9.00-10.00 sec 13.2 MBytes 111 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth [ 4] 0.00-10.00 sec 134 MBytes 112 Mbits/sec sender [ 4] 0.00-10.00 sec 134 MBytes 112 Mbits/sec receiver ################################ So it seems that the performance is indeed very low and only on the ath, and not due to to much clients in either 5g or 2.4g If important: ath0@pci0:2:0:0: class=0x028000 card=0xe052105b chip=0x0034168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR9462 Wireless Network Adapter' class = netw # cat /var/run/dmesg.boot | grep ath ath0: <Atheros AR946x/AR948x> mem 0xc0400000-0xc047ffff irq 19 at device 0.0 on pci2 ath0: [HT] enabling HT modes ath0: [HT] enabling short-GI in 20MHz mode ath0: [HT] 1 stream STBC receive enabled ath0: [HT] 1 stream STBC transmit enabled ath0: [HT] 2 RX streams; 2 TX streams ath0: AR9460 mac 640.2 RF5110 phy 0.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000 Any more info I should add to help track this? thanks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADGo8CV%2BEiPXUF==c=1kMHQBxsCDmrAuj_wEiymeLu%2BaUukBrQ>