Hi,

I ran the following experiment, and I was wondering if someone can explain the 
results.


  1.  I cloned the v23.1.0.0 release and built the x86 gem5.fast binary.
  2.  I then built the SPEC CPU 2017 disk image using the instructions in the 
documentation.
  3.  In my config file, I use a 1-core KVM CPU to boot into Linux in FS mode, 
then switch CPUs to a 1-core O3 CPU, run the benchmark for 10M instructions, 
reset stats, continue for 1M instructions then dump stats and exit. This is 
roughly based on the x86 spec17 config file in `configs/example/gem5_library/`.

Now, when I run this twice, I get completely different numbers in stats.txt. 
This is unexpected to me because the stats are for the 1M instructions run 
using the O3 CPU, and as far as I understand, this should be deterministic. The 
O3 CPU itself should be deterministic AND the executed instructions themselves 
should be identical. This doesn't seem to be the case, however, so I was 
wondering if someone could point out where my assumptions fail (or if I'm doing 
something incorrectly in the experiment). I would also greatly appreciate it if 
someone could point me to how to make benchmarking robust because the numbers I 
get vary quite a lot across runs. Thanks a lot.

Best,
Hossam
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to