Linux-Wireless Archive on lore.kernel.org
 help / color / Atom feed
From: Luciano Coelho <luciano.coelho@intel.com>
To: Qu Wenruo <quwenruo.btrfs@gmx.com>,
	linuxwifi@intel.com,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [linuxwifi] Slow performance (~30mbps) with Intel 9260 (and 8265, 3168) using 5G
Date: Mon, 09 Sep 2019 09:00:12 +0300
Message-ID: <5d79c06b7d718e8255ee192902dba5aad780fba5.camel@intel.com> (raw)
In-Reply-To: <c078f515-51bd-2195-6b96-901db8872028@gmx.com>

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.


  reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-07 22:45 Qu Wenruo
2019-09-09  6:00 ` Luciano Coelho [this message]
2019-09-09  6:09   ` [linuxwifi] " Qu Wenruo
2019-09-09  6:18     ` Luciano Coelho

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5d79c06b7d718e8255ee192902dba5aad780fba5.camel@intel.com \
    --to=luciano.coelho@intel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linuxwifi@intel.com \
    --cc=quwenruo.btrfs@gmx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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