Article 6KK2W Poor network performance with rtl8xxxu module compared to rtl8192cu, rtl8192cu also behaves strangely (RTL8188CUS)

Poor network performance with rtl8xxxu module compared to rtl8192cu, rtl8192cu also behaves strangely (RTL8188CUS)

by
hunter0one
from LinuxQuestions.org on (#6KK2W)
I have a Netis RTL8188CUS Wi-Fi Adapter which behaves strangely with both the rtl8192cu and rtl8xxxu modules in different ways. The kernel automatically loads both rtl8192cu and rtl8xxxu when the adapter is plugged in. When separating the two modules (i.e blacklisting one or the other), if I'm using rtl8192cu all I/O slows to a halt until the network becomes configured. Applications won't load and commands in the terminal won't run until its finished doing its thing. This can take up to 5 minutes and suspending is no longer possible. However, once all is said and done and I'm actually using it, the performance is what I normally would get. I don't have bouts where websites don't load or random lag spikes in games (this will make sense in a second).

On the other hand, if I use rtl8xxxu then it no longer slows down the system until the network is configured and suspend works fine. However, the network performance is quite bugged where every 30 seconds or so it gets "choked", websites don't load or if I'm in-game my ping skyrockets to 500+, causing it to be unplayable. Its my understanding that the rtl8xxxu is set to replace rtl8192cu and it doesn't hang my entire system up so it's what I use, but I'd like to know what causes the poor network performance and the solution since the former module doesn't have this problem.

What I've tried:
  • Turning on parameters for rtl8xxxu that have helped others (this is what I have in /etc/modprobe.d/rtl8xxxu-options.conf):
    Code:options rtl8xxxu dma_aggregation=Y ht40_2g=YI've also tried different values for dma_agg_timeout and dma_agg_pages, but it didn't make any difference.
  • Turning off Network Manager's powersaving with "wifi.powersave=2"
  • Using nmcli con edit to change 802-11-wireless.powersave from 0 (default) to 2 (disabled) for the device
  • Ensuring "Power Management" is off in iwconfig
Here is the device in lsusb:
Code:Bus 001 Device 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments