(RADIATOR) How to do a load test
Hugh Irvine
hugh at open.com.au
Wed May 29 15:47:07 CDT 2002
Hello Fred -
The first thing to realise is that "radpwtst" is not a high-performance
radius load generator, however what we do is this:
set up Radiator host
run "radiusd -trace -1 -config_file ....." in a terminal window
(this will give the number of requests per second)
run multiple copies of radpwtst on multiple other machines
(*not* the Radiator host)
The mistake that many people make is trying to run radpwtst on the same
machine as Radiator which will skew the results significantly.
Otherwise, you can do a google search on radius test generators.
regards
Hugh
On Wed, 29 May 2002 20:37, Fred Albrecht wrote:
> Hi
>
> I've been wondering how one goes about really stressing a Radiator
> installation to see what it can do. I've tried using radpwtst to flood the
> service but on a config that simply allows everyone in I get about 17 - 33
> milliseconds per access request, while only sending only accounting gives
> 93 miliseconds per request.
>
> A uname -a returns :
> SunOS wol-aaa1 5.7 Generic_106541-12 sun4u sparc
> SUNW,UltraSPARC-IIi-Engine,
>
> 1 Gig of memory installed., 1 CPU
>
> CPU drops right down to 0 % free when running the test.
>
> Running radpwtst on just auth gives
>
> Is this good or bad, and how can I increase these results?
>
> Also, are there any good tools to really flood a Radius server with access
> requests?
>
>
> The allow all config looks like this:
> ----------------------------------------------------------
> #
> # radius.cfg
> #
>
> # Set this to the directory where your logfile and details file are to go
> LogDir /opt/LOGS/radius/
>
> # Set this to the database directory. It should contain these files:
> # users The user database
> # dictionary The dictionary for your NAS
> DbDir /usr/local/etc/raddb
>
> AuthPort 3645
> AcctPort 3646
> Trace 3
>
> LogFile %L/Radiator.log
>
> #PasswordLogFileName %L/password.log
>
> # Clients
> <ClientListSQL>
> DBSource dbi:Oracle:PHEONIX
> DBUsername pheonix
> DBAuth unclefred
> </ClientListSQL>
>
>
>
> <Handler DEFAULT>
> <AuthBy FILE>
> #The filename defaults to %D/users
> </AuthBy>
> </Handler>
>
> -------------------------
>
> And the users file looks like this:
> ------------
> DEFAULT
> Service-Type = Framed-User,
> Framed-Protocol = PPP
> -----------
>
> Thanx
>
> fred
>
>
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
--
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.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list