linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* OOM with pktgen when transmitting on ath10k station in 4.7.10+ kernel
@ 2016-11-28 23:54 Ben Greear
  0 siblings, 0 replies; only message in thread
From: Ben Greear @ 2016-11-28 23:54 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org

When I over-drive ath10k station using pktgen, system goes OOM quickly.  If I catch it in time
and stop pktgen, then memory is recovered over the next few seconds.  I assume that there is an
un-bounded queue somewhere.

But, I cannot find any queues in the mac80211 tx path that apply to ath10k (as far as I can tell).

The one possibility is the pending queues, but printing them out with debugfs shows  them all
zeros, and I have some code to bound them at 1000 pkts anyway.

I didn't see anything obvious in ath10k either, but I must be missing something...

pktgen transmits under the queue logic, so it will likely be ignoring any
queue-stopped signals from mac80211.

Are there any other places that pkts can be queued()?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-28 23:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-28 23:54 OOM with pktgen when transmitting on ath10k station in 4.7.10+ kernel Ben Greear

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).