Bug 2177191 - delays seen while sdap_sudo_refresh_done is running [NEEDINFO]
Summary: delays seen while sdap_sudo_refresh_done is running
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Pavel Březina
QA Contact: sssd-qe
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-10 10:44 UTC by mpanaous
Modified: 2023-08-17 12:15 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:
mpanaous: needinfo? (rmarigny)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-151425 0 None None None 2023-03-10 10:45:01 UTC
Red Hat Issue Tracker SSSD-6121 0 None None None 2023-05-23 07:22:08 UTC

Comment 6 Pavel Březina 2023-07-21 10:40:29 UTC
The sudo code is pretty much the same on RHEL-7 and RHEL8, since it is quite fast on RHEL-7 I wonder if there was any change in ldb (the library that we use for cache database) that would diminish the index performance. Tomas, I think you have some internal knowledge of ldb, can you please check?

Comment 8 Tomas Halman 2023-08-17 12:15:30 UTC
In RHEL7 we have version 1.5, in RHEL8 there is 2.6. The difference is significant but at first glance I do not see any obvious reasons why it is slower. 

In 2.6 is an option that allows to increase in-memory cache for indexes and that may help during update (it does not explain why it is so much slower now) but the commit message mentions huge
performance penalty if the cache is small and hence not used. Unfortunately there is no way to set this option in SSSD configuration currently.

I may run some experiments if we obtain the cache files, or we can create a scratch build with this memory cache option set to higher value just for the sake of investigation.


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