1. 04 May, 2018 1 commit
  2. 21 Apr, 2018 1 commit
  3. 20 Apr, 2018 1 commit
    • Manoel Campos's avatar
      Closes #45 · c7aa88c9
      Manoel Campos authored
      
      
      Redesigns Power Module to enable any Host and VM to have power capacity.
      Enables power-aware simulations using regular classes such as
      `DatacenterSimple`, `HostSimple` and `VmSimple`.
      This way, it automatically allows creating simulations that are both
      network- and power-aware by using the network versions of such classes.
      
      - Merges PowerDatacenter into the DatacenterSimple and removes the first one.
        Removes useless prints and code.
      - Adds PowerSupply interface to concentrate all power consumption data
        and operations, enabling any Host to get such an information,
        including the PowerModel.
      - Merges the PowerHost into the HostSimple and removes the first one.
      - Adds VmUtilizationHistory class to store resource utilization history
        by a given VM.
      - Removes PowerVm and adds an attribute of this class
        inside the Vm, in order to store utilization data.
        The VmUtilizationHistory.enabled
        attribute allows enabling/disabling the data collection
        (which is disabled by default to save memory)
      - Moves StateHistory from HostDynamicWorkloadSimple to HostSimple
        and adds attribute stateHistoryEnabled to allow
        enabling or disabling collection and storage of such states
        (it is disabled by default).
      - Renamed package org.cloudbus.cloudsim.allocationpolicies.power to
        org.cloudbus.cloudsim.allocationpolicies.migration and removed
        the prefix Power from its classes and interfaces, since these
        allocation policies aren't used just for power-aware simulations
        anymore, but to enable VM migrations in general.
      - Refactors VmAllocationPolicy implementations, mainly
        the VmAllocationPolicyAbstract and VmAllocationPolicySimple.
        Code duplication between different classes was fixed.
        Methods were moved to upper levels to provide a common
        implementation for several classes.
        Changed the method `Host findHostForVm(final Vm vm)
        to `Optional<Host> findHostForVm(final Vm vm)`, making it
        to return an Optional to explicitly indicate that a suitable Host
        may not be found for a given VM.
        The method was defined as protected abstract in the
        VmAllocationPolicyAbstract and it's the single method
        initially required to be implemented by subclasses of
        VmAllocationPolicyAbstract.
        These changes pave the way to close issue #76.
      - Refactors migration examples and prints CPU utilization and
        power usage in MigrationExample2_PowerUsage.
      - Exchanges all references from PowerVm to VmSimple
      - Exchanged all references from PowerHost to HostSimple
      - Exchanged all references from PowerDatacenter to DatacenterSimple
      Signed-off-by: default avatarManoel Campos <manoelcampos@gmail.com>
      c7aa88c9
  4. 12 Apr, 2018 1 commit
  5. 06 Apr, 2018 1 commit
  6. 05 Apr, 2018 1 commit
  7. 01 Apr, 2018 1 commit
    • Manoel Campos's avatar
      Closes #124 · 7b51aa74
      Manoel Campos authored
      
      
      - Enable physical expansion of a Datacenter by
        adding new Hosts (PMs) before or after simulation start.
      - Introduce the Datacenter.addHost() and addHostList methods to enable creating new Hosts
        before or after starting the simulation.
      - Introduce the DynamicHostCreation example to demonstrate
        the dynamic creation of Hosts.
      - Refactor DatacenterCharacteristicsSimple class
      - Stop requiring the creation of a DatacenterCharacteristics
        object to pass to a Datacenter constructor.
        Now a DatacenterCharacteristics object is created
        internally in the DatacenterSimple class.
      - Change the signature of Datacenter classes to
        accept a Host List instead of a DatacenterCharacteristics
        object.
      - Remove deprecated Datacenter constructors.
      - Update all examples to use the new Datacenter constructors.
      Signed-off-by: default avatarManoel Campos <manoelcampos@gmail.com>
      7b51aa74
  8. 30 Mar, 2018 1 commit
  9. 16 Mar, 2018 1 commit
  10. 09 Jan, 2018 1 commit
  11. 07 Dec, 2017 1 commit
  12. 08 Aug, 2017 1 commit
  13. 24 Jun, 2017 1 commit
  14. 16 Jun, 2017 1 commit
  15. 05 Jun, 2017 1 commit
  16. 04 Jun, 2017 2 commits
  17. 03 Jun, 2017 4 commits
  18. 28 May, 2017 1 commit
  19. 17 May, 2017 3 commits
  20. 15 May, 2017 3 commits
  21. 13 May, 2017 1 commit
  22. 12 May, 2017 1 commit
  23. 07 May, 2017 3 commits
  24. 27 Apr, 2017 1 commit
  25. 25 Apr, 2017 1 commit
  26. 24 Apr, 2017 1 commit
  27. 22 Apr, 2017 2 commits
  28. 21 Apr, 2017 2 commits