OpenWrt Forum Archive

Topic: Set memory limits for ath9k

The content of this topic has been archived on 26 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

We are using the Archer C7 v2 routers (ar71xx) with the ath10k-ct drivers. All of these numbers are while the respective pieces are under load (using iperf).

Currently, the usage on the ath10k-ct drivers we seem to see stay within approx 20-30 MB of RAM usage. The kernel seems to take approx 20MB. Then we have some other things that are taking approx 30 MB.

However, as soon as I connect to the 2GHz (ath9k) channel while monitoring the RAM usage, the routers gets within 4 MB of available memory, and things start crashing until the router reboots.
Can someone explain:
1) why does the ath9k drivers consume what appears to be 60MB+ or RAM?
2) is there some way to set the top-end limit of how much it can use?

Thanks!
Spencer

(Last edited by slthomason on 5 Sep 2017, 23:04)

This sounds like a bug.  Have you tried later versions?  You should try LEDE anyway as it includes most of the "make wifi fast" improvements to ath9k that have been added after CC was released.

The discussion might have continued from here.