Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi folks. I'm relatively new to linux and hope someone can steer me a bit.
Can someone help interprete the output from /proc/irq/xx/smp_affinity and how to set the irq affinity? Why I'm stumped is when I cat my 8 way opteron machine - I get a list of values (masks?).
The the last value bounces around, so it doesn't appear to indicate the CPU mask - perhaps it's the last CPU used?
However, all the documentation I can find indicates that smp_affinity returns or is set with a single mask. The docs appear to be out of date or something - even the
/usr/src/linux2.6.18/Documentation/IRQaffinity.txt file for my kernel. The kernel happens to be 2.6.18-1.2798.fc6 - x86_64.
Received an out of band answer. It appears that somewhere along the way the kernel was updated to support a larger mask (256 bits wide). The "," is just included to improve readability. The correlation between my 8 processors and the 8 x 32 bit values is just coincidence. Other kernel version appears to only be 128 bytes wide.
Hi folks. I'm relatively new to linux and hope someone can steer me a bit.
Can someone help interprete the output from /proc/irq/xx/smp_affinity and how to set the irq affinity? Why I'm stumped is when I cat my 8 way opteron machine - I get a list of values (masks?).
The the last value bounces around, so it doesn't appear to indicate the CPU mask - perhaps it's the last CPU used?
However, all the documentation I can find indicates that smp_affinity returns or is set with a single mask. The docs appear to be out of date or something - even the
/usr/src/linux2.6.18/Documentation/IRQaffinity.txt file for my kernel. The kernel happens to be 2.6.18-1.2798.fc6 - x86_64.
Thanks much,
Kris
The last value bouncing around actually is the current CPU mask at that time... I have a feeling you also have a service called irqbalance running as well, which attempts to move around irq's to different processors to balance out interrupt loading.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.