Search Linux Wireless

Re: [PATCH 2.6.33] mac80211: fix skb buffering issue

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

 



On Tue, Jan 05, 2010 at 08:07:52PM +0100, Felix Fietkau wrote:

> >> Since I removed the master netdev, we've been
> >> keeping internal queues only, and even before
> >> that we never told the networking stack above
> >> the virtual interfaces about congestion. This
> >> means that packets are queued in mac80211 and
> >> the upper layers never know, possibly leading
> >> to memory exhaustion and other problems.
> >> 
> >> This patch makes all interfaces multiqueue and
> >> uses ndo_select_queue to put the packets into
> >> queues per AC. Additionally, when the driver
> >> stops a queue, we now stop all corresponding
> >> queues for the virtual interfaces as well.
> >> 
> >> The injection case will use VO by default for
> >> non-data frames, and BE for data frames, but
> >> downgrade any data frames according to ACM. It
> >> needs to be fleshed out in the future to allow
> >> chosing the queue/AC in radiotap.
> >> 
> >> Reported-by: Lennert Buytenhek <buytenh@xxxxxxxxxxx>
> >> Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
> >> Cc: stable@xxxxxxxxxx [2.6.32]
> >> ---
> >> I know it's late, and large, but still would be good to have in .33
> >> since the issue is fairly serious.
> > 
> > Obviously I'd like to see some testing.  Lennert, does this patch
> > resolve the issues you raised?
>
> I tested this patch on embedded hardware, and it makes a huge
> difference there. It fixes some serious TCP throughput drops and
> latency spikes that I observed with ath9k earlier.

Good to hear.  While you're testing anyway, could you check whether
shortening the wlan0 tx queue length to, say, 100 entries (ifconfig
wlan0 txqueuelen 100) has any further effect on latency, or on CPU
usage?
--
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 Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux