I am using taskset to run 2 independent applications on 2 separate cores. I
am running a full system simulation in Gem5. I can force the 2 process
"mcf" and "milc" to run on 2 cores in the interactive disk image system. I
am using the following command -

> taskset -c 0 ./mcf_base.ia64-gcc42 inp.in & taskset -c 1
./milc_base.ia64-gcc42 < su3imp.in

However, when I run a full system simulation from Gem5 using this disk
image, with the same above command in my rcS file, I get the following
error -

sched_setaffinity: Invalid argument
failed to set pid 0's affinity.

Is there something I am missing? My gem5 script is as follows -

build/X86/gem5.fast -d result configs/example/fs.py --cpu-type=detailed
--num-cpus=2 --caches --l2cache --l1d_size=64kB --l1i_size=64kB
--l2_size=512kB --l1d_assoc=2 --l1i_assoc=2 --l2_assoc=16
--mem-type=ddr3_1600_x64 --mem-size=2GB --mem-channels=4
--disk-image=FS_files/disks/disk-final.img --script=rcS/mcf_milc.rcS -F
1000000000 --maxinsts=100000000

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

Reply via email to