Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp519972ybt; Mon, 6 Jul 2020 15:26:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvip48+ZYSmEMHcC3Tbfs4Wxkr1co1gtfM74idBaXPqdKuadJ9vW+Qn3W1XTrfYfs1+Gwe X-Received: by 2002:a17:906:ca4c:: with SMTP id jx12mr41672503ejb.231.1594074409542; Mon, 06 Jul 2020 15:26:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594074409; cv=none; d=google.com; s=arc-20160816; b=PHQ7wSQI9LyHeLqXadsRKuGv3KySRYeJPMDMnH8Mpld40Tyc4Dgj/xWYF9ESVJ+c2w C1oNMwWp2jI+kWEl3HXx3OQlb0ObSUVbfV8e3ASRAwWD80ONNRt/9h7ePCOFA2OApqjc jUlyz1feruoBx7GqsHrsnuN9eBUDi1KElC1RJ+o4fWzN/3+XnszgOxLr2MtuWGCqUuDK wZ4hGM46TquZG3N71HdQ38q0/gGIjVeM6UjJLENkRWRkRsdBTDyB8Qlc2gNTGc3SIVWL 3NpH4URu0NDAPtoqU5PA1E8hdzD4gxqyJJw65cf0NihOq4bp2YpcBHdnNcrlrdAqWIx3 GXPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:date:cc:to:from:subject:message-id; bh=HhbEjFGSOMgw9OlZ6wtgSVkCzU0NbZvig04h1AjUwKg=; b=NPJv5KKjJWhiY4y0H1OP14CqmWtM4wfN+W2Bx9sn33rVbk+gvtQtBmaDcmTtkdSESd tw2yDsCI5JR9fc8NkrARaif7IBB7wnmd5EYBNGHH37iJ5DSKGfyspzI5/+T1VdjtR8/y eJvrreJSxXGPqpzUoNSRPgu1mIHzkcB3f0fl16LL2dynv613kZLNS3GscVy0b+jJWPcM dLGcCdFRWP8mdYLfcEslK5QT+Dx2Fhn8vWnWU7jXcGiY94JHz+tR1AbCdAd9+yyvDj3v R9tmEUmqeXd0D98urq1l0vLMnS3GEDu5OjgowGYAWTv3zRrVUtxi34b01lTUH8TOPSOV Z4tA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id da8si13868424edb.564.2020.07.06.15.26.08; Mon, 06 Jul 2020 15:26:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727906AbgGFWYr (ORCPT + 99 others); Mon, 6 Jul 2020 18:24:47 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:39317 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727791AbgGFWYr (ORCPT ); Mon, 6 Jul 2020 18:24:47 -0400 X-Originating-IP: 45.72.255.27 Received: from TesterBox (unknown [45.72.255.27]) (Authenticated sender: olivier.crete@ocrete.ca) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A0BDF60004; Mon, 6 Jul 2020 22:24:44 +0000 (UTC) Message-ID: Subject: rtl8812ae: high ping under load (or randomly) From: Olivier =?ISO-8859-1?Q?Cr=EAte?= To: linux-wireless@vger.kernel.org Cc: pkshih@realtek.com Date: Mon, 06 Jul 2020 18:24:42 -0400 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.3 (3.36.3-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, I have a rtl 8812ae PCI desktop card and I get really poor connectivity in Linux. In particular, I get ping times that increase a lot if I use the connection a lot. What I noticed by comparing with my Intel-based laptop next to it is that iwconfig always reports a rate of 866.7Mb/s, while the rate on my laptop fluctuates in the 100-250Mb/s range. I tried forcing the rate with iwconfig, and it seems to help a little, but it's still not good enough. So I suspect something is wrong with the rate control? I've played around with the various rtlwifi module options and they don't help. I was suggested disable ASPM, but my motherboard doesn't seem to support ASPM at all. On the same computer, the card works as advertised in Windows, so I'm pretty sure it's a driver/software issue. I'm testing with kernel 5.6.19 and linux-firmware 20200619. And the card is a TP-Link Archer T4E. Please let me know how I can help debug this, -- Olivier CrĂȘte olivier.crete@ocrete.ca