Removing Modules Improve Performance?

Removing Modules Improve Performance?

by James Phillips -
Number of replies: 4
If you remove unused modules from your moodle installation and also removed unused language packs etc., will this actually make moodle rune any more quickly?
Average of ratings: -
In reply to James Phillips

Re: Removing Modules Improve Performance?

by Steve Hyndman -

James,

I don't think removing modules that are not in use will do anything to improve performance...not using modules such as chat and quiz could greatly improve performance, but just making them unavailable is the same as removing them as far as performance goes. I don't think the number of languages you have will make a difference on performance one way or another.

Steve

In reply to Steve Hyndman

Re: Removing Modules Improve Performance?

by Michael Penney -
Hmm, if you are showing the lang menu, reducing the number of languages in the menu will certainly improve performance (or hiding the menu)--takes a while to render all those fields in the drop down.

Also, removing modules if you also remove their styles will help some (some modules more than others) styles.php can be a huge file with the standard theme and.

There is more discussion of performance improvements with removing langs and mods here.




In reply to Michael Penney

Re: Removing Modules Improve Performance?

by Martín Langhoff -
Yep, Michael is right. For max performance,

- enable langcache and/or reduce the number of allowed languages
- use a PHP precompiler
- disable filters
- disable modules
- trim Apache's maxclients, MySQL maxconnections according to your RAM availability (see earlier threads about maxclients)
- maintain your DB indexes
- switch to Postgres ;)

Cheers!
Average of ratings: Useful (1)