Low performance on rtwn_usb

Andriy Voskoboinyk avos at freebsd.org
Fri Mar 3 07:53:29 UTC 2017


Fri, 03 Mar 2017 04:25:03 +0200 було написано Otacílio  
<otacilio.neto at bsd.com.br>:

> > ieee80211_load_module: load the wlan_amrr module by hand for now.

Without wlan_amrr module default rate will be set to some fixed value
(1 MBps for 11g, 6 MBps for 11a) (can be modified via
ucastrate / mcastrate / mgtrate ifconfig(8) parameters).

For now, there are only 2 possibilites:
1) Kldload / add wlan_amrr to kld_list & use wlan_amrr for automatic
rate adaptation (current activity can be seen via
'wlandebug -i wlan0 rate')
2) Set the rate manually via ifconfig(8) (disables automatic rate
adaptation; use 'ifconfig wlan0 *rate -' to return to it).


> Dears
>
> I'm using a USB wifi dongle to connect my baglebone black. This dongle  
> uses the driver rtwn/rtwn_usb.
>
> This driver exhibits a very low performance on both, beaglebone and a  
> Intel Core 2 Duo notebook. With -ht and without -ht on the ficonfig the  
> performance is something like this:
>
> root at beaglebone:/usr/home/ota # netperf -H nostromo
> MIGRATED TCP STREAM TEST from 0.0.0.0 () port 0 AF_INET to nostromo ()  
> port 0 AF_INET : histogram : interval : dirty data : demo
> Recv   Send    Send
> Socket Socket  Message  Elapsed
> Size   Size    Size     Time     Throughput
> bytes  bytes   bytes    secs.    10^6bits/sec
>
>   65536  32768  32768    10.91       0.49
>
> The dongle is this
>
> ugen1.2: <vendor 0x0bda product 0x8176> at usbus1
> rtwn0 on uhub1
> rtwn0: <vendor 0x0bda product 0x8176, class 0/0, rev 2.00/2.00, addr 2>  
> on usbus1
> rtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
> ieee80211_load_module: load the wlan_amrr module by hand for now.
> wlan0: Ethernet address: 80:3f:5d:11:28:e6
>
> Someone can give me a hint to enhance performance? Previously, with urtw  
> the throughput was about MBPs.
>
> []'s
>
> -Otacilio
>
> _______________________________________________
> freebsd-wireless at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to  
> "freebsd-wireless-unsubscribe at freebsd.org"


More information about the freebsd-wireless mailing list