Search Linux Wireless

Re: Is there no upper limit on mac80211 pending xmit queue size?

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

 



On Tue, May 29, 2012 at 2:14 PM, Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote:
> The tx pending queues doesn't seem to be limitted, allowing
> run-away memory usage when something like pktgen is
> sending packets faster than the system can actually
> send them.
>
> [root@ct520-2011 ~]# cat /debug/ieee80211/wiphy0/queues
> 00: 0x00000000/0
> 01: 0x00000000/0
> 02: 0x00000001/40076
> 03: 0x00000000/0
> [root@ct520-2011 ~]# cat /debug/ieee80211/wiphy0/queues
> 00: 0x00000000/0
> 01: 0x00000000/0
> 02: 0x00000001/52649
> 03: 0x00000000/0
> [root@ct520-2011 ~]# cat /debug/ieee80211/wiphy0/queues
> 00: 0x00000000/0
> 01: 0x00000000/0
> 02: 0x00000001/107939
> 03: 0x00000000/0
>
> I think this is what is causing my OOM issues when sending
> with (my hacked version of) pktgen.
>
> Shouldn't there be an upper limit on the number of pending frames
> that mac80211 will queue?

something bql-like would help a lot.

>
> Thanks,
> Ben
>
>
> --
> Ben Greear <greearb@xxxxxxxxxxxxxxx>
> Candela Technologies Inc  http://www.candelatech.com
>
> --
> 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



-- 
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
http://www.bufferbloat.net
--
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