Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Is it therefore not possible to reserve cpu exclusivly to some applications and nothing else uses these cpu? Commented Jul 27, 2018 at 8:49
  • It's possible using cgroups - unix.stackexchange.com/questions/247209/…. But not in the way you imagine. Commented Jul 27, 2018 at 8:54
  • 1
    I read on xmodulo that the kernel parameter "isolcpus=<CPU_ID>" to the boot loader during boot or GRUB configuration file. Then the Linux scheduler will not schedule any regular process on the reserved CPU core(s), unless specifically requested with taskset. For example, to reserve CPU cores 0 and 1, add "isolcpus=0,1" kernel parameter. Upon boot, then use taskset to safely assign the reserved CPU cores to your program. Commented Jul 27, 2018 at 9:58