cloudsimplus / cloudsimplus

State-of-the-art Framework 🏗 for Cloud Computing ⛅️ Simulation: a modern, full-featured, easier-to-use, highly extensible 🧩, faster 🚀 and more accurate ☕️ Java 17+ tool for cloud computing research 🎓. Examples: https://github.com/cloudsimplus/cloudsimplus-examples

Home Page:https://cloudsimplus.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Power consumption inconsistency

alexandredias3d opened this issue · comments

Expected behavior

Power consumption should be the same, or at least very close, even when changing the scheduling interval.

Actual behavior

Power consumption is varying way too much for some values of scheduling interval.

Example

Check the new PowerExampleSchedulingInterval.java introduced after the issue was fixed.

Hello @alexandredias3d

Could you please try the new version available at the dev branch with the new PowerExampleSchedulingInterval example and give me some feedback?

Thanks for your contributions.

You can check the messages in the last 2 commits and the new comments in the code for more details.

Btw, realize that power consumption is computed in a different way now.
But it gives you new possibilities. Check the Host.getUtilizationHistory() documentation for new details.

Hi @manoelcampos,

Sorry for the late reply. I have tested out the new features and they are working perfectly. I believe that using the DoubleSummaryStatistics from the UtilizationHistory will ease a lot the development of new heuristics for VM consolidation.

Thanks for your hard work.

Don't worry. And great that it's working as expected.
Could you please mark the discussion at the Google Group as completed?
Thanks.