Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is CPU affinity in Linux ?

user-image
Question ajoutée par Abu Nur Muhammad Hasanul Karim , Manager-System Administration , Dhaka Stock Exchange Ltd.
Date de publication: 2015/04/09
Arshed Hussain
par Arshed Hussain , IT Analyst , Tata Consultancy Services

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

Mehmoodkha Pathan
par Mehmoodkha Pathan , Cloud engineer , Cisco - Aricent payroll

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.

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?