Hello, I'm working on changing cache configuration.
I found in configs/common/CachesConfig.py, there are L1 and L2 caches size
configurations.
And I changed L2 cache size to 8MB, L1 cache size to 128KB and 256KB using
following code:
system.l2 = L2Cache(size='8MB')
...
system.cpu[i].addPrivateSplitL1Caches(L1Cache(size = '128kB'),
L1Cache(size =
'256kB'))
When I boot ALPHA_FS in detailed mode with caches and l2cache flag,
I found in /proc/cpuinfo, the L2 cache size is recognized as 8MB, but L1 cache
stayed 64KB:
(following is from /proc/cpuinfo)
L1 Icache : 64K, 2-way, 64b line
L1 Dcache : 64K, 2-way, 64b line
L2 cache : 8192K, 1-way, 64b line
It seems the L1 cache size did not changed. And I also tried to change assoc
and block_size in configs/common/Caches.py,
but nothing changed in the guest Linux's /proc/cpuinfo.
The m5 source code change set is 7699:addb847910d2(Gabe Black submitted at Oct
04 11:58:06 2010),
and the guest system is m5_system_2.0b3, which was downloaded from m5 site.
So how can i actually change the L1 cache? Or maybe it changed but the guest
system did not recognize it?
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users