From f04f3c9ae115228f98d681d4c1fd1b24d4a235bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Mon, 14 Sep 2020 01:00:00 +0000 Subject: [PATCH] SimpleMemory --- README.adoc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.adoc b/README.adoc index 4dee5a3..5585f94 100644 --- a/README.adoc +++ b/README.adoc @@ -14556,6 +14556,23 @@ system.cpu.dcache_mon.readBurstLengthHist::samples 1 One neat thing about this is that it is agnostic to the memory object type, so you don't have to recode those statistics for every new type of object that operates on memory packets. +==== gem5 `SimpleMemory` + +`SimpleMemory` is a highly simplified memory system. It can replace a more complex DRAM model if you use it e.g. as: + +.... +./run --emulator gem5 -- --mem-type SimpleMemory +.... + +and it also gets used in certain system-y memories present in ARM systems by default e.g. Flash memory: + +.... +[system.realview.flash0] +type=SimpleMemory +.... + +As of gem5 3ca404da175a66e0b958165ad75eb5f54cb5e772 LKMC 059a7ef9d9c378a6d1d327ae97d90b78183680b2 it did not provide any speedup to the Linux kernel boot according to a quick test. + === gem5 internals Internals under other sections: