Tuning freeradius memory usage for small footprint machines

Alan DeKok aland at deployingradius.com
Thu May 30 11:55:39 UTC 2024


On May 29, 2024, at 9:16 PM, Peter Thomas (pethoma2) via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> 
> Thank you! Disabling atomic queues brought down the memory usage a lot to ~10M. Wonder why atomic queues take up so much additional memory (~30M)?

  They need to be powers of 2 in size, and aligned on cache boundaries.  So there's a lot of wasted space.

> Reducing the max_queue_size doesn't seem to help either.

  It's rounded up to the nearest power of 2.

  Alan DeKok.



More information about the Freeradius-Users mailing list