Linux – Tie a process to specific CPU cores

debianlinuxprocess

I have a Debian server with software-RAID and a quad-core processor. Once all cores are under full load, the RAID system has a huge IO delay.

The server is running some very CPU-expensive jobs.

Is it possible that I can tie these jobs to specific cores so I can reserve one core for RAID?

Best Answer

Yes, you can use taskset to do this. I doubt that it will make much difference though.

$ man taskset