Linux-Wireless Archive on lore.kernel.org
 help / color / Atom feed
* Slow performance (~30mbps) with Intel 9260 (and 8265, 3168) using 5G
@ 2019-09-07 22:45 Qu Wenruo
  2019-09-09  6:00 ` [linuxwifi] " Luciano Coelho
  0 siblings, 1 reply; 4+ messages in thread
From: Qu Wenruo @ 2019-09-07 22:45 UTC (permalink / raw)
  To: linuxwifi, linux-wireless

[-- Attachment #1.1: Type: text/plain, Size: 2814 bytes --]

Hi,

Recent upgraded my wifi adapter from 8265 to 9260 of my ThinkPad X1C 6th
gen.

However the initial test is producing some unacceptable results:

Furthermore, my desktop (intel 3168), and the original 8265 of my laptop
also reproduce the same result.
Kernels are the same 5.2.11-arch1-1-ARCH across my laptop and desktop.
Tried lts (4.19) on my laptop, the same result.
Even under Windows, it's all the same.

[  5] local 240e:3a1:c40:6c0::278 port 43334 connected to
240e:3a1:c40:6c0::16b port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  4.95 MBytes  41.5 Mbits/sec    0    219 KBytes

[  5]   1.00-2.00   sec  2.44 MBytes  20.5 Mbits/sec    0    248 KBytes

[  5]   2.00-3.00   sec  1.58 MBytes  13.3 Mbits/sec    1   1.39 KBytes

[  5]   3.00-4.00   sec  1.10 MBytes  9.21 Mbits/sec   44    194 KBytes

[  5]   4.00-5.00   sec  4.39 MBytes  36.8 Mbits/sec    0    226 KBytes

[  5]   5.00-6.00   sec  4.39 MBytes  36.8 Mbits/sec    0    247 KBytes

[  5]   6.00-7.00   sec  4.39 MBytes  36.8 Mbits/sec    0    257 KBytes

[  5]   7.00-8.00   sec  4.57 MBytes  38.3 Mbits/sec    0    259 KBytes

[  5]   8.00-9.00   sec  3.84 MBytes  32.2 Mbits/sec    0    259 KBytes

[  5]   9.00-10.00  sec  4.39 MBytes  36.8 Mbits/sec    0    261 KBytes

- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  36.0 MBytes  30.2 Mbits/sec   45             sender
[  5]   0.00-10.02  sec  34.9 MBytes  29.2 Mbits/sec
receiver

Yep, less than 40mbps using 5G.
While I can even feel obvious lag when using ssh, some quick keystroke
will easily cause a lag.

I though it's the Linux support causing problem (even I'm using Arch
with 5.2 kernel) for the newer 9260 card, then I switched back to 8265.
But the same problem still exists!!
What makes things even stranger, under Windows, it's all the same result.

To exclude the problem of the AP, my android phone can easily get over
200mbps through the same AP.

Furthermore, I tested my desktop which has an Intel 3168 card, and to my
surprise, it's the same result less than 40mbps.


Although it doesn't really hurt as both my desktop and laptop is mostly
connected through ethernet, it still doesn't make sense to me.

Here is the dmesg of my laptop. (Please ignore the perf buffer warning,
as I also tried to trace iwlwifi:* and iwlwifi_msg:* events)
https://paste.fedoraproject.org/paste/d5TO6kvbBOwQ~tkLgDbXsQ/raw

The iw list output:
https://paste.fedoraproject.org/paste/QKIOLyItCLcwTJoan8Wd3g/raw


Any ideas how this could happen to 3 different intel cards on two
different systems? (Although all running the same Arch kernel and latest
firmware)

Thanks,
Qu


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linuxwifi] Slow performance (~30mbps) with Intel 9260 (and 8265, 3168) using 5G
  2019-09-07 22:45 Slow performance (~30mbps) with Intel 9260 (and 8265, 3168) using 5G Qu Wenruo
@ 2019-09-09  6:00 ` " Luciano Coelho
  2019-09-09  6:09   ` Qu Wenruo
  0 siblings, 1 reply; 4+ messages in thread
From: Luciano Coelho @ 2019-09-09  6:00 UTC (permalink / raw)
  To: Qu Wenruo, linuxwifi, linux-wireless

Hi,

On Sun, 2019-09-08 at 06:45 +0800, Qu Wenruo wrote:
> Hi,
> 
> Recent upgraded my wifi adapter from 8265 to 9260 of my ThinkPad X1C 6th
> gen.
> 
> However the initial test is producing some unacceptable results:
> 
> Furthermore, my desktop (intel 3168), and the original 8265 of my laptop
> also reproduce the same result.
> Kernels are the same 5.2.11-arch1-1-ARCH across my laptop and desktop.
> Tried lts (4.19) on my laptop, the same result.
> Even under Windows, it's all the same.
> 
> [  5] local 240e:3a1:c40:6c0::278 port 43334 connected to
> 240e:3a1:c40:6c0::16b port 5201
> [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
> [  5]   0.00-1.00   sec  4.95 MBytes  41.5 Mbits/sec    0    219 KBytes
> 
> [  5]   1.00-2.00   sec  2.44 MBytes  20.5 Mbits/sec    0    248 KBytes
> 
> [  5]   2.00-3.00   sec  1.58 MBytes  13.3 Mbits/sec    1   1.39 KBytes
> 
> [  5]   3.00-4.00   sec  1.10 MBytes  9.21 Mbits/sec   44    194 KBytes
> 
> [  5]   4.00-5.00   sec  4.39 MBytes  36.8 Mbits/sec    0    226 KBytes
> 
> [  5]   5.00-6.00   sec  4.39 MBytes  36.8 Mbits/sec    0    247 KBytes
> 
> [  5]   6.00-7.00   sec  4.39 MBytes  36.8 Mbits/sec    0    257 KBytes
> 
> [  5]   7.00-8.00   sec  4.57 MBytes  38.3 Mbits/sec    0    259 KBytes
> 
> [  5]   8.00-9.00   sec  3.84 MBytes  32.2 Mbits/sec    0    259 KBytes
> 
> [  5]   9.00-10.00  sec  4.39 MBytes  36.8 Mbits/sec    0    261 KBytes
> 
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bitrate         Retr
> [  5]   0.00-10.00  sec  36.0 MBytes  30.2 Mbits/sec   45             sender
> [  5]   0.00-10.02  sec  34.9 MBytes  29.2 Mbits/sec
> receiver
> 
> Yep, less than 40mbps using 5G.
> While I can even feel obvious lag when using ssh, some quick keystroke
> will easily cause a lag.
> 
> I though it's the Linux support causing problem (even I'm using Arch
> with 5.2 kernel) for the newer 9260 card, then I switched back to 8265.
> But the same problem still exists!!
> What makes things even stranger, under Windows, it's all the same result.
> 
> To exclude the problem of the AP, my android phone can easily get over
> 200mbps through the same AP.
> 
> Furthermore, I tested my desktop which has an Intel 3168 card, and to my
> surprise, it's the same result less than 40mbps.
> 
> 
> Although it doesn't really hurt as both my desktop and laptop is mostly
> connected through ethernet, it still doesn't make sense to me.
> 
> Here is the dmesg of my laptop. (Please ignore the perf buffer warning,
> as I also tried to trace iwlwifi:* and iwlwifi_msg:* events)
> https://paste.fedoraproject.org/paste/d5TO6kvbBOwQ~tkLgDbXsQ/raw
> 
> The iw list output:
> https://paste.fedoraproject.org/paste/QKIOLyItCLcwTJoan8Wd3g/raw
> 
> 
> Any ideas how this could happen to 3 different intel cards on two
> different systems? (Although all running the same Arch kernel and latest
> firmware)

This really must be an environment issue.  You are describing the same
problem with different NICs (which mean different FWs are being used)
and the same problem on Windows (which means different driver version
being used), so it's not a new bug in either the firmware or the
driver.

Was it working properly before? Did it start happening only when you
changed the NIC (even though you changed it back and it remained not
working)? What else changed?

I can't see anything hinting any issues in dmesg.  Also, I'm a bit
confused about the "5G" you mention.  Does that mean that the AP is
connected to the internet via 5G?

--
Cheers,
Luca.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linuxwifi] Slow performance (~30mbps) with Intel 9260 (and 8265, 3168) using 5G
  2019-09-09  6:00 ` [linuxwifi] " Luciano Coelho
@ 2019-09-09  6:09   ` Qu Wenruo
  2019-09-09  6:18     ` Luciano Coelho
  0 siblings, 1 reply; 4+ messages in thread
From: Qu Wenruo @ 2019-09-09  6:09 UTC (permalink / raw)
  To: Luciano Coelho, linuxwifi, linux-wireless

[-- Attachment #1.1: Type: text/plain, Size: 1621 bytes --]



On 2019/9/9 下午2:00, Luciano Coelho wrote:
> Hi,
> 
> On Sun, 2019-09-08 at 06:45 +0800, Qu Wenruo wrote:
>> Hi,
>>
[...]
>>
>> Any ideas how this could happen to 3 different intel cards on two
>> different systems? (Although all running the same Arch kernel and latest
>> firmware)
> 
> This really must be an environment issue.  You are describing the same
> problem with different NICs (which mean different FWs are being used)
> and the same problem on Windows (which means different driver version
> being used), so it's not a new bug in either the firmware or the
> driver.

You're completely right. I have reset and upgraded my router (an MT7621
based router with OpenWRT) to latest OpenWRT, then the problem just went
away.

It looks like, under the original environment, it's the Android phone
doing something strange.

> 
> Was it working properly before? Did it start happening only when you
> changed the NIC (even though you changed it back and it remained not
> working)? What else changed?

Nothing really, so I may hit something wrong with the NIC of the router,
not all these NICs.

> 
> I can't see anything hinting any issues in dmesg.  Also, I'm a bit
> confused about the "5G" you mention.  Does that mean that the AP is
> connected to the internet via 5G?

Sorry for the confusion, I mean 5Ghz.

All tests are done in 5GHz freq (802.11ac), and iperf server is
connected by RJ45 (1Gbps) and iperf client is through wifi.

Anyway, after resetting the router, it's now back to the ~300 mpbs range.

Thanks,
Qu

> 
> --
> Cheers,
> Luca.
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linuxwifi] Slow performance (~30mbps) with Intel 9260 (and 8265, 3168) using 5G
  2019-09-09  6:09   ` Qu Wenruo
@ 2019-09-09  6:18     ` Luciano Coelho
  0 siblings, 0 replies; 4+ messages in thread
From: Luciano Coelho @ 2019-09-09  6:18 UTC (permalink / raw)
  To: Qu Wenruo, linuxwifi, linux-wireless

On Mon, 2019-09-09 at 14:09 +0800, Qu Wenruo wrote:
> 
> On 2019/9/9 下午2:00, Luciano Coelho wrote:
> > Hi,
> > 
> > On Sun, 2019-09-08 at 06:45 +0800, Qu Wenruo wrote:
> > > Hi,
> > > 
> [...]
> > > Any ideas how this could happen to 3 different intel cards on two
> > > different systems? (Although all running the same Arch kernel and latest
> > > firmware)
> > 
> > This really must be an environment issue.  You are describing the same
> > problem with different NICs (which mean different FWs are being used)
> > and the same problem on Windows (which means different driver version
> > being used), so it's not a new bug in either the firmware or the
> > driver.
> 
> You're completely right. I have reset and upgraded my router (an MT7621
> based router with OpenWRT) to latest OpenWRT, then the problem just went
> away.

Great!


> It looks like, under the original environment, it's the Android phone
> doing something strange.

It's hard to tell, because the characteristics of the WiFi on your
Android phone are very different from those on your laptop.


> > Was it working properly before? Did it start happening only when you
> > changed the NIC (even though you changed it back and it remained not
> > working)? What else changed?
> 
> Nothing really, so I may hit something wrong with the NIC of the router,
> not all these NICs.

There was probably an upgrade of OpenWRT that started causing the
issue.  Hard to say.


> > I can't see anything hinting any issues in dmesg.  Also, I'm a bit
> > confused about the "5G" you mention.  Does that mean that the AP is
> > connected to the internet via 5G?
> 
> Sorry for the confusion, I mean 5Ghz.

Ah, I should have guessed, of course.  It's just that the word 5G has a
totally different meaning, hardcoded in my head, so I got confused. ;)


> All tests are done in 5GHz freq (802.11ac), and iperf server is
> connected by RJ45 (1Gbps) and iperf client is through wifi.
> 
> Anyway, after resetting the router, it's now back to the ~300 mpbs range.

That's great to hear! Let us know if you encounter any further issues.

--
Cheers,
Luca.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-07 22:45 Slow performance (~30mbps) with Intel 9260 (and 8265, 3168) using 5G Qu Wenruo
2019-09-09  6:00 ` [linuxwifi] " Luciano Coelho
2019-09-09  6:09   ` Qu Wenruo
2019-09-09  6:18     ` Luciano Coelho

Linux-Wireless Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-wireless/0 linux-wireless/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-wireless linux-wireless/ https://lore.kernel.org/linux-wireless \
		linux-wireless@vger.kernel.org
	public-inbox-index linux-wireless

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-wireless


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git