Discussion:
unable to set smp_affinity of PCIe interrupt
Amit Mahadik
2013-05-08 12:05:09 UTC
Permalink
Hello,
      Following is the output of cat /proc/interrupts
          

           CPU0       CPU1       CPU2

200:       9634          0          0  PCIe0-MSI  eth0


I want to change the processor affinity of the above PCIe interrupt


By executing command echo 2 > /proc/irq/200/smp_affinity I get the following error

sh: write error: Input/output error

Even after changing the file permissions I have the same problem.

I would like to know how to change the affinity of the above virtual interrupt??

Regards,
Amit.
Mulyadi Santosa
2013-05-10 06:02:39 UTC
Permalink
Post by Amit Mahadik
Hello,
Following is the output of cat /proc/interrupts
CPU0 CPU1 CPU2
200: 9634 0 0 PCIe0-MSI eth0
I want to change the processor affinity of the above PCIe interrupt
By executing command echo 2 > /proc/irq/200/smp_affinity I get the following error
sh: write error: Input/output error
Even after changing the file permissions I have the same problem.
AFAIK, even if you change that file's permission, actually it stays
the same. So you need to switch into root or use sudo to change the
affinity
--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
Loading...