Results 1 to 2 of 2
--------------------------------------------------------------------------------
I want to know whether in Linux is there a way to bind a process or application to perticular CPU core ?
Eg: If i have an application running ...
- 11-25-2009 #1Just Joined!
- Join Date
- Nov 2009
- Posts
- 1
Binding a process to perticular core
--------------------------------------------------------------------------------
I want to know whether in Linux is there a way to bind a process or application to perticular CPU core ?
Eg: If i have an application running on multicore(4 CPU cores) linux environment , Is there any way I can bind this process to Core 1 & 2 , so that my process runs on only these cores.
- 11-25-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,975
See the man pages for htop (system command), taskset (system command), numactl (system command), and sched_setaffinity (C-language function call).
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote