Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 305831

Summary: excessive cpu usage in recovery code
Product: Red Hat Enterprise Linux 5 Reporter: David Teigland <teigland>
Component: kernelAssignee: David Teigland <teigland>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: low Docs Contact:
Priority: low    
Version: 5.1CC: ccaulfie, cluster-maint, djansa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-01 19:13:47 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 David Teigland 2007-09-25 18:51:04 UTC
Description of problem:

The dlm recovery code calls schedule() in a lot of lock loops
to prevent:

1) the softlock watchdog from going off
2) openais cluster membership messages for being delayed past
   the configured timeout

We want to investigate:

- will cond_resched() work as well, and more efficiently than schedule()?
  (I expect so)
- exactly what loops are taking so long (watchdog is 10 sec) and why?
  are there really that many locks and/or are we doing that much work
  on each one that it can take 10 sec?
- why does this seem to appear on ia64 regularly and other arch's rarely?

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 David Teigland 2008-06-24 17:25:27 UTC
Dean, do you still get softlockups on ia64?