diff options
author | Matthew Poremba <matthew.poremba@amd.com> | 2019-05-01 11:32:49 -0700 |
---|---|---|
committer | Matthew Poremba <matthew.poremba@amd.com> | 2019-06-06 19:55:38 +0000 |
commit | f2be9f195c5aa226fa546e79c9acf95c8a800915 (patch) | |
tree | dcfe73963c796bb17001b1967f66474661ead9ce /src/mem/DRAMCtrl.py | |
parent | f5cf6d5f5ef8df0fedcba9d3cf3c16d76a6dceae (diff) | |
download | gem5-f2be9f195c5aa226fa546e79c9acf95c8a800915.tar.xz |
mem: Option to toggle DRAM low-power states
Adding an option to enable DRAM low-power states. The low power
states can have a significant impact on application performance
(sim_ticks) on the order of 2-3x, especially for compute-gpu apps.
The options allows for it to easily be enabled/disabled to compare
performance numbers. The option is disabled by default.
Change-Id: Ib9bddbb792a1a6a4afb5339003472ff8f00a5859
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18548
Reviewed-by: Wendy Elsasser <wendy.elsasser@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/mem/DRAMCtrl.py')
-rw-r--r-- | src/mem/DRAMCtrl.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mem/DRAMCtrl.py b/src/mem/DRAMCtrl.py index 93ea7d56f..14db3d3c9 100644 --- a/src/mem/DRAMCtrl.py +++ b/src/mem/DRAMCtrl.py @@ -135,6 +135,10 @@ class DRAMCtrl(QoSMemCtrl): # to be instantiated for a multi-channel configuration channels = Param.Unsigned(1, "Number of channels") + # Enable DRAM powerdown states if True. This is False by default due to + # performance being lower when enabled + enable_dram_powerdown = Param.Bool(False, "Enable powerdown states") + # For power modelling we need to know if the DRAM has a DLL or not dll = Param.Bool(True, "DRAM has DLL or not") |