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

Ensure writeBufferLoad test is fully deterministic #50

Open
lundgren87 opened this issue Feb 18, 2021 · 0 comments
Open

Ensure writeBufferLoad test is fully deterministic #50

lundgren87 opened this issue Feb 18, 2021 · 0 comments

Comments

@lundgren87
Copy link
Member

lundgren87 commented Feb 18, 2021

Related to the discussion in:
#45 (comment)

The goal of this test is to ensure that, regardless of the number of ArgoDSM nodes and the future allocation policy used, pages appear in a non-sorted order in the write buffer. This allows for testing that we protect ourselves against interleaving locking (as opposed to locking windows on node 0, 1, 2, ..., n in order) of remote MPI Windows producing deadlocks.

The current implementation relies on producing enough random writes to ensure that this scenario is likely to always trigger, but a sequence of numbers or a seed that guarantees such a result would be a better solution.

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

No branches or pull requests

1 participant