possible memory leak or memory waste

Ben Greear greearb at candelatech.com
Mon May 25 15:39:13 PDT 2015


Default firmware has a hard-coded minimum number of tx buffers (somewhere
more than 1k buffers I think).  Maybe driver is allocating all this
memory somehow?

If you do one-way traffic tests (udp), I wonder if you can tell if it is tx
or rx that consumes the memory?

CT firmware can be configured to use any multiple-of-8 amount of tx
buffers, though I have not tested below around 600.

Thanks,
Ben

On 05/25/2015 02:26 PM, Sebastian Gottschall wrote:
> today using the latest testing driver, i found out the memory consumption is unbelievable high.
> my router here has 64 mb ram. this ram is fully taken after some minutes by ath10k. but only if data flow present.
>
> here the results of "free" after some minutes
> root at DD-WRT:~# free
> total         used         free       shared      buffers
> Mem:         61636        58752         2884            0 2600
> -/+ buffers:              56152         5484
> Swap:            0            0            0
>
>
> now i terminate hostapd which controls the ath10k chipset
>
>
> root at DD-WRT:~# kill 902
> root at DD-WRT:~# free
> total         used         free       shared      buffers
> Mem:         61636        23212        38424            0 2416
> -/+ buffers:              20796        40840
> Swap:            0            0            0
>
>
> you see the difference?
>
>
> regards,
> Sebastian Gottschall
>
> _______________________________________________
> ath10k mailing list
> ath10k at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k
>

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



More information about the ath10k mailing list