Red Hat Bugzilla – Bug 168612
OpenLDAP performance problem under load, caused by sched_yield()
Last modified: 2014-08-31 19:27:49 EDT
Description of problem:
OpenLDAP 2.2.26 has a scheduling bug that makes any query crawl
under moderate CPU load (even nice load).
This is again the usual sched_yield() behavior change that has
haunted OpenOffice and other applications.
This issue has been recently discussed on LKML and in OpenLDAP's
bug-tracking system. One of the authors recommends upgrading to
2.3.7. Is there a chance we can get this in rawhide or even FC4?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.start a long-running CPU-bound process such as gcc
2.try some LDAP queries and measure with time or strace -t
OpenLDAP 2.3.11 has been included in fedora-development.
By the way, the bug I was moaning about is still there.
I will complain upstream.
Created attachment 121499 [details]
Proposed fix by Howard Chu
Applying the attached patch to openldap-2.3.11 fixed the problem for me.
Please include it in the package patch set until it's available from upstream.
Problem appears to be fixed in FC5 with openldap 2.3.19.