<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>freeradius performance & cpu usage</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>hello,</FONT>
</P>

<P><FONT SIZE=2>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.</FONT></P>

<P><FONT SIZE=2>thank you, </FONT>
<BR><FONT SIZE=2>raul f.</FONT>
</P>

</BODY>
</HTML>