ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What is CPU affinity in Linux ?

user-image
تم إضافة السؤال من قبل Abu Nur Muhammad Hasanul Karim , Manager-System Administration , Dhaka Stock Exchange Ltd.
تاريخ النشر: 2015/04/09
Arshed Hussain
من قبل 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
من قبل 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.

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟