From 66e331c7bb7d503c35808325e1bfaa9f18f4bdb9 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Thu, 25 Oct 2012 13:14:38 -0400 Subject: config: Use SimpleDRAM in full-system, and with o3 and inorder This patch favours using SimpleDRAM with the default timing instead of SimpleMemory for all regressions that involve the o3 or inorder CPU, or are full system (in other words, where the actual performance of the memory is important for the overall performance). Moving forward, the solution for FSConfig and the users of fs.py and se.py is probably something similar to what we use to choose the CPU type. I envision a few pre-set configurations SimpleLPDDR2, SimpleDDR3, etc that can be choosen by a dram_type option. Feedback on this part is welcome. This patch changes plenty stats and adds all the DRAM controller related stats. A follow-on patch updates the relevant statistics. The total run-time for the entire regression goes up with ~5% with this patch due to the added complexity of the SimpleDRAM model. This is a concious trade-off to ensure that the model is properly tested. --- tests/configs/o3-timing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/configs/o3-timing.py') diff --git a/tests/configs/o3-timing.py b/tests/configs/o3-timing.py index f87e0e355..b9bc40bc2 100644 --- a/tests/configs/o3-timing.py +++ b/tests/configs/o3-timing.py @@ -52,7 +52,7 @@ cpu.addTwoLevelCacheHierarchy(MyL1Cache(size = '128kB'), cpu.clock = '2GHz' system = System(cpu = cpu, - physmem = SimpleMemory(), + physmem = SimpleDRAM(), membus = CoherentBus()) system.system_port = system.membus.slave system.physmem.port = system.membus.master -- cgit v1.2.3