Skip to content

The power and time cost is not considered, when powering a host on/off #238

Closed

Description

@jmsw4bn

ISSUE

When I change the active state of a host.

Actual behavior

No extra power and time cost is spent.

Expected behavior

Actually, extra power and time cost is needed to power on/off a host, and a host cannot directly change from an active state to off state (and vice versa).
I scrutinize the source code, and find that, when setting a host active, the host is active immediately.
Accordingly to the actual situations, it will take tens of seconds to power a host on/off, and during such time extra power is consumed.

Therefore, I suggest to fix this problem to support accurate power-aware simulations.

Available Examples

Related Issues

Activity

  1. manoelcampos commented on Apr 28, 2020

    @manoelcampos
    Collaborator

    Hello @jmsw4bn

    Thanks for reporting this issue. You're right. This is a feature inherited from CloudSim. Despite lots of bugs were fixed and new features included, Host's boot and shutdown processes are simplistic and don't consider the time and power consumption.
    But unfortunately, I won't be able to implement this feature in the short term.
    I hope to get some help from the community to implement that.
    If you're willing to do that and need some support, just let me know.

  2. changed the title [-]The power and time cost is not considered, when powering on/off a host.[/-] [+]The power and time cost is not considered, when powering a host on/off[/+] on Aug 28, 2020
  3. wadewaleganesh commented on Apr 2, 2021

    @wadewaleganesh
    Contributor

    I had used cloudSim in the past. And I would like to work on this feature.

  4. manoelcampos commented on Apr 2, 2021

    @manoelcampos
    Collaborator

    That is great. I think we could start by modeling the proposed solution. Do you have something in mind already?

  5. wadewaleganesh commented on Apr 2, 2021

    @wadewaleganesh
    Contributor

    Currently I don't have a clear idea. I will start reading papers and information regarding

    • what all actions get run while starting and stopping the host
    • time required for all of these actions
    • if required we can simulate these actions too
  6. manoelcampos commented on Apr 3, 2021

    @manoelcampos
    Collaborator

    The operations performed during startup and shutdown will vary depending on the host OS. Since we don't simulate OS specific features, we should follow a simpler approach.

    The startup up and shutdown time will vary according to the host capacity (CPU cores and MIPS). Host load will impact that too.
    If there are some papers related to that, it would be great.
    Anyway, we should create some interface and classes to model these behaviors, such as the ones that model power consumption (see PowerModelHost).

    This way, an initial class diagram would be great.

  7. wadewaleganesh commented on Apr 14, 2021

    @wadewaleganesh
    Contributor

    Currently I am reading papers regarding that.

  8. manoelcampos commented on Apr 14, 2021

    @manoelcampos
    Collaborator

    Great, if you find some paper that is useful, please provide the DOI link here.

  9. added
    in-progressSomeone has started to work on the issue. The progress may be available at the dev branch.
    on Apr 14, 2021
  10. wadewaleganesh commented on May 9, 2021

    @wadewaleganesh
    Contributor

    Unfortunately there are not many papers regarding the issue. I am studying the PowerModelHost

  11. 11 remaining items

  12. added a commit that references this issue on Aug 12, 2021
    5270e71
  13. added and removed
    in-progressSomeone has started to work on the issue. The progress may be available at the dev branch.
    good-first-issueA good issue to start contributing to the project
    on Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions