From: Florian Lohoff <flo@rfc822.org>
To: Will Dyson <will.dyson@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: rt2x00/rt2500 PCI unresponsive / sluggish response
Date: Tue, 13 Nov 2007 20:23:30 +0100 [thread overview]
Message-ID: <20071113192330.GA19601@paradigm.rfc822.org> (raw)
In-Reply-To: <8e6f94720711121459j56f640abid03cb2a1eca319c2@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4830 bytes --]
On Mon, Nov 12, 2007 at 05:59:25PM -0500, Will Dyson wrote:
> That is some pretty nasty latency. You didn't describe the setup for
> your test, so I don't really have any insight into this problem. You
> might want to check the wireless bitrate using the "iwconfig" command.
>
> If the bitrate is really low, then the network latency problem is
> explained. When the bitrate is low, it is much easier for a single
> stream to saturate the connection (making for bad latency).
>
> The output of "iwconfig" and "dmesg | grep rt2x00" would really help
> in debugging this issue.
You are right - its caused by a VERY low bitrate:
flo@heisenberg:~$ sudo iwconfig ra0
ra0 IEEE 802.11g ESSID:"home.rfc822.org"
Mode:Managed Frequency:2.452 GHz Access Point: 00:0C:41:DE:17:FC
Bit Rate=1 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:off
Link Quality=47/100 Signal level=-49 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
This is kind of "interesting" as the machine is just next table
as the Access Point - Direct line of sight - about 2m.
The point is that i didnt experience the same problem
back with 2.6.16.16 and the out-of-tree ralink driver.
Here is the driver i didnt experience the problem with:
flo@heisenberg:~$ sudo modinfo /lib/modules/2.6.16.16-heisenberg/extra/rt2500.ko
filename: /lib/modules/2.6.16.16-heisenberg/extra/rt2500.ko
license: GPL
description: Ralink RT2500 802.11g WLAN driver 1.1.0 BETA3 2005/07/31
author: http://rt2x00.serialmonkey.com
alias: pci:v00001814d00000201sv*sd*bc*sc*i*
depends:
vermagic: 2.6.16.16-heisenberg preempt PENTIUM4 gcc-4.0
parm: debug:Enable level: accepted values: 1 to switch debug on, 0 to switch debug off. (i)
parm: ifname:Network device name (default ra%d) (s)
With 2.6.24-rc2 current git the rt2x00 driver is compiled fixed into
the kernel - No rt2x00 messages but here is what i found:
flo@heisenberg:~$ dmesg | egrep "rt2x00|ra0|phy0"
phy0: Selected rate control algorithm 'simple'
ADDRCONF(NETDEV_UP): ra0: link is not ready
ra0: Initial auth_alg=0
ra0: authenticate with AP 00:0c:41:de:17:fc
ra0: RX authentication from 00:0c:41:de:17:fc (alg=0 transaction=2 status=0)
ra0: authenticated
ra0: associate with AP 00:0c:41:de:17:fc
ra0: RX AssocResp from 00:0c:41:de:17:fc (capab=0x401 status=0 aid=1)
ra0: associated
ra0: switched to short barker preamble (BSSID=00:0c:41:de:17:fc)
ADDRCONF(NETDEV_CHANGE): ra0: link becomes ready
ra0: Initial auth_alg=0
ra0: authenticate with AP 00:0c:41:de:17:fc
ra0: RX authentication from 00:0c:41:de:17:fc (alg=0 transaction=2 status=0)
ra0: authenticated
ra0: associate with AP 00:0c:41:de:17:fc
ra0: authentication frame received from 00:0c:41:de:17:fc, but not in authenticate state - ignored
ra0: authentication frame received from 00:0c:41:de:17:fc, but not in authenticate state - ignored
ra0: authentication frame received from 00:0c:41:de:17:fc, but not in authenticate state - ignored
ra0: authentication frame received from 00:0c:41:de:17:fc, but not in authenticate state - ignored
ra0: authentication frame received from 00:0c:41:de:17:fc, but not in authenticate state - ignored
ra0: authentication frame received from 00:0c:41:de:17:fc, but not in authenticate state - ignored
ra0: authentication frame received from 00:0c:41:de:17:fc, but not in authenticate state - ignored
ra0: RX ReassocResp from 00:0c:41:de:17:fc (capab=0x401 status=0 aid=1)
ra0: associated
ra0: association frame received from 00:0c:41:de:17:fc, but not in associate state - ignored
ra0: association frame received from 00:0c:41:de:17:fc, but not in associate state - ignored
ra0: association frame received from 00:0c:41:de:17:fc, but not in associate state - ignored
ra0: association frame received from 00:0c:41:de:17:fc, but not in associate state - ignored
ra0: association frame received from 00:0c:41:de:17:fc, but not in associate state - ignored
ra0: association frame received from 00:0c:41:de:17:fc, but not in associate state - ignored
ra0: association frame received from 00:0c:41:de:17:fc, but not in associate state - ignored
ra0: no IPv6 routers present
Another interesting point is that at the back of the PCI Card the
"TxLink" led is permanently lit - I dont think this was the case
with the older driver - at least i cant remember it beeing lit.
Flo
--
Florian Lohoff flo@rfc822.org +49-171-2280134
Those who would give up a little freedom to get a little
security shall soon have neither - Benjamin Franklin
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-11-13 19:23 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-11 10:23 rt2x00/rt2500 PCI unresponsive / sluggish response Florian Lohoff
2007-11-12 22:59 ` Will Dyson
2007-11-13 19:23 ` Florian Lohoff [this message]
2007-11-14 8:58 ` Marcus Better
2007-11-14 12:17 ` Florian Lohoff
2007-11-14 12:19 ` Marcus Better
2007-11-15 1:20 ` John W. Linville
2007-11-14 15:33 ` Florian Lohoff
2007-11-14 18:57 ` Will Dyson
2007-11-14 21:13 ` John W. Linville
2007-11-15 2:40 ` Will Dyson
2007-11-15 10:11 ` Mattias Nissler
2007-11-15 19:58 ` Ivo van Doorn
2007-11-15 19:48 ` Mattias Nissler
2007-11-15 22:59 ` Ivo van Doorn
2007-11-15 8:48 ` Marcus Better
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071113192330.GA19601@paradigm.rfc822.org \
--to=flo@rfc822.org \
--cc=linux-wireless@vger.kernel.org \
--cc=will.dyson@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).