A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

September 29, 2009

How to exclusively assign process to a core?

Hi All,

i need to _exclusively_ assign a process to a core on SMP system.
I should do that with a kernel module not in user-mode.

I tried CGroup, but it doesn't assign exclusively a process to core.

I want this:

4 cores, 20 processes.
Process 1 -> Core 1
Processes 2-19 -> Core 2-4

Every time a new process has been created it doesn't must be assigned to Core 1.

Thanks

nottix

Click Here!