On 24 Jul 2012, at 13:49, Phil Mayers wrote: > On 24/07/12 13:26, Andrei Petru Mura wrote: >> I'm running FreeRADIUS on a PC with a dual CPU of 2 GHz and 2 GB of RAM. >> It is working with PostgreSQL database. >> When I perform tests with radperf, running : >> >> radperf -s -f ../users.csv -p 800 -a pap 10.3.1.1 auth radiussomething >> >> where users.csv file contains 10000 user names with password, I get this >> output: >> >> Total succeeded : 3811 >> Total failed : 6189 >> Total no reply : 0 >> Total time (s) : 10.588 >> Packets/s : 944 >> Response times: >> < 10 usec : 0 >> < 100 usec : 0 >> < msec : 0 >> < 10 msec : 1 >> < 0.1s : 3758 >> < s : 5897 >> < 10s : 344 >> < 100s : 0 >> (the result is a good one taking in account the packets amount processed >> per second - related to more tests that I did). >> I would need a sever able to manage a much greater amount of users ( > >> 50000, up to 1000000). But for now I'm interested how to get the server >> working well with ~(50000<->100000) users. > > The number of users isn't too important, I suspect. > > What matters is the authentication rate (number of auths/sec) and the > accounting rate (acct/sec). > > You also need to ensure your SQL database can reply sufficiently quickly. > This might depend on the number of users, since SQL query performance is a > complex mixture of table size, indexing and load. > > 1000 auths/sec is quite a lot. It implies you need to perform 1000 SQL > queries/sec (at LEAST).
I'm not sure this is accurate given the number of failed requests, i'd investigate that then re-run the tests. -Arran - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

