Understanding Average Load metric in Confluence Cluster

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

 

Purpose

This Knowledge article explains what the Load column in Confluence's Clustering page means and how it is calculated. 

Summary

The Load column in the Clustering page is taken from the average load of your Operating System (OS). Hence, it is strongly recommended to check the actual representation of the Load in your OS. 

The actual metric is calculated in Confluence using the com.atlassian.cluster.monitoring.supplier.RuntimeInformationSupplier.java class, particularly this way: 

...
...
final Double systemLoadAverage = operatingSystem.getSystemLoadAverage();
final String systemLoadAverageValue = systemLoadAverage >= 0 ? String.valueOf(systemLoadAverage) : i18n.getText(NOT_AVAILABLE_KEY);
final Integer availableProcessors = operatingSystem.getAvailableProcessors();
final String percentLoad = systemLoadAverage >= 0 ? percentFormat.format((systemLoadAverage / availableProcessors) * 100) + "%" : i18n.getText(NOT_AVAILABLE_KEY);
...
...

The average load for Linux depends on the number of CPUs and cores the system has. Generally, an average load lower than the number of CPU cores is normal, as it means there are enough resources for all processes to run smoothly. For example, if your system is running with 8 CPUs, the load could grow up to a value of 800%. 

On one hand, a high average load with a low number of cores indicates an overwhelmed system. On the other hand, a low average load with a high number of cores means that the system has spare capacity and is able to manage more processes.

External Related Links

You can read about how the Load Average is measure in Linux in these external links: 


Last modified on Apr 8, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.