2015-01-14 22:21:18

by Bryan Quigley

[permalink] [raw]
Subject: Packet loss on rtl8188ee

Hi there,

I've been seeing packet loss on this laptop using a rtl8188ee wireless
card on Ubuntu 14.10 with compat-wireless 3.19rc4 kernel. I've tried
it with two routers and many different settings. My test case is ping
-i 0.02 -c 100 with the laptop next to the router, and I run it at
least 3 times to be certain.

On other devices I can do this over and over again with no packet loss
to the same router.

I've been debugging it here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1401741

I've tried enabling debug options (but nothing obvious when packets
are dropped), changing channels (6 seemed to be best), changing Wifi
Security, changing module options, but still get some dropped packets.
it does *seem* better running compat-wireless 3.19rc4, but that might
be in my head..

Is there a better test case for packet loss? Just ping for longer?
The debug logs I've been able to generate don't appear to do anything
special on packet loss. Any suggestions?

The packet loss greatly effects web apps during light to moderate
usage (think Email and a few websites) to the point of making it
unusable.

Thanks!
Bryan


2015-01-15 01:15:39

by Larry Finger

[permalink] [raw]
Subject: Re: Packet loss on rtl8188ee

On 01/14/2015 04:20 PM, Bryan Quigley wrote:
> Hi there,
>
> I've been seeing packet loss on this laptop using a rtl8188ee wireless
> card on Ubuntu 14.10 with compat-wireless 3.19rc4 kernel. I've tried
> it with two routers and many different settings. My test case is ping
> -i 0.02 -c 100 with the laptop next to the router, and I run it at
> least 3 times to be certain.
>
> On other devices I can do this over and over again with no packet loss
> to the same router.
>
> I've been debugging it here:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1401741
>
> I've tried enabling debug options (but nothing obvious when packets
> are dropped), changing channels (6 seemed to be best), changing Wifi
> Security, changing module options, but still get some dropped packets.
> it does *seem* better running compat-wireless 3.19rc4, but that might
> be in my head..
>
> Is there a better test case for packet loss? Just ping for longer?
> The debug logs I've been able to generate don't appear to do anything
> special on packet loss. Any suggestions?
>
> The packet loss greatly effects web apps during light to moderate
> usage (think Email and a few websites) to the point of making it
> unusable.

The drivers in compat-wireless will match the ones in the wireless-drivers git
repo. There are some newer parts than found in mainline where a lot of 3.20
stuff is accumulating.

You might try the drivers found at http://github.com/lwfinger/rtlwifi_new.git.
That is the version that came from Realtek. It should be the same as
wireless-drivers, but errors might have crept in. In addition, some of the
Realtek devices have problems with power saving. Try loading the driver with the
"ips=0" option. The debug options only control the amount of stuff that gets logged.

For me, rtl8188ee works fine. Possible reasons for my result being different
could be the noisiness of the environment.

Larry