-
Notifications
You must be signed in to change notification settings - Fork 32
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
Scheduler based on memory snapshots #7
Comments
Hi @dorooleg, Do you actually have something so expensive that justifies fork + several socket calls + several context switches? This should be something notoriously expensive.
However, unfortunately I don't have lots of spare cycles for large relacy changes today. I would rather invest more in ThreadSanitizer: ThreadSanitizer has lots of advantages over Relacy:
But it does not have a number of important features that Relacy has, in particular:
Taking into account that ThreadSanitizer's main goal is to handle any real programs with zero user effort, using fork-based scheduler looks like a good fit for ThreadSanitizer because of the ability to handle global state, non-determinism and larger programs. |
@kcc FYI |
@dvyukov What do you think the scheduler based on memory snapshots can be useful? https://github.com/dorooleg/relacy/tree/scheduler-based-on-memory-snapshots
I see several uses of this approach:
Currently, only the first item is made. Does the rest make sense?
The text was updated successfully, but these errors were encountered: