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

Single threaded OakMap #134

Open
sanastas opened this issue Feb 28, 2021 · 0 comments
Open

Single threaded OakMap #134

sanastas opened this issue Feb 28, 2021 · 0 comments

Comments

@sanastas
Copy link
Contributor

sanastas commented Feb 28, 2021

Add a flag to Oak, such that if turned on, OakMap is optimized for a single thread performance.

A flag should be added to OakBuilder to signal of creating an OakMap to be used by single thread. The flag should propagate to the internal Oak usage of CAS, where the later should be wrapped and based on the flag either CAS or simple write should be used.

The issue is not very complex but still requires understanding of OakMap design and internal classes structure. In addition to the running and correct version of single threaded Oak, the outcome of the issue should also be Oak benchmarks showing performance of single- versus multi-threaded OakMap.

For more explanations feel free to add questions in this issue.

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

No branches or pull requests

1 participant