<br><font size=2><tt>Thanks for the reply.</tt></font>
<br>
<br><font size=2><tt>Many good tips, I have added som info/questions/answers
under some of them.</tt></font>
<br>
<br><font size=2><tt>Another question:</tt></font>
<br><font size=2><tt>What did you set your max_requests, start_servers
and max_servers to?</tt></font>
<br>
<br><font size=2><tt>freeradius-users-bounces@lists.freeradius.org wrote
on 11.06.2005 14:01:58:<br>
> <br>
> > <br>
> > We have 1500 customers connected to our PPPoE servers, to autenticate
we <br>
> > have 2 freeradius servers connected to a mssql server.<br>
> <br>
> How many authentications per second are you expecting?<br>
> <br>
> With decent hardware you should be able to authenticate all 1500 within
<br>
> a couple of seconds. I've tested our development Sun V440 to over
600 <br>
> authentications per second using openLDAP as a backend with 1,000,000+
<br>
> entries and a random spread of usernames across those 1,000,000 entries.
<br>
> My client was the limiting factor though, I couldn't max out the CPU
of <br>
> the RADIUS server.<br>
</tt></font>
<br><font size=2><tt>at least 700, if a server goes down, the other must
take over. Or if we have to do a emergency reboot. </tt></font>
<br><font size=2><tt>It should handle at least that many.</tt></font>
<br>
<br><font size=2><tt>> <br>
> <br>
> > <br>
> > Does anyone got a tip on how to improve performance on the radius
servers?<br>
> <br>
> The biggest bottleneck is likely to be your database. Check your <br>
> indexes, etc.<br>
</tt></font>
<br><font size=2><tt>I will try some more tweaking, but I would like to
have a test tool first.</tt></font>
<br><font size=2><tt>So I could see the differences.</tt></font>
<br>
<br><font size=2><tt>> <br>
> Homename lookups may be an issue too if the server is waiting to for
DNS <br>
> lookups. Not sure if this is an issue at request processing time or
just <br>
> at startup. Try turning it off (radiusd.conf) and see if it makes
a <br>
> difference.<br>
</tt></font>
<br><font size=2><tt>It is turned off</tt></font>
<br>
<br><font size=2><tt>> <br>
> Only log what is necessary. Are you logging request and reply packets?
<br>
> If so, do you *need* to?<br>
</tt></font>
<br><font size=2><tt>I have removed everything that I don't feel is necesarry.</tt></font>
<br><font size=2><tt>> <br>
> If authentication is *REALLY* slow (ie more than a couple of seconds
per <br>
> request), run the server in debug mode and you may be able to see
which <br>
> operations are taking the time.<br>
</tt></font>
<br><font size=2><tt>It is not that slow, but I will try debug mode anyway
to see if I can see any errors.</tt></font>
<br>
<br><font size=2><tt>> <br>
> > <br>
> > And how to test preformance?<br>
> <br>
> radclient can be used to send multiple requests to a radius server.<br>
> <br>
> I wrote myself some rough perl scripts to perform authentication and
<br>
> accounting "load" testing and report on average number of
requests <br>
> handled per second, etc.<br>
</tt></font>
<br><font size=2><tt>So did I, but it ended up with the "test machine"
taking up 100% cpu and not beeing able to authenticate more than 20 pr.
sec.</tt></font>
<br><font size=2><tt>I should work on my coding skills ;)</tt></font>
<br>
<br><font size=2><tt>It would be great if you could share that script with
me.</tt></font>
<br><font size=2><tt>> <br>
> Hope that helps a little<br>
> <br>
> regards,<br>
> Mike<br>
> <br>
> - <br>
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html<br>
</tt></font>