Date: Mon, 27 Jun 2016 23:17:13 +0300 From: "Andriy Voskoboinyk" <avos@freebsd.org> To: "Marcus von Appen" <mva@freebsd.org> Cc: current@freebsd.org, freebsd-wireless@freebsd.org Subject: Re: Bad rtwn(0) performance with RTL8188CE on -CURRENT after r302035 Message-ID: <op.yjqfyzls4dikkl@localhost> In-Reply-To: <20160627170619.GB28353@athena.sysfault.org> References: <20160627170619.GB28353@athena.sysfault.org>
next in thread | previous in thread | raw e-mail | index | archive | help
------------PF6CwQGW4MxdamsPvyKQbg Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Mon, 27 Jun 2016 20:06:20 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Marcus von Appen = <mva@freebsd.org>: Hi, the attached patch may fix this issue (probably) > Hi, > > thanks to previous efforts, the rtwn(0) connection for my RTL8188CE > wireless card is far more stable. It seems to come at the price of > relatively bad performance, though. After r302035 from avos@, I > can't get more than 500 kbit/s downstream from anywhere. I don't think that this is a regression - that was already noted in PR = 203105: > -Speed seems limited to 16Mbps rate (around 120 kbps on downstream), > even though the ifconfig summary show 802.11g/56mbps. > > Let me know, what information is necessary to isolate and correct > that issue. I'll gladly test it. :-) You can check number of input errors (netstat -I wlan0); it should be relatively small (or even zero). > > Cheers > Marcus ------------PF6CwQGW4MxdamsPvyKQbg Content-Disposition: attachment; filename=patch-rtwn-rxfilter-busdma.diff Content-Type: application/octet-stream; name="patch-rtwn-rxfilter-busdma.diff" Content-Transfer-Encoding: Base64 SW5kZXg6IHN5cy9kZXYvcnR3bi9pZl9ydHduLmMKPT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PQotLS0gc3lzL2Rldi9ydHduL2lmX3J0d24uYwkocmV2aXNpb24gMzAyMTkxKQor Kysgc3lzL2Rldi9ydHduL2lmX3J0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AIC0y NDk0LDggKzI0OTYsOCBAQAogCXJ0d25fd3JpdGVfMihzYywgUjkyQ19SWEZMVE1B UDAsIDB4ZmZmZik7CiAJLyogUmVqZWN0IGFsbCBjb250cm9sIGZyYW1lcy4gKi8K IAlydHduX3dyaXRlXzIoc2MsIFI5MkNfUlhGTFRNQVAxLCAweDAwMDApOwotCS8q IEFjY2VwdCBhbGwgZGF0YSBmcmFtZXMuICovCi0JcnR3bl93cml0ZV8yKHNjLCBS OTJDX1JYRkxUTUFQMiwgMHhmZmZmKTsKKwkvKiBSZWplY3QgYWxsIGRhdGEgZnJh bWVzLiAqLworCXJ0d25fd3JpdGVfMihzYywgUjkyQ19SWEZMVE1BUDIsIDB4MDAw MCk7CiB9CiAKIHN0YXRpYyB2b2lkCg== ------------PF6CwQGW4MxdamsPvyKQbg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.yjqfyzls4dikkl>