Bug 1458536
Summary: | Performance issues with RHDS 10 - NDN cache investigation. | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Ash Westbrook <awestbro> | |
Component: | 389-ds-base | Assignee: | mreynolds | |
Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> | |
Severity: | urgent | Docs Contact: | Marc Muehlfeld <mmuehlfe> | |
Priority: | urgent | |||
Version: | 7.3 | CC: | gparente, mreynolds, msauton, nkinder, pasik, rmeggins | |
Target Milestone: | pre-dev-freeze | Keywords: | ZStream | |
Target Release: | 7.5 | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | 389-ds-base-1.3.7.5-4.el7 | Doc Type: | Enhancement | |
Doc Text: |
Directory Server now uses separate normalized DN caches for each worker thread
Previously, multiple worker threads used a single normalized Distinguished Name (DN) cache. Consequently, if multiple clients performed operations on Directory Server, performance decreased. With this update, Directory Server now creates separate normalized DN caches for each worker thread. As a result, performance no longer decreases in the mentioned scenario.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1486128 (view as bug list) | Environment: | ||
Last Closed: | 2018-04-10 14:16:50 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Bug Depends On: | ||||
Bug Blocks: | 1420851, 1472344, 1477926, 1486128, 1490412 |
Description
Ash Westbrook
2017-06-04 03:26:45 UTC
As far as what you can do to check, what's your nsslapd-threadnumber? Have you followed the performance tuning guide? Can you use HR etime to see what's going on there? What is mounted for /var/log? Can you disable COW on the userRoot/groupRoot dbs? Upstream ticket: https://pagure.io/389-ds-base/issue/49330 Build tested: 389-ds-base-1.3.7.5-18.el7.x86_64 My testing server with 48Gb RAM was configured with the following settings: (default settings) nsslapd-idlistscanlimit: 4000 nsslapd-dbcachesize: 536870912 nsslapd-cachememsize: 4563402752 I increased ndn-cache-max-size: nsslapd-ndn-cache-max-size: 2097152000 Directory contains 1 group with 10k members, unindexed component (description). I see 8-10x increase on average 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-1.3.6.1-19.el7_4.x86_64 (without the fix): ldclt[40687]: Average rate: 20.40/thr ( 20.40/sec), total: 204 389-ds-base-1.3.7.5-18.el7.x86_64 ldclt[39467]: Average rate: 192.90/thr ( 192.90/sec), total: 1929 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. https://access.redhat.com/errata/RHBA-2018:0811 |