freeradius performance & cpu usage
hello, i have the following problem. i'm running freeradius (with the eap-sim module, and a special module a colleague of mine wrote) on a dual 3 ghz xeon, and all that i'm getting out of it are 25 (?) authorizations per second. i wanted to see just about how bad the module was and short-circuited it. it registers only two functions, an authorization and an accounting one. if they are _empty_, the freeradius manages to get up to 70 auth./sec. no back-end database, no network communication, just the test-clients and the radius with the module returning a simple RLM_MODULE_UPDATED. when using 3 clients with 200 authorization each, the number of threads jumps to 600. that's ok. what bothers me is that the freeradius is handling such a small amount of authorizations, and keeping the processor usage below 10%. (?!) why doesn't it take 90% and do in the mean time more work? if it used all the processor time, i could just scale it maybe and get the performance i need, but this way, the computer remains practically unused. thank you, raul f.
Fechete Raul wrote:
what bothers me is that the freeradius is handling such a small amount of authorizations, and keeping the processor usage below 10%. (?!) why doesn't it take 90% and do in the mean time more work?
Perhaps the client doesn't send enough requests to make the server busy. How do you make your tests? -- Nicolas Baradakis
Fechete Raul <raul.fechete@siemens.com> wrote:
what bothers me is that the freeradius is handling such a small amount of authorizations, and keeping the processor usage below 10%. (?!) why doesn't it take 90% and do in the mean time more work?
It's limited by how fast the packets are being sent from the client, among other things. Alan DeKok.
participants (3)
-
Alan DeKok -
Fechete Raul -
Nicolas Baradakis