Hello,

I am running gem5 in syscall emulation mode and specifying the cache sizes. 
This appears to work as desired. 

bpayne@bpayne-VirtualBox64:~/gem5$ build/X86/gem5.opt configs/example/se.py 
--clock=2.8GHz --l1d_size=32K --l1i_size=32K --l2_size=256K --l3_size=8192K -c 
tests/test-progs/hello/bin/x86/linux/hello
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
command line: build/X86/gem5.opt configs/example/se.py --clock=2.8GHz 
--l1d_size=32K --l1i_size=32K --l2_size=256K --l3_size=8192K -c 
tests/test-progs/hello/bin/x86/linux/hello
Global frequency set at 1000000000000 ticks per second
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
warn: instruction 'fnstcw_Mw' unimplemented
warn: instruction 'fldcw_Mw' unimplemented
Hello world!
hack: be nice to actually delete the event here
Exiting @ tick 3907365 because target called exit()


However, the same output is produced when I intentionally give invalid values 
for the cache size units:

bpayne@bpayne-VirtualBox64:~/gem5$ build/X86/gem5.opt configs/example/se.py 
--clock=2.8GHz --l1d_size=32asdf --l1i_size=32qwer --l2_size=256K 
--l3_size=8192K -c tests/test-progs/hello/bin/x86/linux/hello
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Oct 16 2012 15:04:38
gem5 started Nov  1 2012 15:17:21
gem5 executing on bpayne-VirtualBox64
command line: build/X86/gem5.opt configs/example/se.py --clock=2.8GHz 
--l1d_size=32asdf --l1i_size=32qwer --l2_size=256K --l3_size=8192K -c 
tests/test-progs/hello/bin/x86/linux/hello
Global frequency set at 1000000000000 ticks per second
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
warn: instruction 'fnstcw_Mw' unimplemented
warn: instruction 'fldcw_Mw' unimplemented
Hello world!
hack: be nice to actually delete the event here
Exiting @ tick 3907365 because target called exit()
bpayne@bpayne-VirtualBox64:~/gem5$


Therefore I suspect the specified cache values are not actually being used. Is 
my concern valid? Why is this occuring?


Kindly,


Ben Payne
http://mst.edu/~bhpxc9/
Laboratory for Physical Sciences
http://www.lps.umd.edu/


_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to