FreeRadius is 3 time quicker when running in full debug mode?( -X?option)

Alan DeKok aland at deployingradius.com
Sun Sep 13 17:06:19 CEST 2009


Mathieu Agopian wrote:
> It is indeed what we've experienced with our tests: a simple "echo
> 'Auth-Type := Accept'" would take up to 100ms (more) than a "return 3"
> in perl or in python.

  Well... I'm not sure what to say about that.  Try using valgrind to
profile memory usage.

> that does indeed confirm the tests i've been doing this morning. It does
> look like the rlm_python roughly as fast as rlm_perl (takes less than a
> ms to answer, while the rlm_exec could take up to 100ms).
> I'm wondering how the "not threaded" nature of cpython will behave with
> freeradius being threaded though, any clues on that?

  No idea, sorry.

  Alan DeKok.



More information about the Freeradius-Users mailing list