[Moodle BenchMark] Need Beta-tester

Re: [Moodle BenchMark] Need Beta-tester

by Grant Mucha -
Number of replies: 3

Production Server migrated from 2.8 to 3.1

I focus on budget, high performance Moodle installations and setups.

Hardware:

CPU - i7-980x (6c/12th)

RAM - 24Gb DDR3

SSD - 2x - 128Gb Samsung 850 Pro - Raid 0

HHD - 2x - 1.5Tb - Raid 1

Amazon S3 offsite storage

System:

Ubuntu 16.04

Nginx 1.10

PHP 7

MySQL 5.7.13

Ram Disk - 4Gb

Average Benchmark is about 70 points.

Benchmark


In reply to Grant Mucha

Er: Re: [Moodle BenchMark] Need Beta-tester

by Iñigo Zendegi Urzelai -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi,

First of all I want to thank Mickaël PANNEQUIN for developing this great plugin, it's been really helpful to detect and fix performance issues.

The server I have several Moodle instances installed on is this:

  • CPU: 2 x Intel Xeon Processor E5645 (2.40 GHz, 6 Cores)
  • RAM: HP 12GB 2Rx8 PC3-10600R-9 Kit
  • Storage:
    • 2 x HP 300GB 6G SAS 15K 2.5in DP ENT HDD (RAID1) (for the BD and the Moodle directories)
    • tmpfs for Moodle cache and temp directories
    • Another SAS storage for MoodleData
  • OS: Ubuntu 16.04
Using the plugin I've fixed some issues (the tmpfs for the cache and temp dirs has been the best improvement) and now all our instances have acceptable scores: the best gets in average 130 (see image for details) and the worst 230

BenchmarkScore

I've realized that having the same BD, web server and storage configuration in all the instances doesn't make them get the same score, seems like the Moodle configuration on each one has also great impact, but it's not trivial to know which these settings are.

For example: I've detected that having several authentication plugins enabled makes the last two tests slower, but one of the instances gets slower scores in tests 3 & 4 and another one in the first one and I have still no clue about why is this happening, do you know what can it be?

TIA

In reply to Iñigo Zendegi Urzelai

Re: Er: Re: [Moodle BenchMark] Need Beta-tester

by mircea dobre -

System Benchmark

Benchmark Score : 3549 points

# Description Time in seconds Acceptable limit Critical limit
1 Moodle loading time
Run the configuration file «config.php»
0.010 0.5 0.8
2 Function called many times
A function is called in a loop to test processor speed
0.152 0.5 0.8
3 Reading files
Test the read speed in Moodle's temporary folder
0.011 0.5 0.8
4 Creating files
Test the write speed in Moodle's temporary folder
34.197 1 1.25
5 Reading course
Test the read speed to read a course
0.121 0.75 1
6 Writing course
Test the database speed to write a course
0.023 1 1.25
7 Complex request (n°1)
Test the database speed to execute a complex request
0.070 0.5 0.7
8 Complex request (n°2)
Test the database speed to execute a complex request
0.141 0.3 0.5
9 Time to connect with the guest account
Measuring the time to load the login page with the guest account
0.460 0.3 0.8
10 Time to connect with a fake user account
Measuring the time to load the login page with a fake user account
0.300 0.3 0.8
Total time 35.485 sec.  
Score 3549 points  
Watch out!
Your Moodle seems to have some difficulties.
The harddrive is too slow.
  • Check the harddrive state / temp folder
  • Change your harddrive or the temporary folder
The page is too slow to upload.
  • Clear the Moodle cache



Thanks for a great plugin.

What do you thin could improve my performance?


Thanks,

In reply to Iñigo Zendegi Urzelai

Er: Re: [Moodle BenchMark] Need Beta-tester

by Iñigo Zendegi Urzelai -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi,

We've recently changed our Moodle server and moved from a physical server to a virtual server over VMware, these are the new servers' HW & SW:

Hardware (virtual over VMware)
    60 GB dedicated RAM
    16 CPU dedicated cores (over 2 x Intel Xeon Gold 5118 @ 2.30 GHz physical processors)
    Storage: OS, database and MoodleData on a NetApp (20 * 900 GB SAS disks with 1.34TB SSD flash pool) over 10 GbE connection
    temp, cache and localcache stored on RAM with tmpfs
   
Software:
    Ubuntu 18.04 Server
    Apache + PHP-FPM + OPCache (PHP 7.2)
    Postgresql 10.6
    Sessions on Redis
    Moodle 3.5.5

We're getting around 70 points in average, this is one of the best scores:

moodle benchmark