apache / apache/cloudstack

VM Metrics CPU Utilisation Percentage | CPU Cap enabled Compute Offering

オープン
#8,292 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
component:metrics status:needs-investigation type:improvement
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
32

説明

##### ISSUE TYPE

* Enhancement Request
##### COMPONENT NAME

~~~
UI CPU Metrics
~~~

##### CLOUDSTACK VERSION

~~~
4.18.1
~~~

##### CONFIGURATION

##### OS / ENVIRONMENT

KVM on Ubuntu 20.04

##### SUMMARY

On Deploying a VM with CPU CAP enabled offering, the CPU usage Metrics Not Hitting 100%, Its considering Actual Usage not the wait/steal time. Ideally It should be Usage + Steal+wait...
CPU Based auto scaling on above VM will also be affected by this.

##### STEPS TO REPRODUCE

~~~
1. Create compute offering with a lower CPU speed with CPU Cap Enabled
2. Deploy A VM with this offering
3. Induce stress in VM using stress command to utilize 100% CPU
4. Observe CPU Metrics
5. CPU Percentage not hit 100%
~~~

##### EXPECTED RESULTS

~~~
CPU Percentage should show 100%
~~~

##### ACTUAL RESULTS

~~~
CPU Percentage Incorrect
~~~

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

KVM 上の CPU 制限付きコンピュートオファリングと、記載された stress コマンドを実行する VM を使って動作を再現し、その後、CloudStack の UI の CPU メトリクスがどのように計算されるかを調査します。説明されたワークロードで表示される CPU 使用率が期待される 100% に達し、CPU ベースのオートスケーリングが影響を受けなくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, ubuntu
領域
cloud, infrastructure, observability
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。