From: Arnd Hannemann <hannemann@nets.rwth-aachen.de>
To: ath5k-devel@lists.ath5k.org
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: ath5k IBSS mode high latency
Date: Tue, 02 Mar 2010 17:07:08 +0100 [thread overview]
Message-ID: <4B8D37AC.4010000@nets.rwth-aachen.de> (raw)
Hi,
I'm currently experimenting with ath5k of kernel 2.6.33 in our
mesh network. We, were previously using madwifi in "ahdemo" mode,
which worked reasonably well.
Now, after working around various pitfalls (e.g. BSSID merging,
still does not work reliable for us!,)
It somehow "works", but I'm occasionally seeing huge latency issues:
with ping times in the order of 30-50 seconds over a 2-3 hop path.
(e.g.:)
64 bytes from 169.254.9.47: icmp_seq=1812 ttl=62 time=34703 ms
64 bytes from 169.254.9.47: icmp_seq=1813 ttl=62 time=33782 ms
64 bytes from 169.254.9.47: icmp_seq=1814 ttl=62 time=32803 ms
64 bytes from 169.254.9.47: icmp_seq=1815 ttl=62 time=31804 ms
64 bytes from 169.254.9.47: icmp_seq=1816 ttl=62 time=30810 ms
64 bytes from 169.254.9.47: icmp_seq=1817 ttl=62 time=29814 ms
64 bytes from 169.254.9.47: icmp_seq=1818 ttl=62 time=28815 ms
I noticed that some qdisc queues fill up to pretty high values.
e.g.:
hannemann@mrouter9:~ $ tc -s qdisc
[...]
qdisc pfifo_fast 0: dev ath0 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
Sent 255864 bytes 3034 pkt (dropped 0, overlimits 0 requeues 186)
backlog 22416b 265p requeues 186
At the same time there is no reasonable traffic that justifies this high backlog.
I'm not yet sure, but it may be related to this message in dmesg:
[ 3681.006797] ath5k phy0: no further txbuf available, dropping packet
When the queue "gets stuck" no communication with this particular node is possible.
If I perform a ping on that node to another node, I can watch the backlog to increase
packet by packet[1]. Usually, at some time the queue gets suddenly "flushed"
and communication is restored. However, right now I have a node where this situation
persists for several minutes now...
Any idea how to debug this problem further?
Anyone using ath5k successfully in IBSS mode, for more than a bunch of nodes?
[1] note that I'm using static arp entries...
FYI:
[ 27.141256] ath5k 0000:00:0c.0: registered as 'phy0'
[ 27.623005] ath: EEPROM regdomain: 0x0
[ 27.623023] ath: EEPROM indicates default country code should be used
[ 27.623043] ath: doing EEPROM country->regdmn map search
[ 27.623066] ath: country maps to regdmn code: 0x3a
[ 27.623084] ath: Country alpha2 being used: US
[ 27.623099] ath: Regpair used: 0x3a
[ 27.777749] ath5k phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
[ 27.777749] ath5k phy0: RF5112B multiband radio found (0x36)
00:0c.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01)
Subsystem: Wistron NeWeb Corp. CM9 Wireless a/b/g MiniPCI Adapter
Flags: bus master, medium devsel, latency 168, IRQ 9
Memory at e0040000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Best regards.
Arnd
next reply other threads:[~2010-03-02 16:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-02 16:07 Arnd Hannemann [this message]
2010-03-03 17:06 ` ath5k IBSS mode high latency Bob Copeland
2010-03-04 13:57 ` Arnd Hannemann
2010-03-05 0:32 ` [ath5k-devel] " Bruno Randolf
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=4B8D37AC.4010000@nets.rwth-aachen.de \
--to=hannemann@nets.rwth-aachen.de \
--cc=ath5k-devel@lists.ath5k.org \
--cc=linux-wireless@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.