Bug 168612 - OpenLDAP performance problem under load, caused by sched_yield()
Summary: OpenLDAP performance problem under load, caused by sched_yield()
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: openldap
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jay Fenlason
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-18 03:02 UTC by Bernie Innocenti
Modified: 2014-08-31 23:27 UTC (History)
2 users (show)

Fixed In Version: 2.3.19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-03 21:50:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Proposed fix by Howard Chu (730 bytes, patch)
2005-11-26 01:45 UTC, Bernie Innocenti
no flags Details | Diff

Description Bernie Innocenti 2005-09-18 03:02:16 UTC
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):
2.2.26-1

How reproducible:
always

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

Comment 1 Bernie Innocenti 2005-11-25 02:46:28 UTC
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.

Comment 2 Bernie Innocenti 2005-11-26 01:45:08 UTC
Created attachment 121499 [details]
Proposed fix by Howard Chu

Comment 3 Bernie Innocenti 2005-11-26 01:45:46 UTC
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.

Comment 4 Bernie Innocenti 2006-08-03 21:48:34 UTC
Problem appears to be fixed in FC5 with openldap 2.3.19.


Note You need to log in before you can comment on or make changes to this bug.