That wouldn't be hugely surprising if your database wasn't well set up, to be honest.<br><br><div class="gmail_quote">On Wed, Dec 16, 2009 at 2:41 PM, Tejesh Vijayakumar <span dir="ltr"><<a href="mailto:Tejesh.Vijayakumar@lntinfotech.com">Tejesh.Vijayakumar@lntinfotech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks Alan for the suggestion..<br>
<br>
My main query was why the difference of 45 [125 auth/sec - 80 auths/sec]. The no of auths per sec is dropping at a fast rate as the number of users are increasing. How to make that consistent upto some point say for atleast one million users. [i.e auths/sec would be almost same for no of users upto one million users].<br>

<div class="im"><br>
<br>
________________________________________<br>
From: freeradius-devel-bounces+tejesh.vijayakumar=<a href="http://lntinfotech.com" target="_blank">lntinfotech.com</a>@<a href="http://lists.freeradius.org" target="_blank">lists.freeradius.org</a> [freeradius-devel-bounces+tejesh.vijayakumar=<a href="http://lntinfotech.com" target="_blank">lntinfotech.com</a>@<a href="http://lists.freeradius.org" target="_blank">lists.freeradius.org</a>] On Behalf Of Alan Buxey [<a href="mailto:A.L.M.Buxey@lboro.ac.uk">A.L.M.Buxey@lboro.ac.uk</a>]<br>

</div>Sent: Wednesday, December 16, 2009 11:17 PM<br>
<div class="im">To: FreeRadius developers mailing list<br>
Subject: Re: Free Radius performance variation<br>
<br>
</div><div><div></div><div class="h5">Hi,<br>
<br>
> I have tried PAP Authentication using users file and users stored in PGSQL Database.<br>
> With the users file Iam getting 125 auths/sec and 80auths/sec for 1000 and 10000 users respectively.<br>
> With SQL database the figures are 105 auths/sec and 70 auths/sec for 1000 and 10000 users respectively.<br>
> My query is why there is no consistency in auths/sec between 1000 and 10000 users and how to make it consistent or atleast nearby figures.<br>
<br>
for users file you might get better performance moving to the 'fastusers' module which hashes<br>
the entries?<br>
<br>
for the SQL - if you have more records then it takes longer to find entries in the database!<br>
this is basic database stuff - you need to index the required columns that you want good results<br>
from - recommend douglas and douglas postgres book - published by Developers library - or<br>
just the main posgres documentation from their site. this isnt a FreeRADIUS problem<br>
<br>
alan<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/devel.html" target="_blank">http://www.freeradius.org/list/devel.html</a><br>
<br>
</div></div><div class="im">______________________________________________________________________<br>
<br>
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.<br>

<br>
______________________________________________________________________<br>
<br>
-<br>
</div><div><div></div><div class="h5">List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/devel.html" target="_blank">http://www.freeradius.org/list/devel.html</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Mark Dennehy<br>