Hello, The pthread affinity functions should work correctly in FS mode. You can also use numactl, if it's installed on your disk image to bind things to a specific CPU. I don't think there's any other simple way. Since you're using full system mode, the OS gets to choose what process is running on which processor.
Cheers, Jason On Tue, Jan 3, 2017 at 5:16 AM Zamshed Chowdhury <[email protected]> wrote: > Hi, > > I am trying to simulate ALPHA in FS mode (with 4 cores and 8 cores, OoO > cpu) to run SPLASH2 and PARSEC benchamrks. The applications run fine, > however whenever I am checking the *numCycles *value of the CPUs in the > Stats.txt file, I can see that not all the cpus are active at all times. > Especially inside a pthread_barrier_wait() statement. Also, for 8 cores and > 7 threads, I am getting 5 active cores but the active cores change > dynamically. I am trying to understand the activity pattern of the cores > during a simulation by looking at the numCycles value of the cpus. Is there > any way to bind the threads to particular cores, other than using pthread > cpu affinity function? > > Best regards. > > -- > Zamshed Iqbal Chowdhury > Graduate Student > Dept. of ECE > UMN, TC > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users -- Jason
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
