Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use LDB_NOSYNC to make domain cache faster #7093

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

thalman
Copy link
Contributor

@thalman thalman commented Dec 14, 2023

Using LDB_NOSYNC option significantly improves the cache performance.

However, it still uses the cache recovery area, so the cache is still resilient when using this option even if SSSD is forcibly terminated.

There is small chance that cache become inconsistent, when computer is unexpectedly switched off while transaction is being written to cache file.

:config: New option 'cache_in_memory_transaction' to use fast transaction and improve cache performance.

@thalman
Copy link
Contributor Author

thalman commented Jun 17, 2024

I did experimental change and rebase.

Using LDB_NOSYNC option significantly improves the cache
performance.

However, it still uses the cache recovery area, so the cache
is still resilient when using this option even if SSSD is forcibly
terminated.

There is small chance that cache become inconsistent, when computer
is unexpectedly switched off while transaction is being written to
cache file.

:config: New option 'cache_in_memory_transaction' to use fast
transaction and improve cache performance.
This patch sets default for in-memory transaction to true!
@pbrezina
Copy link
Member

pbrezina commented Jul 8, 2024

Hi Tomas, can you give us also some numbers? As a tip, you can use https://github.com/sharkdp/hyperfine to do the measuring.

@thalman
Copy link
Contributor Author

thalman commented Jul 8, 2024

Hi Tomas, can you give us also some numbers? As a tip, you can use https://github.com/sharkdp/hyperfine to do the measuring.

Hi I have another task to create some performance comparison pipeline. I will share results once I run it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants