Search Linux Wireless

Re: WRT54g / b43 / mac802.11 BREAKTHROUGH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/14/2013 02:35 PM, Bastian Bittorf wrote:
Bastian,

* Bastian Bittorf <bittorf@xxxxxxxxxxxxxx> [18.07.2012 17:43]:
hi devs!

yesterday we had a breaktrough debugging b43 in our hackspace maschinenraum/m18[1,2]
at weimar.freifunk.net[3,4] - since a long time our darling wrt54g suffers from a
hanging wifi and bad performance[5], but the workaround is easy: now it's up to
you to fix the rootcause.

[...]

another issues was found, see https://dev.openwrt.org/ticket/7552#comment:69

"...under high load and have found that probably some of the silent freezes
are due to overflow of the RX DMA buffer, seems like b43 does not
handlre such a situation at all."

https://dev.openwrt.org/attachment/ticket/7552/840-b43-workaround-rx-fifo-overflow.patch

the patch is working so far, but is only a workaround.
has somebody a better code-idea?

I am looking into this problem; however, as it has been several years since I looked at the dma code, it might take a while. In the meantime, I have some questions, and one thing for you to try.

How frequently do you hit the buffer overflow?

Is the problem caused by a load with high bursts, or is the high load relatively constant?

Please change B43_RXRING_SLOTS in drivers/net/wireless/b43.h from 64 to 128 while keeping your recovery patch in place. Unless you are extremely limited in the memory, that should help. I think that change has helped on one of my 32-bit systems. I still want to keep track of the minimum in the free slots and expose that quantity in /sys, but first we should see if changing the number of slots helps you.

Larry

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux