Moodel performance

Moodel performance

by ahmad Yousef -
Number of replies: 3

I have installed moodle for my university and we plan to launch it soon.

The total number of users will be 10,000 to 15,000 and will have 300 to 2000(max) users giving a test at a single moment.

The moodle installed on dedicated server with the following specifications:

Processor: 2x Intel Xeon 5218

RAM: 256 GB

Disks: 6x960GB SSD

Network Device AMS-01-Hall7-3-71-INT-SW01

Linkspeed: 1Gbps

Operating system : Centos 7.7

Apache : Apache/2.4.41 httpd (cPanel)

PHP : PHP 7.2.29 (cli) - Zend Engine v3.2.0,with Zend OPcache v7.2.29

MySQL : Server version: 5.7.29

 

Are you suggest any changes on the configurations that must be changed?

Could you guys help me out?

Thanks and Regards for you're answers


Average of ratings: -
In reply to ahmad Yousef

Re: Moodel performance

by Ken Task -
Picture of Particularly helpful Moodlers

Replace commerical cPanel with Webmin.

http://www.webmin.com/

Suggest setting up server with the MySQL repo 

https://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/

Also install MySQLTuner

https://github.com/major/MySQLTuner-perl

Can't give you configs for MySQL nor tweaks to my.cnf ... much depends upon how Moodle is used ... not just the # of users but what in Moodle is being used and that's unknown at this point.  Ball park guesses are usually off.  After server is up ... monitor and be prepared to tweak configs ... upwards ... in a hurry! smile

You didn't mention size of disk ... also consider an attached device ... 1-2 TB.

2 cents.

'SoS', Ken

In reply to Ken Task

Re: Moodel performance

by Ken Task -
Picture of Particularly helpful Moodlers

Ooops ... missed the disk.

Only (other than what's already been asked) other thing is partitioning of what assume shows multiple devices?

All in one box needs to be aware of where the DB's live ... typically that is /var/lib/mysql/ with MySQL.

And how much space there is on that partition ... never ever run out of room.  Databases don't like that at all!

4 cents,

'SoS', Ken

In reply to ahmad Yousef

Re: Moodel performance

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators

Hi

Why do you make the whole post bold? The forum mail came in all capitals. sad

I HAVE INSTALLED MOODLE FOR MY UNIVERSITY AND WE PLAN TO LAUNCH IT SOON. ... PROCESSOR: 2X INTEL XEON 5218

It is a very good processor. Could you post the output of 'lscpu' here? (Copy-and-paste preferred, screenshots are difficult to read).

DISKS: 6X960GB SSD

Enterprise SSD? In RAID, I suppose. What is the configuration? True hardware RAID controller, I hope.

LINKSPEED: 1GBPS

Is this in the campus network? Then how is the distribution to the labs/classrooms? Or is this server situated at an outside hosting provider? Where are the examination centers? In the campus I assume (planned before Corona).

OPERATING SYSTEM : CENTOS 7.7 APACHE : APACHE/2.4.41 HTTPD (CPANEL) PHP : PHP 7.2.29 (CLI) - ZEND ENGINE V3.2.0,WITH ZEND OPCACHE V7.2.29 MYSQL : SERVER VERSION: 5.7.29

All look OK to me. Except the missing caching system Redis/Memcache(d)/...? (Zend Opcace is a different thing.)

I can't say anything about 2000 exam candidates, even the 300 could be a big deal, if all of them start the exam, say withing a time period of a minute. You need in do a test installation and run JMeter. Otherwise carefully follow the forum documentation https://docs.moodle.org/en/Performance and https://docs.moodle.org/en/Performance_FAQ. Also read as many discussions as possible and/or run advanced search https://moodle.org/mod/forum/search.php?id=5.