To work around this issue,
Disable the NICs in the configuration file that slow down the ldapsearch performance.
or
Enable Advanced Referral Costing (ARC) by using the set NDSTRACE =!ARC1 command in DSTrace.