Hi,

I've been trying to simulate Parsec benchmarks in smt (multiple threads in
each core).
Referencing this:
https://www.mail-archive.com/search?l=gem5-users@gem5.org&q=subject:%22%5C%5Bgem5%5C-users%5C%5D+Running+full+system+with+SMT%22&o=newest
,
in the file src/cpu/BaseCpu.py,
I modified the line: numThreads = Param.Unsigned(1, "number of HW thread
contexts")
to have 3 threads. numThreads = Param.Unsigned(3, "number of HW thread
contexts")

command line:
./build/X86/gem5.opt configs/example/fs.py --cpu-type=DerivO3CPU --caches
--smt --disk-image=$M5_PATH/disks/linux-bigswap2.img
--kernel=$M5_PATH/binaries/x86_64-vmlinux-2.6.28.4-smp
--script=/home/user/boot/hellotest.rcS

But I get--> fatal: fatal condition interrupts.size() != numThreads
occurred: CPU system.cpu has 3 interrupt controllers, but is expecting one
per thread (1)

This indicates numThreads=1.

Is this the right way to configure system for smt? Where else do I need to
modify to get smt working in full system?

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

Reply via email to