Hello there,

I was wondering if cache warmup is supported for Ruby. I am using Ruby MESI
Two Level coherence with x86. I want to warmup the cache for 500 million
instructions before I begin recording the statistics for 200 million
instructions. I don't need checkpointing nor fast forwarding. All I need is
some way to exclude the first 500 million instructions from my statistics.

I searched the issue on the mail list and I read a post from 2011 that
cache warmup is not supported for Ruby.

Here is the command line I am using:
time ./build/X86/gem5.opt -d ./stats3000 configs/example/se.py -W 500000000
-I 200000000 --cmd=/home/hmelnawa/ctest/out --cpu-type=detailed --ruby
--mem-size=2GB --caches --l1d_size=64kB --l1i_size=32kB --l2cache
--l2_size=512kB

This command line does not actually warmup the cache (or so I think). When
I remove the warmup flag and set the max instructions flag "-I" to 700
million, it takes 2 hours and 48 minutes to finish. When I add the warmup
flag, it takes only 48 minutes. It seems that it ignores the warmup flag
all together. I read that I need to add the "-s" flag. When I did, it never
went through. It ran for 12 hours with no progress. Not aborting. Not going
forward.

Kindly, advice me if I can just start recording statistics after a certain
number of instructions or ticks with Ruby.

Note: I am using a version of gem5 I downloaded 4 months ago from the git
repository.

Thank you.

Hussein Elnawawy
PhD Student, Computer Engineering
North Carolina State University
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to