0

My lscpu output is:

enter image description here

I have only one entry in /proc/interrupts for my NIC:

enter image description here

smp_affinity for my NIC eth0 is:

enter image description here

Since I have only 8 CPUs, I expected the smp_affinity value to have 8 bits, each bit for one CPU core, but I have 32 bits.

How do I interpret this output? Is there a standard on how smp_affinity value is stored?

user2761431
  • 925
  • 2
  • 11
  • 26

1 Answers1

0

smp_affinity format you find here: kernel.org

  • I saw this. It shows 8 bits for 8 cpu. My question is regarding that. I have 32 bits for a 8 CPU core – user2761431 Oct 30 '18 at 04:43
  • 1
    There is only one bit for the each CPU. In your example 00000000,00000080 you assign to CPU with index 7. you have 4 dwords becuase probably MAX_CPU in Linux configuration is 128. – Vladimir Pustovalov Oct 30 '18 at 13:56