I think, the only way you can do this in FS mode is to use linux "taskset" utility and assign individual workload to a particular core.
-Ayaz On Tue, Jul 12, 2016 at 9:22 PM, Hodjat Asghari-Esfeden <hasgh...@ucr.edu> wrote: > Hi all, > > I'm gonna make contention in L2 cache in Mesi_Two_Level cache coherency in > FS mode, so I need to mix two benchmarks (let's say blackscholes and > canneal) and run each of them on a separate core, so I have two questions: > > 1- How to mix benchmarks in .rcS file? Is it something like this (just put > an '&' between them)?: > #!/bin/sh > > # File to run the dedup benchmark > > cd /parsec/install/bin > /sbin/m5 switchcpu > /sbin/m5 dumpstats > /sbin/m5 resetstats > ./dedup -c -p -f -t 1 -i /parsec/install/inputs/dedup/medias.dat -o > /parsec/install/inputs/dedup/output.dat.ddp& ./canneal 8 10000 2000 > /parsec/install/inputs/canneal/100000.nets 32 > echo "Done :D" > /sbin/m5 exit > /sbin/m5 exit > > 2- How is it possible to assign each benchmark to one core? > > Any help is appreciated. > > Thanks, > Hodjat > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users