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

Nosleep #294

Closed
wants to merge 5 commits into from
Closed

Nosleep #294

wants to merge 5 commits into from

Conversation

zamar
Copy link

@zamar zamar commented Mar 15, 2015

Clear gain with 16 threads. Again results vary highly depending on hardware, but on average it's a clear gain.

ELO: 12.17 +-4.3 (95%) LOS: 100.0%
Total: 7998 W: 1407 L: 1127 D: 5464

@mcostalba
Copy link

Great Joona! Another SMP big shot :-)

BTW this also paves the way to use std::condition_variable_any instead of
my homegrown hack in thread_win32.h, indeed std::condition_variable_any is
a bit slower, but now that sleeping is out of the hot path, this should be
not measurable anymore.

@zamar
Copy link
Author

zamar commented Mar 15, 2015

Yes Marco,

This is the idea. We should be able to use std::mutex and std::condition_variable after this, because they are no longer involved in the hot path...

@glinscott
Copy link
Contributor

Awesome stuff Joona! Merge away :).

@zamar zamar closed this in f04f50b Mar 15, 2015
niklasf pushed a commit to niklasf/Stockfish that referenced this pull request Mar 28, 2017
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

Successfully merging this pull request may close these issues.

None yet

6 participants