13 Sep
2009
13 Sep
'09
11:06 a.m.
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.