Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1257103ybl; Fri, 30 Aug 2019 14:46:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqzc+OKZm/eNeQv4FGq84nshMXYHQ8qo4+uksZT2SGuVkxwswNmJcnKw9YmsXWVWXqebJi+D X-Received: by 2002:a62:37c5:: with SMTP id e188mr21072798pfa.207.1567201565985; Fri, 30 Aug 2019 14:46:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567201565; cv=none; d=google.com; s=arc-20160816; b=h1eOe7qDmiZFXWbxwRaeV338jbzcIveYYEyQ1cpOLnuOVwJGR7rwXv5JLf5Xmgnvj/ rSpMYu5PYg+wjUmV+zTHLS4axrbOevHxI/JM8tgPLyjnSbLJ/Q+nOXt+agvRIz19VKtm HsoBsnh5f7OM6toO2J472ZPGVog/Ab3Utef6hk+cDYyZOe21v0nJvNGFMcucwqxZflDc ir940/kb6qe8I5dw67GJvoew/c2CzCZRwGV+X21r/aNDw8HjY2ReBltDEKH3Gzo2+6jd eGcDfzGV/uFkmTttbBpQx4WnNzOQ9YMFZk/b1TxahRQpA7TuhBF0Hh5cVUpGq1L3ltF6 L/vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Y2eIGQI2Zi7oPP+PNtMVrWpZawQ7idVXN94BfbCutwc=; b=NoyuDr+huzp5D65hke8J7p88ReMI9Gm6rT84BDULSGbZKj95QG9sYlrSZSEhjwLfmB vysNH9916/axAEe5Nb+q9m/GHtGWp2ttbYSIeo+Clp3+PCgg6ZJ2ExPesejsnF8I6Isv //4Fg4OPClwByukPDbgoREneO1uJkRcbaFfDM96I8Q2OKh6VvlMXi5RN5Fj0zYHPPDQK vQ0lKQddmj2GSLQhwA+g4TueJRqScH5Qq2m+ChHu0UsJiK7qCbzRehaZiRiI2/VTVyMC idUaqVCHxROXv7ivRClX5A0p6nQ8YW/cuxQcEH1I0uqk6tLvD3eMWPQTU8LIky0PzcCw yVKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VxTUT+n4; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id co10si5684000plb.358.2019.08.30.14.45.37; Fri, 30 Aug 2019 14:46:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VxTUT+n4; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728188AbfH3VpU (ORCPT + 99 others); Fri, 30 Aug 2019 17:45:20 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:43194 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728143AbfH3VpT (ORCPT ); Fri, 30 Aug 2019 17:45:19 -0400 Received: by mail-qk1-f195.google.com with SMTP id m2so7467642qkd.10 for ; Fri, 30 Aug 2019 14:45:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y2eIGQI2Zi7oPP+PNtMVrWpZawQ7idVXN94BfbCutwc=; b=VxTUT+n4vCiGZVFjmWZebeMHVeqLJg5eHiW/p1wBhlteDBd10Eyfw5ugYFzJAlNTC9 3LnW6LWwb2c/rPwMZjUi1kKeZBMy7gI/Cy62Gj4E0yt8ifu0wEiDUE+1/5zpNzKY+q/q t9/QDKoj/JAuUkvwx0ahRzFCnK7DN7umu7yRNpBCZMKwCSmidVSQnhM2m1MxmHwUFzmJ meBnfSJzwFlLi1h42YklR/zoWi2o0qs57g/yi0nPAWRCYm0EX6oBBwsTG/FxrxlRu0aV ZsUxVQnU6VtcZrF3ScY93IovYyizOjuNoDZwrXgq6vu2vuT2CJuLx22leMIpRIdTrF6p JAHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y2eIGQI2Zi7oPP+PNtMVrWpZawQ7idVXN94BfbCutwc=; b=g9ZBOpl+4sQCATfxpsbTDwgE1gNY1yFEkJUy4RIQYSfA6wjuAtt/uUKdZI9641ehHU RMTxVVWi7vXYVrLu4XrUUVs2m6otfYu6Z+nzsjO3q2gLGWJYyXnNh0WRS2u3kBcCoyVQ dnan4HIwtcVblVf4SPC9YREs4gXB1akKFXLUq6GVfM0GU6stiM9BLI64tea1DeDLHi6n xFP2szeI2++PozQBXjywUVbu4/AdPwbHGtUSVhgurP5qMJH2mV4YvBY7q1wN6HlSMvxW HccxR2xeKC3B15S3F5kaoprdjRLRdwk3YyqYEQQvjB91VgfCET2pZxukXb74aJ3KIbib M1kA== X-Gm-Message-State: APjAAAVWX0+W+IiD6eVXBJzrlAcait+Owm8lLVc7fHXucOGJXnC5JEIY XjzJtU7+NIZePnB4K6QhJgnPWIu2UfhkXfst6GSsEMTD X-Received: by 2002:a37:a503:: with SMTP id o3mr994717qke.115.1567201518555; Fri, 30 Aug 2019 14:45:18 -0700 (PDT) MIME-Version: 1.0 References: <9172166a-eb77-a508-ba54-08fdf96912fc@lwfinger.net> <9492be2d-abd1-0e1d-5d80-1a72b0250749@lwfinger.net> In-Reply-To: <9492be2d-abd1-0e1d-5d80-1a72b0250749@lwfinger.net> From: Sergey Kharitonov Date: Sat, 31 Aug 2019 01:45:07 +0400 Message-ID: Subject: Re: [Linux Realtek Wi-Fi support] rtl8192ee related bug To: Larry Finger Cc: linux-wireless@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Sounds good! I made a little change to compile that old rtl8192ee_revised.tar.bz2 driver on Linux 5.2.X and I get <1ms overall ping to the router with rare spikes to 1-2ms. I'm excited to know the right driver can provide the same performance, it's starting to look now like the hardware's achievable maximum. Is there any chance an improved rtl8192ee would be included in Linux 5.3? On Sat, Aug 31, 2019 at 12:36 AM Larry Finger wrote: > > On 8/10/19 1:13 PM, Sergey Kharitonov wrote: > > Dear Mr. Finger! > > Thank you for paying attention to the problem. I've just posted an > > updated information to that bug before receiving this message. > > > > I get these results > > ~]$ ping 192.168.88.1 > > PING 192.168.88.1 (192.168.88.1) 56(84) bytes of data. > > 64 bytes from 192.168.88.1: icmp_seq=1 ttl=64 time=0.746 ms > > 64 bytes from 192.168.88.1: icmp_seq=2 ttl=64 time=0.868 ms > > 64 bytes from 192.168.88.1: icmp_seq=3 ttl=64 time=0.853 ms > > 64 bytes from 192.168.88.1: icmp_seq=4 ttl=64 time=0.868 ms > > 64 bytes from 192.168.88.1: icmp_seq=5 ttl=64 time=0.818 ms > > 64 bytes from 192.168.88.1: icmp_seq=6 ttl=64 time=0.844 ms > > 64 bytes from 192.168.88.1: icmp_seq=7 ttl=64 time=0.841 ms > > 64 bytes from 192.168.88.1: icmp_seq=8 ttl=64 time=0.913 ms > > 64 bytes from 192.168.88.1: icmp_seq=9 ttl=64 time=0.844 ms > > 64 bytes from 192.168.88.1: icmp_seq=10 ttl=64 time=0.886 ms > > ^C > > --- 192.168.88.1 ping statistics --- > > 10 packets transmitted, 10 received, 0% packet loss, time 387ms > > rtt min/avg/max/mdev = 0.746/0.848/0.913/0.044 ms > > > > with a driver from rtl8192ee_revised.tar.bz2 file in > > https://github.com/lwfinger/rtlwifi_new/tree/extended repository built > > against Linux 4.19.65-1-lts ArchLinux current LTS kernel. > > I have completed but not yet sent some updates for rtl8192ee. Using them and > kernel 5.3-rc6, I am getting the following: > > --- 192.168.1.1 ping statistics --- > 100 packets transmitted, 100 received, 0% packet loss, time 99134ms > rtt min/avg/max/mdev = 0.881/1.487/8.198/0.844 ms > > This is using the "old" firmware with the following md5sum: > > c8d25646cbc9efdcb818fc95ad5836a9 /lib/firmware/rtlwifi/rtl8192eefw.bin > > The new driver patches convert a set of macros to read and write the descriptors > into inline routines. The calling sequences are also converted from u8 * to > __le32 *, but I would not expect much improvement with the latter changes. > > Using a local speed test web site, I am getting 100 Mbps download and 80 Mbps > upload rates. > > Larry > > >