Hi
I just did an upgrade from moodle 2.6 to 2.9.
I notice that Moodle runs quite a bit slower. It takes 8-9 seconds to load the index page. I think it took 3 seconds on moodle 2.6.
I`m running php 5.5 and MYSQL 5.6. Opcache is enabled as per: https://docs.moodle.org/26/en/OPcache
Also I disabled session storage in database.
The server has 4GB ram, Xeon e5-2630. I also followed the performance write up, but couldnt find much to improve.
If i let top running during a page load, I see this:
[code]
Tasks: 135 total, 7 running, 128 sleeping, 0 stopped, 0 zombie
Cpu(s): 17.1%us, 39.1%sy, 0.0%ni, 43.3%id, 0.0%wa, 0.0%hi, 0.1%si, 0.4%st
Mem: 4099296k total, 3947360k used, 151936k free, 327268k buffers
Swap: 4194296k total, 12696k used, 4181600k free, 2088576k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1901 aflhmood 20 0 394m 77m 50m R 34.5 1.9 0:03.31 httpd
1847 aflhmood 20 0 396m 75m 46m R 21.6 1.9 0:04.02 httpd
1940 aflhmood 20 0 401m 88m 57m R 21.6 2.2 0:03.51 httpd
1899 aflhmood 20 0 395m 69m 41m R 20.9 1.7 0:01.98 httpd
1904 aflhmood 20 0 398m 84m 54m R 20.9 2.1 0:03.37 httpd
1943 aflhmood 20 0 393m 68m 42m R 20.9 1.7 0:02.69 httpd
24193 mysql 20 0 1780m 588m 9156 S 2.7 14.7 3:23.51 mysqld
[/code]
For some reason, the CPU load is quite high. I think caching in not working optimally.
Cache performance output (I dont know how to read the output since I have nothing to compare with)
Store requests when used as an application cache.
Plugin | Result | Set | Get - Hit | Get - Miss | Delete |
---|---|---|---|---|---|
File cache | Tested | 0.0993 | 0.0215 | 0.0077 | 0.0106 |
Memcache | Invalid plugin | - | - | - | - |
Memcached | Invalid plugin | - | - | - | - |
MongoDB | Invalid plugin | - | - | - | - |
Session cache | Unsupported mode | - | - | - | - |
Static request cache | Unsupported mode | - | - | - | - |
Store requests when used as a session cache.
Plugin | Result | Set | Get - Hit | Get - Miss | Delete |
---|---|---|---|---|---|
File cache | Tested | 0.0906 | 0.0209 | 0.0075 | 0.0106 |
Memcache | Invalid plugin | - | - | - | - |
Memcached | Invalid plugin | - | - | - | - |
MongoDB | Invalid plugin | - | - | - | - |
Session cache | Tested | 0.0002 | 0.0001 | 0.0001 | 0.0003 |
Static request cache | Unsupported mode | - | - | - | - |
Store requests when used as a request cache.
Plugin | Result | Set | Get - Hit | Get - Miss | Delete |
---|---|---|---|---|---|
File cache | Unsupported mode | - | - | - | - |
Memcache | Invalid plugin | - | - | - | - |
Memcached | Invalid plugin | - | - | - | - |
MongoDB | Invalid plugin | - | - | - | - |
Session cache | Unsupported mode | - | - | - | - |
Static request cache | Tested | 0.0002 | 0.0001 | 0.0001 | 0.0001 |
Any help is welcome!