apache / apache/cloudstack

VM Metrics CPU Utilisation Percentage | CPU Cap enabled Compute Offering

未關閉
#8,292 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
component:metrics status:needs-investigation type:improvement
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
6 天 19 小時
30 天內合併 PR
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 摘要。