Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Performance degradation due C11 atomics #160

Closed
erthink opened this issue Feb 6, 2021 · 1 comment
Closed

Performance degradation due C11 atomics #160

erthink opened this issue Feb 6, 2021 · 1 comment
Assignees

Comments

@erthink
Copy link
Owner

erthink commented Feb 6, 2021

MDBX: 163.5 Kops (without C11 atomics) -> 119.7 Kops (with C11 atomics).
LMDB: 136.9 Kops (as reference for the same benchmark).

So the using C11 should be reverted or revised, at least for architectures with non-weak/non-relaxed memory model (E2K, x86).

@erthink
Copy link
Owner Author

erthink commented Feb 6, 2021

@AskAlexSharov, FYI.
Will fix shortly.

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

No branches or pull requests

1 participant