# LDAP Load Balancing Performance Problem

**URL:** <https://community.f5.com/t/ldap-load-balancing-performance-problem/58057>\
**Category:** Technical Forums\
**Tags:** design, config\
**Created:** [January 19, 2011, 11:11am UTC](https://community.f5.com/t/ldap-load-balancing-performance-problem/58057 "2011-01-19T11:11:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pedro\_Minas](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@Pedro\_Minas](https://community.f5.com/u/Pedro_Minas)\
**Post date:** [January 19, 2011, 11:11am UTC](https://community.f5.com/t/ldap-load-balancing-performance-problem/58057/1 "2011-01-19T11:11:59Z")

</div>

Hi guys…

I’m having a problem with an vitrual service load balancing LDAP requests… When i request directly to the servers the response is very fast but when i request via BIG-IP the responses are quite slow…

Any opinions?

Virtual Service Config…

service port: 389

protocol profile client: tcp

protocol profile server: tcp

address translation: enabled

port translation: enabled

no persistence

pool with two servers

Thanks in advance…

---

<div class="post-metadata">

**Author:** ![Chris\_Miller](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/chris_miller/32/14702_2.png) [@Chris\_Miller](https://community.f5.com/u/Chris_Miller)\
**Post date:** [January 19, 2011, 1:11pm UTC](https://community.f5.com/t/ldap-load-balancing-performance-problem/58057/2 "2011-01-19T13:11:40Z")

</div>

Change both protocol profiles to lan-optimized and see if it helps.

---

<div class="post-metadata">

**Author:** ![Pedro\_Minas](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@Pedro\_Minas](https://community.f5.com/u/Pedro_Minas)\
**Post date:** [January 19, 2011, 1:38pm UTC](https://community.f5.com/t/ldap-load-balancing-performance-problem/58057/3 "2011-01-19T13:38:35Z")

</div>

It’s the same… I’ve got the same behavior…

---

<div class="post-metadata">

**Author:** ![hoolio](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@hoolio](https://community.f5.com/u/hoolio)\
**Post date:** [January 19, 2011, 4:16pm UTC](https://community.f5.com/t/ldap-load-balancing-performance-problem/58057/4 "2011-01-19T16:16:22Z")

</div>

You could capture tcpdumps of the slow query times through the virtual server and compare that with traces direct to the pool member. You could also try changing to a Performance L4 virtual server with a FastL4 profile.

Aaron

---

<div class="post-metadata">

**Author:** ![Pedro\_Minas](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@Pedro\_Minas](https://community.f5.com/u/Pedro_Minas)\
**Post date:** [January 19, 2011, 5:23pm UTC](https://community.f5.com/t/ldap-load-balancing-performance-problem/58057/5 "2011-01-19T17:23:48Z")

</div>

Problem solved… It was the reverse lookup DNS regarding the virtual service IP… There was no entry for the IP in question…
