Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Mar 2017 08:59:18 +0200
From:      "Andriy Voskoboinyk" <avos@freebsd.org>
To:        =?utf-8?Q?Otac=C3=ADlio?= <otacilio.neto@bsd.com.br>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: Low performance on rtwn_usb
Message-ID:  <op.ywii04ub4dikkl@thinkpad-x220>
In-Reply-To: <38d16a0b-f60c-4303-f167-9d7ae0e876d7@bsd.com.br>
References:  <38d16a0b-f60c-4303-f167-9d7ae0e876d7@bsd.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Fri, 03 Mar 2017 04:25:03 +0200 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0=
=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Otac=C3=ADlio  =

<otacilio.neto@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 th=
e  =

> performance is something like this:
>
> root@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 ur=
tw  =

> the throughput was about MBPs.
>
> []'s
>
> -Otacilio
>
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to  =

> "freebsd-wireless-unsubscribe@freebsd.org"



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