Improving Connection Management of the OpenLDAP Directory Server

This paper describes our effort to improve the performance of the connection management subsystem of the OpenLDAP directory server. Two proposed architectures, the multi-listener and the lightweight listener architectures, will be described and compared to each other. This paper will also describe our effort to improve the synchronization of multiple threads by introducing a semaphore based resource control scheme. The new connection management schemes proposed in this paper made the OpenLDAP directory server perform better in the presence of long latency operations and reduces the overhead caused by unnecessary context switching and inefficient event polling.

[1]  Sang Seok Lim,et al.  Design and Implementation of LDAP Component Matching for Flexible and Secure Certificate Access in PKI , 2005 .

[2]  Douglas C. Schmidt,et al.  Measuring the impact of event dispatching and concurrency models on Web server performance over high-speed networks , 1997, GLOBECOM 97. IEEE Global Telecommunications Conference. Conference Record.

[3]  Peter Druschel,et al.  A Scalable and Explicit Event Delivery Mechanism for UNIX , 1999, USENIX Annual Technical Conference, General Track.

[4]  Willy Zwaenepoel,et al.  Flash: An efficient and portable Web server , 1999, USENIX Annual Technical Conference, General Track.

[5]  Jeff Hodges,et al.  Lightweight Directory Access Protocol (v3): Technical Specification , 2002, RFC.

[6]  M. Wahl,et al.  Lightweight Directory Access Protocol , 1997 .

[7]  George C. Necula,et al.  Capriccio: scalable threads for internet services , 2003, SOSP '03.

[8]  Mark Russinovich,et al.  High-Performance Memory-Based Web Servers: Kernel and User-Space Performance , 2001, USENIX ATC, General Track.

[9]  Eric A. Brewer,et al.  USENIX Association Proceedings of HotOS IX : The 9 th Workshop on Hot Topics in Operating Systems , 2003 .

[10]  Chuck Lever,et al.  Scalable Network I/O in Linux , 2000, USENIX Annual Technical Conference, FREENIX Track.

[11]  Tim Howes,et al.  Lightweight Directory Access Protocol , 1995, RFC.

[12]  P. T. Barry,et al.  Abstract syntax notation-one (ASN.1) , 1992 .

[13]  Jeffrey C. Mogul,et al.  Scalable Kernel Performance for Internet Servers Under Realistic Loads , 1998, USENIX Annual Technical Conference.