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

Yield vs sleep to control idleness #3

Open
kozyraki opened this issue Feb 14, 2017 · 1 comment
Open

Yield vs sleep to control idleness #3

kozyraki opened this issue Feb 14, 2017 · 1 comment

Comments

@kozyraki
Copy link
Contributor

The latest PR for the L3 microbenchmark replased sleep with sched_yield. While the latter frees the core for other uses, the former allows finer grain control of idleness. Maybe we should have a parameter that controls which of the two is used.

@nqn
Copy link
Contributor

nqn commented Feb 17, 2017

Maybe we can have this as a configuration, which allows for either? If we have some spare time, we might be able to come with a PR for that.

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

2 participants