Hi all,

I think there are 2 ways for running simultaneously multithreads,
multibenchmarks on gem5

+ The first I can write a script .rcS and run in fs mode like that
./benchmark &
./benchmark &
./benchmark

*So it means that 3 benchmarks run simultaneously on 3 threads ( each
benchmark on each thread ) on 3 cpus ( each thread on each cpu ) or on only
1 cpu ?*

+ By the seconde way, I can also use pthreads. I write a my_pthreads.c and
allocate each benchmark on 1 thread, after that: for example:

build/ALPHA/gem5.opt --stats-file=stats_pthreads_alpha.txt
configs/example/fs.py --script=configs/boot/hien_pthreads_alpha.rcS
--cpu-type=timing --caches --num-cpus=3

to run them simultaneously on 3 cpus.

*So what are the differences between 2 ways ?*

*Can you give me the comments or explaine more about this problem ?*

Thanks advance,
Hien.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to