Find the answer to your Linux question:
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 ...
  1. #1
    Just 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.

  2. #2
    Linux Guru Rubberman's Avatar
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...