Thanks Hugh.  Are you saying that running radpwtst on the same server as
Radiator is a bad thing?  The reason I ask is that I ran n local copies
of radpwtst simultaneously, and performance dropped through the floor
even with n as low as 3.  I'm running a twin-CPU HP server with 1/2gb of
ram, perl-ldap-0.22.

The radpwtst command I used was

/opt/perl5/bin/radpwtst -s myserver -time \
                -iterations 20 \
                -secret xxxxxx \
                -auth_port 1812 \
                -chap \
                -user [EMAIL PROTECTED] \
                -password password \
                -noacct \
                -nas_ip_address 1.2.3.4 \
                -nas_port 2 \
                -service_type 2 \
                -dictionary /path/to/dictionary \
                "NAS-Port-Type=Virtual"

and I started a handful of them with a driver that just did

run-radpwtst &
run-radpwtst &
...

Trace is 0 and the directory is on the same host.  The attributes being
searched on (username/password) are keyed in the directory for maximum
performance.  In fact I can see that the directory turns around a search
in under 10 milliseconds.

I used 20 iterations to give the later invocations of radpwtst time to
get into their stride before the earlier ones finished.

Here are the total numbers:
1 user:  20 per sec
2 users: 16 (ie each radpwtst averaged 8/sec, so in total 16)
3 users: 11.25 (3.75)
4 users: 10.67 (2.67)
5 users: 10 (2)
10 users: 8.58 (0.858)

To my untrained eye these numbers don't look so hot.  What am I
missing?  Even if there is some overhead with running radpwtst on the 
server, I would not expect this much impact.  With 50 NASes and 100,000
users in the directory, I could really do with having an order of
magnitude improvement.  Otherwise (whisper it quietly) the management
will start suggesting Cisco Access Registrar or Nortel Preside.  Any
tips on these scalability and performance issues gratefully received.

TIA

--herb



>From: Hugh Irvine <[EMAIL PROTECTED]>
>
[snip]
>Just set up Radiator on one or two additional machines and run multiple 
>copies of radpwtst on each one against the Radiator host. Thats what we do 
>here for our own stress testing.
>
[snip]

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.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