From: =?ISO-8859-1?Q?Bj=F6rn_Smedman?= Date: Thu, 17 Dec 2009 19:08:35 +0100 Subject: [ath9k-devel] Cyclic throughput at a distance In-Reply-To: <1260955677.20072.21.camel@jm-desktop> References: <133e8d7e0912141505k7da3b271i43f58fefac99eb7@mail.gmail.com> <1260955677.20072.21.camel@jm-desktop> Message-ID: <133e8d7e0912171008ie610c20s9ed6e27eccdd0e42@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org I tried changing becon interval (100, 500, 1000) with dtim_period=1 with no effect. My feeling is that it is not power save related as my macbook usually sails straight through that type of problems (it doesn't have power save enabled I think). What really affects the behavior is signal strength. I put the AP in the window on one side of a big parking lot and drove around with the car. The result is: Signal* Behavior ----------------------------------- -63 stable -66 stable -67 stable -70 stable -73 cyclic -> stable -75 cyclic -76 cyclic -> stable -76 cyclic -> stable -> cyclic -78 stable -> cyclic -78 cyclic -78 cyclic -82 cyclic * Ack rssi as reported by the MacBook Stable behavior is when the throughput is reasonably stable or varies in a non-cyclic manner. Cyclic behavior is when the throughput goes up and down in a cyclic pattern. So, in short, if the signal strength is above -70 dBm the throughput is stable whereas if it falls below -75 dBm or so it becomes unstable in a cyclic pattern. In general the AP is useless if signal strength falls below 78 or so. Is this normal? /Bj?rn 2009/12/16 Jouni Malinen > > On Mon, 2009-12-14 at 15:05 -0800, Bj?rn Smedman wrote: > > I'm trying to squeeze some decent medium range performance out of a > > AR9103 based router and have run into a sightly humorous but never the > > less irritating problem: when I get 30 or so meters away from the > > router (signal reported by iw as -80 dBm) throughput (measured as the > > rate at which I can download a large file to my macbook) starts > > oscillating in almost perfect cycles with a period of about 9.5 > > seconds (see attached image). > > > I'm leaning towards some sort of problem with TX queue handling. One > > strange aspect though is that I can see the same problem in a simple > > ping without the load: round trip times seem to go up (or at least > > increase in jitter) and down with about the same period as throughput > > does in the download test. > > > > Any ideas on what might be causing this? Anything running at a 10 > > second period time? :) > > My first guess would be power saving and how it synchronizes with Beacon > (and/or DTIM) interval. Have you tried disabling power saving in the > client or experimented with different Beacon interval settings? > > - Jouni > > -- Venatech AB Ideon Innovation Ole R?mers v?g 12 SE-22370 LUND Sweden +46 (0) 46 286 86 20 info at venatech.se http://www.venatech.se