[parsec-users] How can I specify the core affinity when I runPARSEC ?

Ma, Kai kma3 at utk.edu
Sat Jul 10 13:03:13 EDT 2010

Thank you Muhammad abid ,  
I have checked the usage of the hooks package. I did the following things under /bin directory but I cannot get 4 threads running on the 0-3 cores.
./parsecmgmt -a build -c gcc-hooks
./parsecmgmt -a run -p blackscholes -i native -n 4 
But when I use top command: I found the threads are running on radom cores. For example in 1 run the for threads are on 2,6,8,10; for another run they are on 1, 5, 6, 11.
I did not schedule other user workloads on the system. Only PARSEC and OS (OpenSuse 11.2).
Can anyone point out, did I mess something here? Thank you so much in advance.


From: parsec-users-bounces at lists.cs.princeton.edu on behalf of Muhammad abid Mughal
Sent: Sat 7/10/2010 3:48 AM
To: PARSEC Users
Subject: Re: [parsec-users] How can I specify the core affinity when I runPARSEC ?

      IF you are using Linux system then you can get your task done using "hooks" package.
      see config.h of "hooks" package.

Muhammad abid 


From: "Ma, Kai" <kma3 at utk.edu>
To: parsec-users at lists.cs.princeton.edu
Sent: Saturday, July 10, 2010 11:02:22
Subject: [parsec-users] How can I specify the core affinity when I run PARSEC ?

Hi, Team.
For example, if I want to schedule the PARSEC on the first 4 cores in a large cluster (20 cores). Is there any existing configuration option I have to activate, or command line option I should use, or the only way to do this is to use taskset command after PARSEC threads have been lauched?
Any input will be highly appreciated!
Best Wishes.
Kai <mailto:parsec-users at lists.cs.princeton.edu> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5518 bytes
Desc: not available
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20100710/1b74b5ab/attachment.bin>

More information about the parsec-users mailing list