Chuang Okis wrote:
Have anyone test the performance about FreeRADIUS+jRadius on authentication?
Not me.
The test was just for authentication load test from gateway to radius server. My jradius handler would just do some easy string splitng for one VSA.
Use Perl. It's integrated into the server, and should be much faster. Or, use a regex. See "man unlang". Or, write a C module to do it.
Does this be the most probable factor causing the slow processing? Even through I doubt it...
Yes. It's jradius.
Then I did some interesting test later... I left my handler empty but still let traffic get into jradius handler through rlm_jradius by TCP socket. The result has improved a bit even though not at our level of acceptance.. Its TPS (Transaction Per Seconds) improved from 30 to 300 approximately.
300 is still MUCH slower than 10,000.
Hence, I'm guessing the bottleneck may be the process of rlm_jradius communication. Does anyone get any help or recommendation?? Or any other performance tuning tips I can do?
Don't use jradius. It's very slow. Use pretty much anything else. Alan DeKok.