Hello all,
I want to know how to run multiple workloads on multicore in x86 FS
mode.actually I have written code which generates 2 threads( different
benchmarks) with thread id 0 and 1, so as per config file(without making any
changes) threads should run on different cores please correct me if i have
understood correctly or not?. As my threads are different i.e one is matrix
multiplication(200*200) and other is printing Hello world 0xFF times,but both
CPU0 and CPU1 taking nearby cycles. how can I kill the process when thread
running on that core complete its execution , bcoz what is happening here is
that CPU runs even if its thread executed . can anyone share configuration file
for running multithreaded on multicore in x86 FS mode.
below is the command which i ran:-
build/X86/gem5.opt configs/example/fs.py -n 2
--disk-image=/home/amanpreet/Downloads/gem5-stable-07352f119e48/full_system_images/disks/linux-x86.img
--kernel=/home/amanpreet/Downloads/gem5-stable-07352f119e48/full_system_images/binaries/x86_64-vmlinux-2.6.28.4-smp
--script=/home/amanpreet/Downloads/gem5-stable-07352f119e48/configs/boot/gcc.rcS
where gcc.rcS is as follows
#!/bin/sh
/sbin/m5 checkpoint 0 0
/sbin/m5 checkpoint 100000000 200000000
/sbin/m5 loadsymbol
/sbin/m5 resetstats
./hello
/sbin/m5 exit
and ./hello is the executable of two thread generating code...any comments and
suggestions will be highly appreciable...
Regards
Amanpreet
IIT Delhi
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users