Hello Jose -

On Saturday 30 December 2000 19:29, Jose Quinn wrote:
> hi all,
>
> I tried to benchmark the radiator with a simple test.
> I used radpwtst as the client. What I have done is
> wrote down a simple perl script as below:
>
>
> #!/usr/bin/perl
>
> use Benchmark;
>
> $t0=new Benchmark;
> $i=0;
> $iter=300;
> while($i<$iter) {
>   `/usr/bin/radpwtst -secret xxx -auth_port 1812 -user
> yyy -password zzz -noacct`;
>   $i++;
> }
> $t1=new Benchmark;
> $td=timediff($t1,$t0);
> print "after $iter iteration the code took:",
> timestr($td),"\n";
>
> #========end of script=======
>
>
> I use AuthBy SQL in configuration file.
> The result of this simple benchmark is (on average) 73
> secs (or 4 auth/sec).
> What did I do wrong in this benchmark which gave poor
> result (4 auth/sec)?
> Any suggestion to improve the script for benchmark?
>
> btw,
> I use FreeBSD 4.1 and MySQL on Pentium III with 512MB.
> No additional services running on this box other than
> radiator.
>

There are any number of things that will slow processing down, including 
trace level in Radiator, logging and accounting data recording, incorrect 
indexes on databases, running radpwtst on the same machine as Radiator 
(causing contention), configuration file problems, etc, etc.

You should really run radpwtst on a seperate machine and run Radiator with 
Trace -1 (to turn off all logging) and use a very simple configuration file 
with only an AuthBy TEST to begin with to set a benchmark figure. Then you 
can start adding things like your database (which should really be on a 
seperate host as well), etc.

Section 24 in the Radiator 2.17.1 manual has a table of test results compiled 
using the techniques described above.

regards

Hugh


-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to