Skip to contentSkip to conversation

mt76x0u. Unusable performance while compiling stuff.

DISCUSSION Stanislaw Gruszka 1 participant 2 messages Jan 3, 2020 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

(cc linux-wireless & Lorenzo)

Quoted 39 lines · Daniel Similä

Bus 001 Device 005: ID 148f:761a Ralink Technology, Corp. MT7610U ("Archer T2U" 2.4G+5G WLAN Adapter

Driver is mt76x0u
Wifi is 5GHz ~260Mb

while doing:
nice make -j16

Pinging my router goes from:
ping _gateway
PING _gateway (192.168.0.1) 56(84) bytes of data.
64 bytes from _gateway (192.168.0.1): icmp_seq=1 ttl=64 time=1.20 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=2 ttl=64 time=1.02 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=3 ttl=64 time=2.12 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=4 ttl=64 time=1.32 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=5 ttl=64 time=2.04 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=6 ttl=64 time=1.31 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=7 ttl=64 time=1.71 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=8 ttl=64 time=0.903 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=9 ttl=64 time=1.00 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=10 ttl=64 time=1.42 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=11 ttl=64 time=1.15 ms

to unusable:

ping _gateway
PING _gateway (192.168.0.1) 56(84) bytes of data.
64 bytes from _gateway (192.168.0.1): icmp_seq=1 ttl=64 time=167 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=3 ttl=64 time=306 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=4 ttl=64 time=255 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=6 ttl=64 time=253 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=8 ttl=64 time=84.7 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=9 ttl=64 time=522 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=10 ttl=64 time=211 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=11 ttl=64 time=304 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=15 ttl=64 time=2825 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=16 ttl=64 time=1812 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=17 ttl=64 time=799 ms

Quoted 2 lines

Running kernel 5.4.6-arch3-1
CPU is Amd 2700X and ram is 16GB

I think this should be fixed by 5.5 commit:

commit 284efb473ef5f02a7f2c13fdf8d516ecc589bdf1

Author: Lorenzo Bianconi <[email protected]>
Date:   Mon Oct 28 17:38:05 2019 +0100

mt76: mt76u: rely on a dedicated stats workqueue

and if it indeed fixes the problem, this commit should be requested to stable.

Stanislaw

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 3 lines · Daniel Similä

Ok. I'm happy to test it.
But where do i download a patch or a complete tree? Sorry for my noobiness.

You can use 5.5-rcX kernel from kernel.org if your distribution does not provide 5.5-rcX kernels already.

Patch can be downloaded from:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=284efb473ef5f02a7f2c13fdf8d516ecc589bdf1

Quoted 2 lines

fre 2020-01-03 klockan 13:18 +0100 skrev Stanislaw Gruszka:

Quoted 1 line

(cc linux-wireless & Lorenzo)

Please do not drop CC , adding those back ...

Stanislaw

Quoted 56 lines
Quoted 55 lines · Daniel Similä
Quoted 39 lines

Bus 001 Device 005: ID 148f:761a Ralink Technology, Corp. MT7610U ("Archer T2U" 2.4G+5G WLAN Adapter

Driver is mt76x0u
Wifi is 5GHz ~260Mb

while doing:
nice make -j16

Pinging my router goes from:
ping _gateway
PING _gateway (192.168.0.1) 56(84) bytes of data.
64 bytes from _gateway (192.168.0.1): icmp_seq=1 ttl=64 time=1.20 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=2 ttl=64 time=1.02 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=3 ttl=64 time=2.12 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=4 ttl=64 time=1.32 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=5 ttl=64 time=2.04 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=6 ttl=64 time=1.31 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=7 ttl=64 time=1.71 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=8 ttl=64 time=0.903 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=9 ttl=64 time=1.00 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=10 ttl=64 time=1.42 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=11 ttl=64 time=1.15 ms

to unusable:

ping _gateway
PING _gateway (192.168.0.1) 56(84) bytes of data.
64 bytes from _gateway (192.168.0.1): icmp_seq=1 ttl=64 time=167 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=3 ttl=64 time=306 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=4 ttl=64 time=255 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=6 ttl=64 time=253 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=8 ttl=64 time=84.7 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=9 ttl=64 time=522 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=10 ttl=64 time=211 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=11 ttl=64 time=304 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=15 ttl=64 time=2825 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=16 ttl=64 time=1812 ms 64 bytes from _gateway (192.168.0.1): icmp_seq=17 ttl=64 time=799 ms

Quoted 2 lines

Running kernel 5.4.6-arch3-1
CPU is Amd 2700X and ram is 16GB

I think this should be fixed by 5.5 commit:

commit 284efb473ef5f02a7f2c13fdf8d516ecc589bdf1

Author: Lorenzo Bianconi <[email protected]>
Date:   Mon Oct 28 17:38:05 2019 +0100

mt76: mt76u: rely on a dedicated stats workqueue

and if it indeed fixes the problem, this commit should be requested to stable.

Stanislaw