Return-path: Received: from mail-gy0-f174.google.com ([209.85.160.174]:60344 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753681Ab1LYBUx (ORCPT ); Sat, 24 Dec 2011 20:20:53 -0500 MIME-Version: 1.0 In-Reply-To: <20111222161810.GB13554@redhat.com> References: <4ED43A5C.9000102@gmail.com> <20111129114603.GB7299@redhat.com> <20111220144317.GA6027@redhat.com> <20111222161810.GB13554@redhat.com> Date: Sat, 24 Dec 2011 19:20:52 -0600 Message-ID: (sfid-20111225_022141_496272_38ACED13) Subject: Re: [rt2x00-users] Poor performance and lockup with rt2800usb and Asus USB-N13 adapter From: Robert Hancock To: Stanislaw Gruszka Cc: linux-kernel , linux-wireless , users@rt2x00.serialmonkey.com, Andreas Hartmann Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, Dec 22, 2011 at 10:18 AM, Stanislaw Gruszka wrote: > On Tue, Dec 20, 2011 at 03:43:17PM +0100, Stanislaw Gruszka wrote: >> I just discovered that at least some problems are related with power >> save. After "iwconfig wlanX power off" I have pretty short ping times >> and good throughput, both comparable with vendor driver. But I did not >> check that on all adapters that I have yet. >> >> Looking a bit more at that seem we stop and wake queues several times >> between sending each frame. Looks like that thing need to be optimized >> in mac80211, or some parameters have to be setup properly by rt2x00 ... >> >> Also rt2800 PCI and SOC have PS disabled by default ... > > There is no bug with ping latencies when power save is enabled. Ping > send packet every second, between that we put driver in power save > mode (i.e. tell AP that we are sleeping and it has to buffer frame > to us). When we send ping packet, we wake up and receive packet from > a AP after longer time than in normal operation mode. > > I did more testing here and I have one device that works very bad, > no matter if PS is configured or not. It is > > phy6 -> rt2x00_set_chip: Info - Chipset detected - rt: 3071, rf: 0008, rev: 021c. > > I'm going to investigate problems with that device, hopefully these are the > same problems that Robert and Andreas have. > > Stanislaw I confirmed that switching off power save doesn't improve the performance significantly with the Asus USB-N13. I suspect that there must be some difference between the 3070 device and the 3071/3072 that affects this, since the 3070 device I have works much better.