Moodle Benchmark

Performs various tests to determine the quality of the Moodle platform
Price option: Free

Supports Moodle 2.7-5.1 See all versions
Latest release: 4 months ago
Installations: 7355
Downloads (last 90 days): 1376

Frankenstyle name: report_benchmark
Reports

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Upgraded dev site to the latest build Moodle 3.9.9 (Build: 20210729), results are 10 points better, but debugging indicates the following issue:
cURL request for "https://xxx.xxx.xxx.xx/login/index.php" failed, HTTP response code: HTTP/1.1 303 See Other
line 1682 of /lib/filelib.php: call to debugging()
line 331 of /report/benchmark/testlib.php: call to download_file_content()
line 95 of /report/benchmark/locallib.php: call to report_benchmark_test::loginuser()
line 61 of /report/benchmark/locallib.php: call to report_benchmark->start_test()
line 74 of /report/benchmark/renderer.php: call to report_benchmark->__construct()
line 55 of /report/benchmark/index.php: call to report_benchmark_renderer->display()
Please advise, thank you
I have run the test on our production server (moodle 3.5 on ubuntu server) and get some strange results. Everything looks fine except for guest login and fake user account. They are over 20 sec. and it gives a final score over 4000. Guest access is turned of on the site. Any idea why?
Hello,
on our configuration cluster : 3 fronts with 3 DB on galera cluster we have a nice result except in "write file" with a score 8.8s. Very strange becouse in use we don't have so poor perfs even if we add a big doc in course.
We have set in config.php tempdir and cachedir on NFS Server like moodledata, and add the localcachedir on a local folder on each nodes.
Does the benchmark read this params or other ?
All servers are virtualized on vwmare ESX6.7 with Dell Compelent Storage SSD. I don't think there are a IO probem in written data...
Thanks for your reply 'n job
Gérald
Hello,
I'm using Moodle 3.8 (PHP 7, 1024 RAM) and I run the Benchmark, the test results are not showed, and after something like five or more mitutes the following message is shown:
"Gateway Timeout
The gateway did not receive a timely response from the upstream server or application.
Additionally, a 504 Gateway Timeout error was encountered while trying to use an ErrorDocument to handle the request."
What might be happening?
Hi, i try to test benchmark on my moodle 3.6.2+ with iis window server 2019 + sqlsrv
moodle file at microsoft server, moodle data on synology.
but it seem 504 gateway timeout.
any clue?
With the latest benchmark, 1.3.0 i got 74 points on my production site 1 based on 3y old DELL/HP servers, and a score of 105 on the second one which is based on 10y old SUN Microsystems servers.
Our configuration is a complex one, based on corosync cluster / redis caching / mariadb server / php 7.x and moodle 3.1 (for now).
Release v1.3.0 finally shows a more realistic benchmark as previous versions reported the Writing file performance usually being 2 to 4 seconds and an overall score never better than 500. With the new version, the file Writing performance is 0.019 seconds and the overall score is 130 - 150.
Mohammad, that's ok if you only have one web server, but if you have multiple load-balanced web servers then caching and storing files on the same physical machine won't work.
We're using an HDD and caching to SSD all that is within a SAN (Storage Area Network) but after moving it into the same physical machine (where we have Moodle and the SSD storage in the same place) we got a great result (0.2ms)
Hi Mohammad,
Thanks for your comment.
What's the hard drive (HDD / SDD) ? Can you create a virtual drive in memory ?
Hello
Thanks for the plugin. It's very useful indeed. We're getting good results in all metrics except the "Creating files" we're getting around 2 -3 seconds, where the acceptable limit is 1second. Then we're getting the warning message "The harddrive seems too slow. Check the harddrive and/or the temporary folder state. Change your harddrive or the temporary folder." Not sure what dose that mean or where we should look. It would be appreciated if you could help us with this. Thank you.
Hi Mickaël,
How do you account for the fake login time ? Is it still relevant when used on a CAS/SSO-ed Moodle ?
Thanks
Yes it is
Hi, The lower the total score the better? It is?
Hello,
We are finding the plugin very useful, great work putting it all together!
We have identified some bottlenecks on our installation when comparing local installation with the cloud installation. We have a score of 105 on local vs 624 on the cloud
The slowest scores come from the tests involving database reads: courseread, querytipe1, querytype2.
We thought of a problem of latency with the database, but the pings are returning round trip times similar to the ones measured locally.
In additon, when running another benchmark tool (https://github.com/odan/benchmark-php) outside the moodle installation but on the same server, the results on local vs. the cloud were very similar in terms of PHP processing and mysql.
So, we think that something could be better configured on the Moodle side.
We would be very glad if you could give us some advise regarding Moodle/mysql interaction
Thanks,
Juan