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 摘要。