RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1965928 - performance search rate: contention on global monitoring counters
Summary: performance search rate: contention on global monitoring counters
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: 389-ds-base
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 8.7
Assignee: thierry bordaz
QA Contact: RHDS QE
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-31 07:30 UTC by thierry bordaz
Modified: 2022-11-08 10:29 UTC (History)
6 users (show)

Fixed In Version: 389-ds-base-1.4.3.30-3.module+el8.7.0+15600+347cafc6
Doc Type: If docs needed, set a value
Doc Text:
DS is a multi-threaded application. Several threads (workers and listeners) a updating common counters used for monitoring. Under high workload, several threads can access at the same time the same counters creating a kind of contention (cache lines moving from one CPU to another). The fix prevents that the threads access the same counters that eliminates contention.
Clone Of:
Environment:
Last Closed: 2022-11-08 09:38:12 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 4312 0 None open performance search rate: contention on global monitoring counters 2021-07-06 14:31:22 UTC
Red Hat Issue Tracker IDMDS-1617 0 None None None 2021-09-06 09:45:10 UTC
Red Hat Product Errata RHBA-2022:7552 0 None None None 2022-11-08 09:38:51 UTC

Description thierry bordaz 2021-05-31 07:30:18 UTC
Description of problem:
Many counters are related to cn=monitoring (snmp, ops, maxthread..). They are global to the server and listener/workers update them frequently. Those (atomic) update look expensive as skipping them improves throughput by >2%.
This ticket is to evaluate the gain of moving some of those global counters to a per workers/listener. Then on cn=monitor search, the per worker/listener counter would be consolidate into a global server counter.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 thierry bordaz 2021-12-09 17:43:44 UTC
Fix is pushed upstream => POST

Comment 11 thierry bordaz 2022-06-10 12:01:34 UTC
Fixed in 389-ds-base-1.4.3.30-3.module+el8.7.0+15600+347cafc6 => MODIFIED

Comment 18 errata-xmlrpc 2022-11-08 09:38:12 UTC
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 (389-ds:1.4 bug fix and enhancement update), 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-2022:7552


Note You need to log in before you can comment on or make changes to this bug.