Hello there,<div><br></div><div>We are using Freeradius for about four years now, and it has proven a robust and reliable AAA solution.</div><div>In our actual setup, we don't use Interim updates.</div><div>As our needs changed over time, it's now imminent for us to use the Interim feature, so we've done some tests and statistics.</div>
<div>We have an average of 7K simultaneously connected users, of 15K in total. Our growth is something about 150 users per month.</div><div><br></div><div>In our first test, we'd set our NASses to send updates with 1 minute frequency, what resulted in about 100 update queries per second.</div>
<div>Our server didn't managed to handle that volume of activity, and when using vmstat to measure the performance, we've noticed that our problem was relative with interrupts per second and context switches, with both parameters with levels in about 3000. </div>
<div>Since each query take about 0,016 seconds to execute, we need 1,6 seconds to handle 1 second of activity.</div><div>Our current server configuration is a Quad core Xeon 3400, with 2GB RAM, and a RAID 0 array of 2 disks running MySQL as database backend.</div>
<div> </div><div>Later we had set our Interim update to 5 minutes, so we ended with an average of 20 update queries per second, and interrupts per second and context switches in about 800 with 1200 peaks.</div><div><br></div>
<div>I'm no DBA, so I've done as much tuning as I could learn from MySQL documentations and users forums. But I feel that our database could be tuned a little more. In addition, we're planning to upgrade the server.</div>
<div><br></div><div>So I ask you guys some advice on MySQL tuning and Server provisioning to do the AAA of about 25000 users with the 5 minutes Interim. </div>
<div><br></div><div><br clear="all"><div>Much Thanks</div><div>Tiago Ratto<br><a href="mailto:ti@friistelecom.com.br" target="_blank">ti@friistelecom.com.br</a><br></div><div>IT - Friis Telecom<br><a href="http://www.friistelecom.com.br" target="_blank">http://www.friistelecom.com.br</a></div>
<br>
</div>