Bug 397901
Summary: | IRQBALANCE fails everytime a reboot occurs in Fedora 8 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Scott Griffin <grifs71> |
Component: | irqbalance | Assignee: | Neil Horman <nhorman> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | stevea12345 |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.55-7.fc8 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-11-29 01:46:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Scott Griffin
2007-11-24 16:39:26 UTC
This problem also occurs on x86_64 with core2 duo. Using strace it appears the irqbalance daemon exits after the first 10 second sample period and irq re-balance. The last system calls are: open("/proc/irq/12/smp_affinity", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaaaae000 write(3, "00000001", 8) = 8 close(3) = 0 munmap(0x2aaaaaaae000, 4096) = 0 write(1, "IRQ delta is 16077 \n", 20) = 20 exit_group(0) = ? irqbalance behaves as if the "--oneshot" parameter is set (it is not, tested). This of course causes the daemon script * lock file problems. I've just read the source code and the cause is now obvious. /* On single core UP systems irqbalance obviously has no work to do */ if (core_count<2) exit(EXIT_SUCCESS); /* On dual core/hyperthreading shared cache systems just do a one shot setup */ if (cache_domain_count==1) one_shot_mode = 1; If there is a single cpu irqbalance exits immediately. If there is a consolidated cache model, then irqbalance performs a "one shot" re-balance (as on my core2 duo). Then the daemon process exits, leaving the lock file. == The daemon exits as it has no practical work to preform, however the init.d/irqbalance script has no means of distinguishing the 'clean exit' from other failure conditions. fixed in 0.55-7.fc8. Thanks! irqbalance-0.55-7.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. I have updated my Fedora 8 machines this update appears to have resolved this issue. Thank you, Scott Griffin [scottg@FEDORA ~]$ rpm -q irqbalance irqbalance-0.55-7.fc8 |