Understanding Average Load metric in Confluence Cluster

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

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

Note that this KB was created for the Data Center version of the product. Data Center KBs 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.

*Fisheye および Crucible は除く

 

目的

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

要約

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: 


最終更新日 2024 年 4 月 8 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.