This bug has been copied from bug #1458536 and has been proposed to be backported to 7.4 z-stream (EUS).
My testing server with 32Gb RAM was configured with the following settings:
I increased ndn-cache-max-size:
Directory contains 1 group with 10k members, unindexed component (description).
I see 4-5x increase in search rate:
ldclt -D 'cn=Directory Manager' -w Secret123 -e esearch,random -r0 -R99999 -f "(&(description=*)(objectClass=groupOfUniqueNames)(uniqueMember=uid=uXXXXXX,ou=People,dc=example,dc=com))"
389-ds-base-126.96.36.199-19.el7_4.x86_64 (without the fix):
ldclt: Average rate: 284.70/thr ( 284.70/sec), total: 2847
ldclt: Average rate: 1312.50/thr (1312.50/sec), total: 13125
Marking as VERIFIED.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.