Recommendations needed for improving performance

Recommendations needed for improving performance

by cesar correa -
Number of replies: 2

Hi, I have serious performance problems and I wanna some help of you please! tellme your recommendations or what do you guys think:

In my company, We are using Moodle 2.1.3+ (Build: 20111209

So, the machine host is : 

-Intel® Xeon® E5345 64 bits at 2.33 GHz,  

-with 8 total GB Ram ( 4 Gb Free), Windows Server 2008 R2 64 Enterprise Sp1 

- SQL Server 2008 R2 Enterprise Versión: 10.50.1600

Apache/2.2.21 ( PHP/5.3.8 ) h ttpd.exe *32

- Native driver freetds (client charset = UTF-8 tds version = 7.0 text 20971520)

My problem is a super bad performance in the application, the h ttpd.exe is using the 80% cpu time ever, with a size around 100 Mbytes in RAM, also the apache config is default.

Well, I was doing test profile (tracing underground while 20 virtual students making an exam)   with xdebug and I found some like this: 

 miliseconds

Print_course have 19 invocations and 56 ms total self cost and 1188 ms total inclusive cost

block_navigation_renderer->navigation_node have 43 counts and 56 ms total self costo and 1188 ms inclusive cost

Which I consider expensive in performance

Average of ratings: -
In reply to cesar correa

Re: Recommendations needed for improving performance

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Are you using a PHP accellerator like APC?

For more see http://docs.moodle.org/24/en/Performance_recommendations

In reply to Tim Hunt

Re: Recommendations needed for improving performance

by cesar correa -

no TIm, I dont,

Jus I can see this: eaccelerator.enable = "1"  in my php.ini but not Apc