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.


thanx in advance,
Jose



__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

===
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