Hi Aritra,



There is a parameter for parsec benchmark to choose how many threads to run 
program. It should be `-n thread_num`, here are some parsec examples: 
https://github.com/bamos/parsec-benchmark#more-examples.

For gem5, this parameter can be changed in 
`configs/example/gem5_library/x86-parsec-benchmark.py`.




Regards,

Congwu Zhang


-----Original Messages-----
From:"Aritra Bagchi via gem5-users" <gem5-users@gem5.org>
Sent Time:2023-11-14 00:56:46 (Tuesday)
To: "The gem5 Users mailing list" <gem5-users@gem5.org>
Cc: "Aritra Bagchi" <bagchi95ari...@gmail.com>
Subject: [gem5-users] Multi-threading in Gem5


Hi, 


Can anyone share the methodology for running multi-threaded programmes in Gem5 
FS mode with the Ruby memory model? To be specific, I am interested in the 
PARSEC benchmark suite. I have the following doubt:


Let 'A' be a programme from the PARSEC suite. Let there be 8 cores in the 
simulated Gem5 system. How can we execute 'K' (K = 8) threads of 'A' on 8 
available Gem5 cores? Is 'K' configurable? Can we choose any value for 'K'? 




Thanks in advance,
Aritra 







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

Reply via email to