You are not logged in.

#1 2021-06-29 13:07:31

RielJ
Member
Registered: 2021-06-25
Posts: 30

WiFi and WiFi Hotspot is so slow. (rtl8821ae)

Hi everyone, I noticed that WiFi coverage and WiFi Hotspot is so slow on linux. It's like 10x slower on linux compared on windows, and I wondered if There's some configuration or something I missed out.

Output of lshw -C network

 *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: enp2s0
       version: 10
       serial: 54:e1:ad:48:c1:af
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.12.12-arch1-1 duplex=full firmware=rtl8168g-3_0.0.1 04/23/13 ip=192.168.1.10 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:16 ioport:4000(size=256) memory:a4104000-a4104fff memory:a4100000-a4103fff
  *-network DISABLED
       description: Wireless interface
       product: RTL8821AE 802.11ac PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 00
       serial: 60:14:b3:68:74:59
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8821ae driverversion=5.12.12-arch1-1 firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:17 ioport:3000(size=256) memory:a4000000-a4003fff

Does anyone know what might be the problem.

Last edited by RielJ (2021-06-29 13:15:34)

Offline

#2 2021-06-29 16:38:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,441

Re: WiFi and WiFi Hotspot is so slow. (rtl8821ae)

Try

rtl8821ae.ips=0 rtl8821ae.aspm=0

and post some actual data https://wiki.archlinux.org/title/Networ … _interface
Also a complete system journal because 99% of all cases of "my internet is slow™" boild down to using concurrent network managing services.
Finally, see the 3rd link in my signature.

Offline

#3 2021-06-29 23:25:45

RielJ
Member
Registered: 2021-06-25
Posts: 30

Re: WiFi and WiFi Hotspot is so slow. (rtl8821ae)

seth wrote:

Try

rtl8821ae.ips=0 rtl8821ae.aspm=0

and post some actual data https://wiki.archlinux.org/title/Networ … _interface
Also a complete system journal because 99% of all cases of "my internet is slow™" boild down to using concurrent network managing services.
Finally, see the 3rd link in my signature.

journalctl

http://ix.io/3rwd

I also don't dual boot anymore but I have once my windows booted and it has more wifi speed than my arch.

Last edited by RielJ (2021-06-29 23:33:02)

Offline

#4 2021-06-29 23:27:18

RielJ
Member
Registered: 2021-06-25
Posts: 30

Re: WiFi and WiFi Hotspot is so slow. (rtl8821ae)

RielJ wrote:
seth wrote:

Try

rtl8821ae.ips=0 rtl8821ae.aspm=0

and post some actual data https://wiki.archlinux.org/title/Networ … _interface
Also a complete system journal because 99% of all cases of "my internet is slow™" boild down to using concurrent network managing services.
Finally, see the 3rd link in my signature.

journalctl

http://ix.io/3rwd

Here is my rtl8821ae.conf.

options rtl8821ae disable_watchdog=N fwlps=N swlps=Y swenc=Y ips=0 msi=0 aspm=0

iwlwifi.conf

options iwlwifi power_save=0

systemctl list-unit-files --state=enabled

UNIT FILE                         STATE   VENDOR PRESET
bluetooth.service                 enabled disabled
getty@.service                    enabled enabled
lightdm.service                   enabled disabled
NetworkManager-dispatcher.service enabled disabled
NetworkManager.service            enabled disabled
remote-fs.target                  enabled enabled

6 unit files listed.

Last edited by RielJ (2021-06-29 23:36:43)

Offline

#5 2021-06-29 23:46:52

RielJ
Member
Registered: 2021-06-25
Posts: 30

Re: WiFi and WiFi Hotspot is so slow. (rtl8821ae)

I also didn't know why my Network Manager does not manage my wifi anymore.

iwconfig

lo        no wireless extensions.

enp2s0    no wireless extensions.

wlp3s0    IEEE 802.11  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:on

nmcli d s

DEVICE  TYPE      STATE      CONNECTION
enp2s0  ethernet  connected  Wired connection 1
lo      loopback  unmanaged  --
wlp3s0  wifi      unmanaged  --

/etc/NetworkManager/NetworkManager.conf

# Configuration file for NetworkManager.
# See "man 5 NetworkManager.conf" for details.


# [keyfile]
# unmanaged-devices=interface-name:wlp3s0

[device]
wifi.scan-rand-mac-address=no


[keyfile]
unmanaged-devices=interface-name:wlp3s0

Last edited by RielJ (2021-06-29 23:50:40)

Offline

#6 2021-06-30 06:21:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,441

Re: WiFi and WiFi Hotspot is so slow. (rtl8821ae)

1. don't bump. edit your post unless somebody has replied

I also don't dual boot anymore but I have once my windows booted and it has more wifi speed than my arch.

2. it doesn't matter whether you don't boot windows anymore, it might still be hibernating. Make sure to prevent that.
3. Then why do you believe it's (still, somehow) comparable - there could be some new interference impeding the signal (eg. a bluetooth device)
"Can't be the HW because I believe windows was faster 6 months ago" is a void statement.
4. We therefore lack the link status

I also didn't know why my Network Manager does not manage my wifi anymore.

5. Because you configured it

[keyfile]
unmanaged-devices=interface-name:wlp3s0

6. As a consequence the journal doesn't cover wifi usage at all and is pretty much useless.
7. How exactly did you determine that your wifi is "so slow" when you just stumbled over the fact that it's not being used???

Offline

#7 2021-06-30 14:01:16

RielJ
Member
Registered: 2021-06-25
Posts: 30

Re: WiFi and WiFi Hotspot is so slow. (rtl8821ae)

seth wrote:

1. don't bump. edit your post unless somebody has replied

I also don't dual boot anymore but I have once my windows booted and it has more wifi speed than my arch.

2. it doesn't matter whether you don't boot windows anymore, it might still be hibernating. Make sure to prevent that.
3. Then why do you believe it's (still, somehow) comparable - there could be some new interference impeding the signal (eg. a bluetooth device)
"Can't be the HW because I believe windows was faster 6 months ago" is a void statement.
4. We therefore lack the link status

I also didn't know why my Network Manager does not manage my wifi anymore.

5. Because you configured it

[keyfile]
unmanaged-devices=interface-name:wlp3s0

6. As a consequence the journal doesn't cover wifi usage at all and is pretty much useless.
7. How exactly did you determine that your wifi is "so slow" when you just stumbled over the fact that it's not being used???

Sorry bout that, but I just have it like I have my wired connection up to 70-100mbps but if I like I hotspot my connection I have like 0.7mbps on my phone,
I already erased the configuration and before that I used create_ap for me to use hotspot, but now I use network-manager to do that.

Offline

#8 2021-06-30 14:04:28

RielJ
Member
Registered: 2021-06-25
Posts: 30

Re: WiFi and WiFi Hotspot is so slow. (rtl8821ae)

seth wrote:

1. don't bump. edit your post unless somebody has replied

I also don't dual boot anymore but I have once my windows booted and it has more wifi speed than my arch.

2. it doesn't matter whether you don't boot windows anymore, it might still be hibernating. Make sure to prevent that.
3. Then why do you believe it's (still, somehow) comparable - there could be some new interference impeding the signal (eg. a bluetooth device)
"Can't be the HW because I believe windows was faster 6 months ago" is a void statement.
4. We therefore lack the link status

I also didn't know why my Network Manager does not manage my wifi anymore.

5. Because you configured it

[keyfile]
unmanaged-devices=interface-name:wlp3s0

6. As a consequence the journal doesn't cover wifi usage at all and is pretty much useless.
7. How exactly did you determine that your wifi is "so slow" when you just stumbled over the fact that it's not being used???

sorry bout bumping, should I terminate this post?

Offline

Board footer

Powered by FluxBB