If you want to run in SE mode one thread == one core. There is no scheduler and if you want one, you'll need to write one yourself. If you're using FS mode then the set affinity sys call is what you'll need to do.
Thanks, Ali On Sep 3, 2012, at 3:12 PM, Jun Pang wrote: > Hi all, > > In the previous emails of this mailing list, somebody said we could use > pthread_setaffinity_np() to bind a pthread to a specific core, I wonder how > that works. The pthread_setaffinity_np() is not supported in the m5thread > library I download from the repository. What I want to do is to run parsec in > X86 SE mode. Do I need to write a multicore thread scheduler by myself or > it's supported but I haven't found it yet. > > Any suggestion will be greatly appreciated. > > Thanks, > > Jun > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
