[Bug 579967] New: OpenAIS high CPU usage (caused by Pacemaker plugin)
http://bugzilla.novell.com/show_bug.cgi?id=579967 http://bugzilla.novell.com/show_bug.cgi?id=579967#c0 Summary: OpenAIS high CPU usage (caused by Pacemaker plugin) Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: All OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: aron.ujvari@microsec.hu QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.64 (Windows NT 5.1; U; en) Presto/2.1.1 OpenAIS uses a quote lot CPU time even if it is idle. The fix of this problem have been already commited to the Pacemaker codebase that can be seen at http://hg.clusterlabs.org/pacemaker/stable-1.0/rev/33da369d36e3 . The problem that in pcmk_wait_dispatch function the sleep time is 100000 nsec = 100 usec = 0.1 msec instead of the inteded 100 msec. tv_nsec should be equal to 100000000 nsec to mean 100 msec. It's a 1000 times difference in sleeping, and probably in CPU usage. The very same problem exists for SLES 11 HA extension also. Reproducible: Always Steps to Reproduce: Start OpenAIS. Actual Results: OpenAIS CPU usage is around 8-10% when idle. Expected Results: OpenAIS should have use minimal CPU time (max. 0.1%). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=579967
http://bugzilla.novell.com/show_bug.cgi?id=579967#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=579967
http://bugzilla.novell.com/show_bug.cgi?id=579967#c1
--- Comment #1 from Lars Marowsky-Bree
https://bugzilla.novell.com/show_bug.cgi?id=579967
https://bugzilla.novell.com/show_bug.cgi?id=579967#c2
Lars Marowsky-Bree
participants (1)
-
bugzilla_noreply@novell.com