In order to stress test our Moodle installation on IIS7.5 with PHP 5.5.6 we used the following -
Installed Moodle, PHP, Wincache and MySQL with Microsoft web installer. This produced the production machine.
- Added the following to PHP.ini
The Session Save Handler puts information into Memory and saves sessions to the moodledata folder sessions folder
The PHP_Wincache section calls the wincache.dll and uses an optimal amount of cache for performance
- Downloaded PHP 5.56 from here and registered new PHP with IIS7.5 PHP Manager
- Added Wincache stores to Moodle (from here)
This is a plugin to enable MUC access to the WinCache PHP extension available on Windows platforms. This caches Application Stores and enhances performance.
Configuration after installing the Wincache Store
Site Administration – Plugins – Caching Configuration
Moodle Session Handling
Site Administration – Server – Session handling – Disable database for session information.
Testing the Cache store performance on 100,000 uniques requests per operation (See the after Moodle Data move below)
FX-6100 3.3Ghz CPU (Six Core) (info)
2 Western Digital 2 TB Hard Disk (info)
8 GB of Ram DDR3
Windows Server 2008 R2 (Processor Scheduling – Background and Virtual Memory – System Managed to second Hard Disk)
Note: Since this write up, we have moved the MoodleData to a third hard disk and cloned the Windows Hard Disk to a solid state
The Tennessee College of Applied Technology – Shelbyville (Tennessee Technology Center at Shelbyville at the time) won Computerworld’s Laureate and Techtarget’s SearchCIO-Midmarket 2012 Customer Experience/Integration awards awards for their LMS system (supplemental to classroom work and hands-on).
Stats from Moodle
After the data was moved to a new drive
Results of Data Move (Before and After)