From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB110C2D0CE for ; Fri, 3 Jan 2020 12:19:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 53F3B24649 for ; Fri, 3 Jan 2020 12:19:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=wp.pl header.i=@wp.pl header.b="Ic6NDWmQ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727521AbgACMTE (ORCPT ); Fri, 3 Jan 2020 07:19:04 -0500 Received: from mx3.wp.pl ([212.77.101.9]:56439 "EHLO mx3.wp.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727470AbgACMTD (ORCPT ); Fri, 3 Jan 2020 07:19:03 -0500 Received: (wp-smtpd smtp.wp.pl 2431 invoked from network); 3 Jan 2020 13:19:01 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1578053941; bh=3II+muRs7L5wh8LbOv6AVfzRbNd9vdmgOA8ogbhmFho=; h=From:To:Cc:Subject; b=Ic6NDWmQkVSdg5RlrwfU9iBqdiueUWW//CJIpzhFrYHiGJf1MsfP2yUekdi+c0aHA Un/spm7AlNrCE+NrQ4c51YZYRzL+Rncz/YwJgbRQLY9rkG1rbswxbgOR6BQPSxlEtB n0q8v9GFEpl4CO2dw2MBqTbr3Uf+ehVn6a2pIvHU= Received: from unknown (HELO localhost) (stf_xl@wp.pl@[46.39.164.203]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 3 Jan 2020 13:19:01 +0100 Date: Fri, 3 Jan 2020 13:18:50 +0100 From: Stanislaw Gruszka To: Daniel =?iso-8859-1?Q?Simil=E4?= Cc: Lorenzo Bianconi , linux-wireless@vger.kernel.org Subject: Re: mt76x0u. Unusable performance while compiling stuff. Message-ID: <20200103121849.GA2832@wp.pl> References: <270ccb561149f7af3596470b3f9bb2ec@wp.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <270ccb561149f7af3596470b3f9bb2ec@wp.pl> User-Agent: Mutt/1.8.3 (2017-05-23) X-WP-MailID: 3e05a5d0b465df4c12facbd0d0186d87 X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000000 [MdN0] Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org (cc linux-wireless & Lorenzo) On Fri, Jan 03, 2020 at 12:19:20AM +0000, Daniel Similä wrote: > 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 > > 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 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