https://bugs.openldap.org/show_bug.cgi?id=9692
Issue ID: 9692 Summary: Insertion rate in large groups slows unexpectedly Product: OpenLDAP Version: 2.5.7 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: smckinney@symas.com Target Milestone: ---
Created attachment 843 --> https://bugs.openldap.org/attachment.cgi?id=843&action=edit slapd.conf
Observed during jmeter tests[1] that perform ldapmod operations, adding members into a group. The insertion speed decreases unexpectedly, as the size of the group increases.
A test run starts 10 jmeter threads, each doing 1000 mods = 100,000 members added altogether to a group.
At the beginning of the test, throughput is approximately 200/s. At the end, the mod rate slows down to < 10/s.
Multival and sortval are enabled (slapd.conf attached): sortvals member multival member 500,3
*** Server info Ubuntu20 2 CPU Cores 4GB RAM symas-openldap-server 2.5.7-1focal1
*** To verify multival is enabled:
``` data/dc=example,dc=com# mdb_stat -s id2v . Status of id2v Tree depth: 1 Branch pages: 0 Leaf pages: 1 Overflow pages: 0 Entries: 746316 ```
[1][ldap-load-gen](https://gitlab.symas.net/symas-public/ldap-load-gen)