Okay so I have been working with our technician on this for the last month and a half and I am running out of ideas. We moved from Moodle 1.9 to 2.1 and are currently running 2.1.1+ (Build: 20110928). We have about 4000 students total, and have seen slow times for example just pulling up the notifications to see the version information can take about 20 seconds as the admin.
I know that we are running the site on a VM that has 4 GB of Ram and a about 200 GB of space. It also looks like we are using a single processor@ 2.4 GHZ.
We believed that part of our problem was an email infinite loop due to our use of @noemail as an email domain for some students. To correct this we turned off most of the message notifications that would be sent to the student role via email and changed it to use messaging instead.
However after about a week with that off we are still having concerns regarding speed.
For example a teacher today was doing a lesson with about 20+ students and has been waiting for page loads. I know that in the past the page loads for a lesson activity like this would be between 3 and 10 seconds, now they have doubled or even tripled depending on the other uses of the server at this time.
Any insight would be greatly appreciated. If more information is needed please let me know.