performance freeradius with psql (auth only)
Hi lists, I am just measuring (maybe more guessing) some performance figures. I started 3 radclients (1 on localhost, 2 on different remote hosts) with 12K different user and credentials. I am working with virtual hosts under XEN. I am just counting the logfile entries from logfile for Auth: Login entries. With a single radclient from a remote host its something between 10 to 15 auth per sec. With 3 radclients its something between 30 to 45 auth per sec. There is no change in that values, if I increase the max database connections. So I think it might be a problem, that there are not enough requests produced from the radclient(s) aprox 800 per minute. Could that be? Any other figures measured by someone? BR Uwe -- kiste lat: 54.322684, lon: 10.13586
Hi lists,
I am just measuring (maybe more guessing) some performance figures. I started 3 radclients (1 on localhost, 2 on different remote hosts) with 12K different user and credentials. I am working with virtual hosts under XEN.
I am just counting the logfile entries from logfile for Auth: Login entries. With a single radclient from a remote host its something between 10 to 15 auth per sec. With 3 radclients its something between 30 to 45 auth per sec.
There is no change in that values, if I increase the max database connections. So I think it might be a problem, that there are not enough requests produced from the radclient(s) aprox 800 per minute.
Could that be?
Yes. Database will start coming into play with some 100 requests per second. Single client on localhost should be able to handle that. Ivan Kalik Kalik Informatika ISP
Ivan,
There is no change in that values, if I increase the max database connections. So I think it might be a problem, that there are not enough requests produced from the radclient(s) aprox 800 per minute.
Could that be?
Yes. Database will start coming into play with some 100 requests per second. Single client on localhost should be able to handle that.
OK, thats strange. One radclient only generates 15 requests per sec in my tests - and causes load on the system. The 100 requests per sec were "statefull" or fire and forget without parsing the answer? Thanks for help BR Uwe -- kiste lat: 54.322684, lon: 10.13586
Uwe Kastens wrote:
OK, thats strange. One radclient only generates 15 requests per sec in my tests - and causes load on the system. The 100 requests per sec were "statefull" or fire and forget without parsing the answer?
What arguments are you using for radperf? -n doesn't really work. -p will send requests as fast as the server can handle them, but no faster. So if oyu're using "-p 10", and only seeing 15 pps, it's because the server can handle only 15 pps. Alan DeKok.
What arguments are you using for radperf? -n doesn't really work.
-p will send requests as fast as the server can handle them, but no faster. So if oyu're using "-p 10", and only seeing 15 pps, it's because the server can handle only 15 pps.
Ok. RTFM is sometimes helpfull. I am using radlcient with -p 10 now from a remote host: radclient -s -p10 -f seppel <IP of radius-server>:1812 auth testing123 -q 175sec Total approved auths: 19762 Total denied auths: 964 Total lost auths: 0 Gives aprox 118 req per sec, system load on radserver < 1 with -p 25 Gives aprox 283 req per sec, system load on radserver > 5 For a virtual host with database and radius on one machine, it should be ok. I will test some day with a real database server. BR Uwe -- kiste lat: 54.322684, lon: 10.13586
participants (3)
-
Alan DeKok -
tnt@kalik.net -
Uwe Kastens