FreeRadius is 3 time quicker when running in full debug mode ( -X option)
Dear Freeradius User list, I am surprised by the fact that freeRadius (Version 2.0.4) is 3 time quicker when running in full debug mode ( -X option). When running freeradius I full debug mode /usr/sbin/freeradius –X I have good response time from remote client were between 200 and 210 ms. But when I launched freeradius without debugging (with exact same configuration): /usr/sbin/freeradius Or /etc/init.d/freeradius start the response time increase to 600ms It is usually the opposite where turning off debugging should increase response speed . Does any body have an explanation? Or any clue to improve performance on non debug Mode ? Thanks in advance for your support. Vincent - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: FreeRadius is 3 time quicker when running in full debug mode ( -X option)
Vincent Laborie wrote: I am surprised by the fact that freeRadius (Version 2.0.4) is 3 time quicker when running in full debug mode ( -X option). You are logging to syslog. Use a syslog server that doesn't kill performance, like rsyslog. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: FreeRadius is 3 time quicker when running in full debug mode ( -X option)
Alan, Many thanks for your answer, I had a look to syslog and it seems that my server is already using rsyslog: ps -elf | grep syslog 5 S root 1963 1 0 80 0 - 7041 - Mar20 ? 00:01:56 /usr/sbin/rsyslogd -c3 I also try to print directly on stdout : destination = stdout Or in files And this doesn't realy change anything. I also tried to reduce logging as much as possible for example by commenting : #auth_log but it doesn't realy help too. Looking forward to any clue that will help me to reduce this response time, Thanks, Vincent On Mon, Sep 7, 2009 at 12:59 PM, Alan DeKokal...@deployingradius.com wrote: Vincent Laborie wrote: I am surprised by the fact that freeRadius (Version 2.0.4) is 3 time quicker when running in full debug mode ( -X option). You are logging to syslog. Use a syslog server that doesn't kill performance, like rsyslog. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: FreeRadius is 3 time quicker when running in full debug mode ( -X option)
Vincent Laborie wrote: Many thanks for your answer, I had a look to syslog and it seems that my server is already using rsyslog: shrug There isn't anything in the server that says run faster in debug mode. Usually it's the other way around, because of all the extrea output that debug mode has. I also try to print directly on stdout : destination = stdout Or in files And this doesn't realy change anything. Then the problem is elsewhere. I also tried to reduce logging as much as possible for example by commenting : #auth_log but it doesn't realy help too. Looking forward to any clue that will help me to reduce this response time, What have you changed from the default configuration? Start looking there. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html