performance metrics [was FreeRADIUS 2.X.X small functionality extensions]

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Jun 5 12:48:53 CEST 2014


On 5 Jun 2014, at 10:08, Kostas Zorbadelos <kzorba at otenet.gr> wrote:

> 
> Now, this is a nice coincidence, switch in the thread context.
> 
> I would also like to know performance numbers and seached very briefly
> for RADIUS stress test tools but the most promising I found, radperf, is
> unavailable. 

I believe Network RADIUS is still offering it with support contracts.

But yes, the download link should be removed or fixed, leaving it broken like that is annoying.

>>> We are an ISP with around 800k subs and are running 2.1.12 since
>>> that's what comes with RHEL 6.5 and use perl for the slightly more
>>> complex things you can't easily do with unlang.
>>> 
>>> I was running performance testing against our ldap database last
>>> week using a custom JMeter sampler I built to make the radius calls
>>> using tinyradius as the client. Managed to get up to 760tps where a
>>> transaction was one access request and two accounting starts (so
>>> 2280rps). I suspect that the performance hit was coming from jmeter
>>> as those numbers smashed anything the bngs could throw at us and the
>>> cpu never went above 8% so I am happy enough.
>> 
> 
> Very nice to know, thanks.
> 
>> For comparison lightly tuned v3.0.x gets around 22,000-25,000 RPS
>> against the latest version of OpenLDAP with LMDB, so although it may
>> be good enough for your purposes, that represents a huge slow down
>> over what's possible.
>> 
>> Even with BDB (properly tuned) you should expect a rate of around
>> 12,000 RPS (though i've not personally tested that). 
>> 
> 
> Since we do not have OpenLDAP, but former SUN's JES, I am interested to
> know how you perfomed the tests. Custom developed tool, or anything
> generally available? 

FreeRADIUS v3.0.x against LDAP with 100 workers, and radperf running 5M requests with 100 in parallel. 

I increased the number of rlm_ldap calls per request to find out the max TPS of OpenLDAP.

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140605/339d297d/attachment.pgp>


More information about the Freeradius-Users mailing list