Re: Bad rtwn(0) performance with RTL8188CE on -CURRENT after r302035

2016-06-30 Thread Marcus von Appen
On, Mon Jun 27, 2016, Andriy Voskoboinyk wrote:

> Mon, 27 Jun 2016 20:06:20 +0300 було написано Marcus von Appen
> :
>
> Hi,
>
> the attached patch may fix this issue (probably)

I'm getting downstream rates of around 300 to 500 kbit/s, so it's not
much more than before, although the downstream rates seem to be a bit
more stable now.

[...]

> >
> > 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).

It's zero with your patch; I do not have values from before at hand
right now, but can provide them later on, should they be of interest.

Cheers
Marcus


signature.asc
Description: PGP signature


Re: Bad rtwn(0) performance with RTL8188CE on -CURRENT after r302035

2016-06-27 Thread Andriy Voskoboinyk
Mon, 27 Jun 2016 20:06:20 +0300 було написано Marcus von Appen  
:


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

patch-rtwn-rxfilter-busdma.diff
Description: Binary data
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: Bad rtwn(0) performance with RTL8188CE on -CURRENT after r302035

2016-06-27 Thread Otacílio

Em 27/06/2016 15:34, Marcus von Appen escreveu:

On, Mon Jun 27, 2016, Adrian Chadd wrote:


Heh, there isn't any 11n support in rtwn (and won't be until I unify
rtwn and urtwn post-11.)

I do not know about that. My experience from pre-r302035 were 1-2 Mbit/s
downstream from some servers, but often enough just for a minute or two
before everything stopped working.


I'll go find the rtwn NIC and see if I can figure out what's going on.

Let me know, if and how I can assist with it.

Cheers
Marcus


About everything stopping I have faced a problem similar to this. Bellow 
is a log of a session where the problem occurs. I'm testing using netperf.


% netperf -H squitch
MIGRATED TCP STREAM TEST from 0.0.0.0 () port 0 AF_INET to squitch ()
port 0
AF_INET : histogram : interval : dirty data : demo
Recv   SendSend
Socket Socket  Message  Elapsed
Size   SizeSize Time Throughput
bytes  bytes   bytessecs.10^6bits/sec

  65536  32768  3276814.03   0.02
shutdown_control: no response received  errno 28
% ping squitch
PING squitch (192.168.0.13): 56 data bytes
^C
--- squitch ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss
% urtwn0: device timeout
urtwn0: device timeout

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Bad rtwn(0) performance with RTL8188CE on -CURRENT after r302035

2016-06-27 Thread Marcus von Appen
On, Mon Jun 27, 2016, Adrian Chadd wrote:

> Heh, there isn't any 11n support in rtwn (and won't be until I unify
> rtwn and urtwn post-11.)

I do not know about that. My experience from pre-r302035 were 1-2 Mbit/s
downstream from some servers, but often enough just for a minute or two
before everything stopped working.

>
> I'll go find the rtwn NIC and see if I can figure out what's going on.

Let me know, if and how I can assist with it.

Cheers
Marcus


signature.asc
Description: PGP signature


Re: Bad rtwn(0) performance with RTL8188CE on -CURRENT after r302035

2016-06-27 Thread Adrian Chadd
Heh, there isn't any 11n support in rtwn (and won't be until I unify
rtwn and urtwn post-11.)

I'll go find the rtwn NIC and see if I can figure out what's going on.



-a


On 27 June 2016 at 10:21, Otacílio  wrote:
> Em 27/06/2016 14:06, Marcus von Appen escreveu:
>>
>> 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.
>>
>> Let me know, what information is necessary to isolate and correct
>> that issue. I'll gladly test it. :-)
>>
>> Cheers
>> Marcus
>
>
> I have helped doing some tests with the urtwn. You can try creating the
> interface with -ht parameter. Here this improves performance.
>
> []'s
>
> -Otacílio
>
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: Bad rtwn(0) performance with RTL8188CE on -CURRENT after r302035

2016-06-27 Thread Otacílio

Em 27/06/2016 14:06, Marcus von Appen escreveu:

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.

Let me know, what information is necessary to isolate and correct
that issue. I'll gladly test it. :-)

Cheers
Marcus


I have helped doing some tests with the urtwn. You can try creating the 
interface with -ht parameter. Here this improves performance.


[]'s

-Otacílio

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Bad rtwn(0) performance with RTL8188CE on -CURRENT after r302035

2016-06-27 Thread Marcus von Appen
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.

Let me know, what information is necessary to isolate and correct
that issue. I'll gladly test it. :-)

Cheers
Marcus


signature.asc
Description: PGP signature