What's the difference between this and setting MultiPV to the maximum?Joerg Oster wrote:In SMP mode, I want to do a full PV search for all root moves,
eventually splitting the root moves over all helper threads.
MutliPV behavior?
Moderators: hgm, Rebel, chrisw
-
- Posts: 4556
- Joined: Tue Jul 03, 2007 4:30 am
Re: MutliPV behavior?
-
- Posts: 5557
- Joined: Tue Feb 28, 2012 11:56 pm
Re: MutliPV behavior?
Setting MultiPV to the maximum performs a regular full search on all moves to find the best move, then a regular full search on all moves minus the best one to find the second best move, etc.Ovyron wrote:What's the difference between this and setting MultiPV to the maximum?Joerg Oster wrote:In SMP mode, I want to do a full PV search for all root moves,
eventually splitting the root moves over all helper threads.
This is easy to implement, but seems suboptimal. Of course the transposition table helps to avoid double work.
-
- Posts: 937
- Joined: Fri Mar 10, 2006 4:29 pm
- Location: Germany
Re: MutliPV behavior?
The difference is I don't switch the main search thread into MultiPV mode, but only the helper threads.Ovyron wrote:What's the difference between this and setting MultiPV to the maximum?Joerg Oster wrote:In SMP mode, I want to do a full PV search for all root moves,
eventually splitting the root moves over all helper threads.
First tests indicate that I eventually need to modify the TT probing, too.
The helper threads already showed a mate score on a test position,
yet the main thread didn't change to that move ...
Jörg Oster
-
- Posts: 4556
- Joined: Tue Jul 03, 2007 4:30 am
Re: MutliPV behavior?
You're welcome too!Joerg Oster wrote:You're welcome!Ovyron wrote:Thanks Joerg!
Thanks for bringing this up.
Did your patch make it to Stockfish 9?
-
- Posts: 937
- Joined: Fri Mar 10, 2006 4:29 pm
- Location: Germany
Re: MutliPV behavior?
No, as I didn't create a pull request for it.Ovyron wrote:You're welcome too!Joerg Oster wrote:You're welcome!Ovyron wrote:Thanks Joerg!
Thanks for bringing this up.
Did your patch make it to Stockfish 9?
But I just started a discussion thread on this in the forum to get some feedback.
Jörg Oster