Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
Assalamu Alaikum,
CPU affinity is binding a process to a specific CPU. This case is applicable when there are multiple CPUs available.
Thanks,
Syed Arshed Hussain
Basically we can program or configure particular interrupt to process on specific cpu core.
The /proc/interrupts file lists the number of interrupts per CPU per I/O device. IRQs have an associated "affinity" property, smp_affinity, which defines the CPU cores that are allowed to execute the ISR for that IRQ. This property can be used to improve application performance by assigning both interrupt affinity and the application's thread affinity to one or more specific CPU cores. This allows cache line sharing between the specified interrupt and application threads.