What do these stats mean in footer

What do these stats mean in footer

Jerry Lau -
回帖数:7

One of our admin users turned on some sort of debugging feature to show performance info. What do these even mean and how do i know it's performing fine/optimally?

see attached image



附件 stats in footer.PNG
回复Jerry Lau

Re: What do these stats mean in footer

Usman Asar -
Plugin developers的头像 Testers的头像

Depending on page size, time to render differs, but so far the amount of RAM taken and time taken to render your page, its a positive sign of moodle server performing optimally. I think you've taken screen shot of log-in screen. 

回复Jerry Lau

Re: What do these stats mean in footer

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
Being in charge of a big and busy Moodle site which is hitting the limits, you can not postpone reading the https://docs.moodle.org/en/Performance documentation any more!
回复Visvanath Ratnaweera

Re: What do these stats mean in footer

Jerry Lau -
Could anybody with experience help to digest the info and what they mean?


Thank you.

回复Jerry Lau

Re: What do these stats mean in footer

AL Rachels -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像

Hi Jerry,

Not an expert but have made the following observations over the years. The data shows that the page you got this picture from was generated VERY fast at 0.0644444 seconds. (Anything under a half second is just an eye blink away.) That's because it got most of the needed info for the page came from your cache. The numbers at the bottom show an aggregate of 788 items from cache, 64 had to be retrieved from the db and 3 caused new items to be added to the cache.

Each of the boxes above the Total: 788/64/3, show the individual breakdowns of those totals. If you watch them, you will see that they are color coded red, yellow and green, on two lines. The upper line was the "last time" results and the lower is the "current results" from the latest page load. Red indicates nothing retrieved from cache. Green indicates most, if not all, was retrieved from cache. Yellow indicates some came from cache, but more was missed and may have needed to be set.

The plain text above the boxes are usually self explanatory except for the Load average. That relates to how heavily "loaded" your CPU is. At 0.05 your CPU is very lightly loaded at the moment.

回复AL Rachels

Re: What do these stats mean in footer

Susan Mangan -

THAT was useful. I am so glad I stumbled upon this post as I have been struggling with trying to understand the cache ratios myself.

I have a couple of quick questions...

Are you referring to **static acceleration** when you say:

     "The upper line was the "last time" results .."

Also, how can you have a value in the hits placeholder and be marked red if red indicates nothing has been retrieved from cache? For example, in core/databasemeta the values are 2/6/0 but are marked red.

Thanks!

回复Susan Mangan

Re: What do these stats mean in footer

Tim Hunt -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像

I have never understood the red/green colour-coding of the cache numbers. I would not worry just because one is shown in red.

回复Susan Mangan

Re: What do these stats mean in footer

AL Rachels -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像

Hi Susan,

Sorry, I was "relearning" while typing and sometimes, what's in the mind comes out the fingers wrong. Both lines are "current results" it's just one is static acceleration and the other is cachestore_file.

If you look "real" close at core/databasemeta it is NOT red, but is a muddy yellow, because it had more misses than it did hits. If the 2 had been 0, then it would have been red.