Blog

Benchmarking MoodleBox on different Raspberry Pi models

MoodleBox version : 3.1.0 (2019-08-23)

Raspbian version : Raspbian GNU/Linux 10 (buster)

System upgraded (apt upgrade) on 24 Oktober 2019

Kernel version : Linux 4.19.75-v7+ armv7l

Moodle Benchmark plug-in version : v1.3.0 (2019083101)

# Description Accpt. limit Critical limit RPi 3B RPi 3B+ RPi 4B
1 Moodle loading time Load the "config.php" configuration file 0.5 0.8 0.022 0.024 0.015
2 Processor processing speed Call a PHP function with a loop to check the processor speed 0.5 0.8 0.751 0.644 0.961
3 Reading file performance Read a file multiple times to check the reading speed of the Moodle temporary folder 0.5 0.8 0.051 0.044 0.045
4 Writing file performance Write a file multiple times to check the writing speed of the Moodle temporary folder 1.0 1.25 0.240 0.204 0.200
5 Reading course performance Read a course multiple times to check the reading speed of the database 0.75 1.0 0.147 0.127 0.079
6 Writing course performance Write a course multiple times to check the writing speed of the database 1.0 1.25 0.119 0.123 0.078
7 Database performance (#1) Run a complex SQL query to check the speed of the database 0.5 0.7 0.025 0.025 0.017
8 Database performance (#2) Run a complex SQL query to check the speed of the database 0.3 0.5 0.059 0.048 0.036
9 Login time performance for the guest account Check the loading time of the guest account login page 0.3 0.8 0.007 0.016 0.092
10 Login time performance for a fake user account Check the loading time of a fake user account login page 0.3 0.8 0.016 0.018 0.106
Total time 1.437 1.273 1.628
Score (points) 144 128 163

In all three cases the following warning was printed:

Watch out! Your Moodle performance is not optimal.

The processor seems too slow. Check that your hardware configuration is high enough to run Moodle.

(Last edited 2019-10-31 09:30 UTC)

PHP and DBMS compatibility of major Moodle releases

The forum Installing and upgrading help gets a non-ending stream of requests from people having trouble in marching old Moodle installations to newer and supported realeases. Things break easily since along the line the system requirements have changed too. This table summarizes the requirements of the main two system software: the PHP and the DBMS.

Release PHP min. PHP max. MySQL min. MySQL max. PgSQL min. MariaDB min.
1.9 4.3.0 5.5? ? ? ? ?
2.2 5.3.2 5.6? 5.0.25 ? 8.3 ?
2.7 (LTS) 5.4.4 5.6? 5.5.31 ? 9.1 ?
3.1 (LTS) 5.4.4 7.0 5.5.31 5.7 9.1 ?
3.5 (LTS) 7.0.0 7.2 5.5.31 8.0 9.3 ?
3.7 7.1.0 7.3 5.5.31 8.0 9.4 ?

(Last edited 2019-11-06 19:35 UTC)