Support Board
Date/Time: Sat, 23 Nov 2024 02:54:22 +0000
Post From: Slow data with v2524
[2023-07-22 09:28:15] |
VLiviu - Posts: 223 |
For the Linux guys, I thought this might be interesting: https://www.xmodulo.com/run-program-process-specific-cpu-cores-linux.html Specially the last part: Dedicate a Whole CPU Core to a Particular Program While taskset allows a particular program to be assigned to certain CPUs, that does not mean that no other programs or processes will be scheduled on those CPUs. If you want to prevent this and dedicate a whole CPU core to a particular program, you can use isolcpus kernel parameter, which allows you to reserve the CPU core during boot. Add 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. Date Time Of Last Edit: 2023-07-22 09:29:00
|