We have implemented moodle using xampp on windows 2003 server. The system is a server class machine. When load testing was done for 50 concurrent users for 5 mins. CPU utilization is 80-100% consistently. The test was done just for login in and log out.
Could any expert recommend optimum configuration settings in httpd.conf and/or my.ini. Or any other suggestions.
I have gone through a couple of discussions but couldn't locate the correct answer.
Your earliest help is appreciated.
Version of Moodle used is 1.9+
The details of the Server are as follows:
HP DL 380 G5
OS : Windows Server 2003 - Enterprise Edition, SP2
MySQL and Apache are currently on the same server. I have used XAMPP to install MySQL and Apache - XAMPP 1.7.2
Authentication type used is DB Authentication, even though we plan to use LDAP once it is moved to production.
The simple load test that we are doing is trying the login with 50 concurrent users, and we are getting an average of 80% CPU utilisation for a 5 mins test.
We tried the following modifications to my.ini to improve the performances and then run the same test with default settings and the the new settings to compare the 2. However, the result does not indicate significant performance improvement by the changes made to my.ini
#key_buffer = 16M
key_buffer = 150M
max_allowed_packet = 1M
#table_cache = 64
table_cache = 200
#sort_buffer_size = 512K
sort_buffer_size = 2M
#net_buffer_length = 8K
net_buffer_length = 2K
#read_buffer_size = 256K
read_buffer_size = 1M
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
thread_stack = 64K
query_cache_size = 150M
The results of the test for 50 concurrent users are as follows:
CPU Usage Maximum Average
Default 100 77.5
Modified 100 77
Memory Maximum Average
Default 1283 1206
Modified 1261 1168
Any suggestions on this front guys?