How to enhance the FCP and LCP performance factors in my site?

How to enhance the FCP and LCP performance factors in my site?

Naaman Fallouh
Number of replies: 15

Hi,

I'm running Moodle 3.10, with custom theme Edumy, the performance test is giving (F) as a mark using the gtmatrix.com website.

The a attached snap shows the summary and performance results.

How can I enhance this performance?

Regards.

Attachment test-performance.png
Attachment test-summary.png
평균 등급 : -
In reply to Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

Howard Miller
Core developers 사진 Documentation writers 사진 Particularly helpful Moodlers 사진 Peer reviewers 사진 Plugin developers 사진
I've not encountered gtmatrix.com.

Is your site slow? I mean, do you and your users find it slow - which is all that really matters?
In reply to Howard Miller

Re: How to enhance the FCP and LCP performance factors in my site?

Naaman Fallouh
Hi,
Yes, It's really slow.
It's taking more than 10 seconds to load a public category page (without login needed).
Please try it at:
https://adce.svuonline.org
In reply to Naaman Fallouh

Ri: Re: How to enhance the FCP and LCP performance factors in my site?

Sergio Rabellino
Particularly helpful Moodlers 사진 Plugin developers 사진
To be honest, your site is going pretty well. I'm connecting from Italy.
평균 등급 :Useful (1)
In reply to Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

Howard Miller
Core developers 사진 Documentation writers 사진 Particularly helpful Moodlers 사진 Peer reviewers 사진 Plugin developers 사진
Seems ok to me... but that's quite a theme. What's it doing when it's showing that "loading" animation for a couple of seconds. That's not Moodle.
평균 등급 :Useful (1)
In reply to Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

Ken Task
Particularly helpful Moodlers 사진

That tool you are using ... did you purchase usage or did you look at their freebie?   If you looked at your site via freebie the location of the scanner was from Canada ... and browser emulation was Chrome.

How many hops away to that scanner is your server?

'SoS', Ken


In reply to Ken Task

Re: How to enhance the FCP and LCP performance factors in my site?

Naaman Fallouh
I'm using the free test, it has a paid option.
Don't think the scanner location is the point, I tried other free services and gave, almost, the same evaluation, include: PageSpeed and WebPageTest. 
 
In reply to Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

Marcus Green
Core developers 사진 Particularly helpful Moodlers 사진 Plugin developers 사진 Testers 사진
Optimising Moodle performance is complex and specialist. It can depend heavily on what activities users are using, caching, and importantly the hardware setup. So on one site adding more RAM can improve performance, but on an another it might not help. Caching is very important in configuration. As Howard says, is your site slow. What parts are slow and what parts of slow matter to you.
In reply to Marcus Green

Re: How to enhance the FCP and LCP performance factors in my site?

Naaman Fallouh

Mainly, rendering the pages is the most concerning issue.

The server is 32 GB RAM, and 10 CPU Cores. 

OS is Debian 10 with apache 2.4 (mpm_event) + mariaDB + php7. 3 fpm. 

For caching, I'm using redis cache on the same machine. 

In reply to Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

Howard Miller
Core developers 사진 Documentation writers 사진 Particularly helpful Moodlers 사진 Peer reviewers 사진 Plugin developers 사진
Is your file storage on the same machine?

Have you checked Redis is working? You get monitoring tools that show that it's actually storing stuff.

Is Apache and MariaDB configured to use the available RAM (by default, Apache tends to use too much and MariaDB too little)
In reply to Howard Miller

Re: How to enhance the FCP and LCP performance factors in my site?

Naaman Fallouh
Yes, Redis server is working and storing data.
According to the Apache and MariaDB, they are configured according to the Moodle performance recommendation in the Docs.
In reply to Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

Naaman Fallouh
Scanning tools are suggesting loading the JS files with defer or async flag.
They claim this might save decent blocking time!
How harmful might be to experiment this suggestion?
In reply to Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

Visvanath Ratnaweera
Particularly helpful Moodlers 사진 Translators 사진
Did you solve your previous problem: Viewing the log of a user or an activity is consuming the CPU and hanging the server! They seem to be related.
In reply to Visvanath Ratnaweera

Re: How to enhance the FCP and LCP performance factors in my site?

Naaman Fallouh
Unfortunately I didn't, it still appears 슬픈
 
The one here is on another instance.
In reply to Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

Visvanath Ratnaweera
Particularly helpful Moodlers 사진 Translators 사진
That could be the cause of the poor performance you observed above. I would follow up it further and get it solved first - you have received lot of pointers there.