[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTin5VwUryoMK=jYpbNTudPLufZ+RDw@mail.gmail.com>
Date: Wed, 13 Apr 2011 13:31:40 -0700
From: Daniel Halperin <dhalperi@...washington.edu>
To: Justin Piszcz <jpiszcz@...idpixels.com>
Cc: Ivo Van Doorn <ivdoorn@...il.com>, linux-usb@...r.kernel.org,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: 2.6.38: rt2800usb: high latency (1000ms)?
On Wed, Apr 13, 2011 at 1:13 PM, Justin Piszcz <jpiszcz@...idpixels.com> wrote:
>> (1) What is the AP's beacon period and DTIM? Typical values are 100
>> TUs for beacons (102.4 ms) and 2 for DTIM (2 beacons per power-save
>> wakeup) which should imply a mean of 100 and max of 200 ms delay even
>> on pings.
>
> I am using a WNDR3700 with default settings in terms of beacons/etc. No
> issues with any device (laptop, computer, etc (in windows)), I have two
> wireless USB adapters (bought two) and in Windows, no problems, I don't
> think
> it is the WNDR3700. As far as linux/wpa-supplicant, using default settings.
Not enough info. What does "iw dev wlan1 scan dump" (it might not be
wlan1 for you) say for "beacon interval"?
Does anyone know how to get the DTIM period out of iw?
>> (2) How long does the client wait after waking up to go back to sleep?
>> It should be at least a few seconds. For ssh, then, you should see
>> something like a 100-200 ms delay for the first key and then nothing
>> at all unless you stop typing for a bit.
>
> It lags with each word I type, it is terrible. If I run something like
> dmesg or ps auxww, the entire session freezes for 5-10 seconds before it
> comes back.
Sorry; I meant what is the software stack configured to do? Do some
looking around.
>> I'm SSHing over a Wi-Fi link that uses power save right this second,
>> and have for years. It's not generally an issue, I suspect something
>> worse is going on.
>
> Maybe the wireless usb adapters do not function well in Linux with power
> save
> on.
>
> I bought them awhile ago, they had the highest reviews, and in Windows,
> they did do 10-15MiB/s, in Linux, I see ~4.6MiB/s (but that was with power
> save on) about the same, 4.5MiB/s.
> http://www.amazon.com/Medialink-Wireless-Adapter-802-11n-Compatible/dp/B002RM08RE
Yeah, these might indicate a fairly sizable problem in the Linux drivers IMO.
Dan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists