Performance Problem in Moodle 1.9

Performance Problem in Moodle 1.9

by Haris Siempos -
Number of replies: 6
Hi to all

I have just finished the installation of Moodle 1.9 beta 4 . There was not any problem with the installation but the Moodle is quite slow . It takes 10 secs to load each page .

The only user is me and I have not created any courses yet . I have already installed the apc php accelerator with memory size set to 64MB but i dont see any difference .The memory_limit in php.ini is set to 40MB

I have also tried some of suggestions in moodledocs but nothing works until now

My Hardware Configuration is:
AMD Athlon XP 1800+
1GB RAM DDR 333
80GB HD ATA100

Software:
Windows XP SP2
Apache 2.2.6
PHP 5.2.5 ( all the needed extensions enabled)
MySql 5

The setup was manual and PHP was installed using the php-5.2.5-Win32.zip

I have tested Moodle in IE7 and Firefox 3 Beta 3

Have you any suggestions or I have to use an older version of Moodle?

Thanks in advance

Average of ratings: -
In reply to Haris Siempos

Re: Performance Problem in Moodle 1.9

by Myles Carrick -
Hey Haris,

Mate a couple of quick observations

1GB of RAM is going to be flat-out just running Windows XP, let alone a database and webserver.

Having said that, it shouldn't be that slow, even for single user stuff (a standard XAMPP setup is faster than that on XP). Monitor the performance and try and identify what the bottleneck is (look at RAM + CPU usage overall and per-process).

which suggesions from the docs did you try? You might find more joy chatting to the good folks in the Windows-based servers forum, as they're likely to be able to give you some more specific advice.

Good luck getting started with Moodle.

MC
In reply to Myles Carrick

Re: Performance Problem in Moodle 1.9

by Haris Siempos -
Hi again

Thank you very much for the quick response.

As far as I can see whenever I select a link in Moodle the Apache process consumes 90-95% of the CPU for 7-8secs with 60-70MB RAM usage

This moment with all the stuff loaded the memory used is 535MB .

Anyway I will try the forum you suggested

Thanks
In reply to Haris Siempos

Re: Performance Problem in Moodle 1.9

by Anthony Borrow -
Picture of Core developers Picture of Plugin developers Picture of Testers
Seeing that Apache may be your bottleneck, you may want to read up on how to improve Apache performance by trimming down the configuration so that it is using less resources. Peace - Anthony
In reply to Haris Siempos

Re: Performance Problem in Moodle 1.9

by Haris Siempos -
Just a remark

I made a fresh installation using XAAMP and there is a gain in speed .
Now it takes 4-5 secs to load each page .

The problem continues to be the apache process which consumes the cpu time


In reply to Haris Siempos

Re: Performance Problem in Moodle 1.9

by Greg Hayden -
Do you have any sort of a cache enabled?
In reply to Haris Siempos

Re: Performance Problem in Moodle 1.9

by Matt Gibson -
Have you altered the cache settings for mysql? XAMPP comes with very restriced settings and will be slow unless you alter them. Check the performance docs to find them.