Idle Power discussion #1208
Unanswered
marceloamaral
asked this question in
Q&A
Replies: 1 comment 3 replies
-
@novacain1 ^^ |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the recent refactoring PR #1089, I modified the logic to calculate power per-process and then aggregate the data per container, pod, and VM.
This change was made to support scenarios where we expose process and VM power, ensuring consistency across all scenarios using the same logic to estimate the power.
However, this change has significantly impacted the idle power logic. Previously, Kepler evenly distributed idle power among
all containers, regardless of the number of processes in the containers or kernel. With the new logic, idle power is evenly distributed among all processes. As a result, containers with more processes will have more associated idle power, and the kernel will also have more associated idle power…
This adjustment means that the idle power of containers differs in the new version of Kepler.
Following the GHG protocol, idle power for VMs should be divided based on VM size. However, at the process and container levels,
this division is challenging since they typically don't have resources hard allocated as in VMs (only resource limits which are not mandatory to be used). Thus, the basic assumption is that all processes are equal, and idle power is evenly distributed among them.
@rootfs @eilamt Any thoughts or concerns about this approach?
Beta Was this translation helpful? Give feedback.
All reactions