-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/2289/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

Changeset 10243:d3d991a90faa
---------------------------
power: Add basic DVFS support for gem5

Adds DVFS capabilities to gem5, by allowing users to specify lists for
frequencies and voltages in SrcClockDomains and VoltageDomains respectively.
A separate component, DVFSHandler, provides a small interface to change
operating points of the associated domains.

Clock domains will be linked to voltage domains and thus allow separate clock,
but shared voltage lines.

Currently all the valid performance-level updates are performed with a fixed
transition latency as specified for the domain.

Config file example:
...
vd = VoltageDomain(voltage = ['1V','0.95V','0.90V','0.85V'])
tsys.cluster1.clk_domain.clock = ['1GHz','700MHz','400MHz','230MHz']
tsys.cluster2.clk_domain.clock = ['1GHz','700MHz','400MHz','230MHz']
tsys.cluster1.clk_domain.domain_id = 0
tsys.cluster2.clk_domain.domain_id = 1
tsys.cluster1.clk_domain.voltage_domain = vd
tsys.cluster2.clk_domain.voltage_domain = vd
tsys.dvfs_handler.domains = [tsys.cluster1.clk_domain,
                             tsys.cluster2.clk_domain]
tsys.dvfs_handler.enable = True


Diffs
-----

  src/arch/alpha/AlphaSystem.py b21b3aad6bd1 
  src/arch/mips/MipsSystem.py b21b3aad6bd1 
  src/sim/ClockDomain.py b21b3aad6bd1 
  src/sim/DVFSHandler.py PRE-CREATION 
  src/sim/SConscript b21b3aad6bd1 
  src/sim/System.py b21b3aad6bd1 
  src/sim/VoltageDomain.py b21b3aad6bd1 
  src/sim/clock_domain.hh b21b3aad6bd1 
  src/sim/clock_domain.cc b21b3aad6bd1 
  src/sim/dvfs_handler.hh PRE-CREATION 
  src/sim/dvfs_handler.cc PRE-CREATION 
  src/sim/eventq.hh b21b3aad6bd1 
  src/sim/voltage_domain.hh b21b3aad6bd1 
  src/sim/voltage_domain.cc b21b3aad6bd1 

Diff: http://reviews.gem5.org/r/2289/diff/


Testing
-------

All regressions pass.

Btw, note that the power keyword is now overloaded. Suggestions are welcome.


Thanks,

Andreas Hansson

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to