SF doesn't see mate in 8

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: SF doesn't see mate in 8

Post by MikeB »

MikeB wrote: Fri Jun 29, 2018 7:30 am Nice position - thx for sharing.

Here current McBrain (not released) on a lowly Raspberry Pi Model 3B+(DGT-PI Housing) sees the mate in 8 at depth 32 and 765M nodes.
( Actually used this position to test Pi throttling - it ran for about ~20 minutes and maintained 1200 Mhz while using all 4 cores - the hardware falls in between iPad 4 and iPad 5 - Geekbench result:http://browser.geekbench.com/geekbench2/2659839),

The below analysis was captured on Mac Pro which was ssh-ed into the Pi via a WIFI connection.
[snip]
Update - incorporated Dann Corbit''s mobility idea into McBrain v9.5 ( thanks Dann!)
- but note, I was using Ivan Ivec's Depth R function - so this is new code marrying Dann's mobility function and Ivan's Depth R function - the marriage is a good one. :)

now less than 5 minutes on a lowly Pi, this 9.5 version has new minimal output option , and it will be released in current form. Current code is out on Github for those that can't wait. Will throw the macOS and Pi versions out there too.

Code: Select all

info depth 26 seldepth 37 multipv 1 score cp -41 nodes 73987789 nps 434685 hashfull 982 tbhits 0 time 170210 pv c4d3 d6e7 d1g4 g6f7 g4h5 f7f8 d3f5 c7c6 b1c3 d7d5 f5c8 d8c8 e1c1 c8e8 h5f3 b8d7 e3e4 d5e4 f3f5 h8g8 c3e4 a8d8 d4d5 e8g6 f5g6 g8g6 d5d6 g6g2 d6e7 f8e7 h1g1
info depth 27 seldepth 41 multipv 1 score cp -22 nodes 90406071 nps 432873 hashfull 989 tbhits 0 time 208851 pv c4d3 d6e7 d1g4 g6f7 g4h5 f7f8 d3f5 c7c6 b1c3 d7d5 f5c8 d8c8 e1c1 b8a6 h1e1 c8e8 h5f3 e8g6 e3e4 h8g8 g2g3 a6c7 h2h4 a8d8 e4d5 c6d5 c1b1 d8d7 a2a3 g8g7 f3e3 g6h5 f2f4
info depth 28 seldepth 42 multipv 1 score mate 8 nodes 116722746 nps 438018 hashfull 997 tbhits 0 time 266479 pv d1h5 g6h5 c4f7 h5h4 b1d2 d6b4 c2c3 f5f4 d2f3 h4g4 e3e4 b4c3 b2c3 h6h5 h2h3
info depth 29 seldepth 16 multipv 1 score mate 8 nodes 119062468 nps 440384 hashfull 998 tbhits 0 time 270360 pv d1h5 g6h5 c4f7 h5h4 b1d2 d6b4 c2c3 f5f4 d2f3 h4g4 e3e4 b4c3 b2c3 h6h5 h2h3
info depth 30 seldepth 16 multipv 1 score mate 8 nodes 119400960 nps 440815 hashfull 998 tbhits 0 time 270864 pv d1h5 g6h5 c4f7 h5h4 b1d2 d6b4 c2c3 f5f4 d2f3 h4g4 e3e4 b4c3 b2c3 h6h5 h2h3
[snip]
info depth 43 seldepth 16 multipv 1 score mate 8 nodes 278979851 nps 581647 hashfull 999 tbhits 0 time 479637 pv d1h5 g6h5 c4f7 h5h4 b1d2 d6b4 c2c3 f5f4 d2f3 h4g4 e3e4 b4c3 b2c3 h6h5 h2h3
bestmove d1h5 ponder g6h5
note - I have found two cores optimal for the Pi - do not use all 4 cores , solution time longer with all 4 codes.
Image
Dann Corbit
Posts: 12537
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: SF doesn't see mate in 8

Post by Dann Corbit »

MikeB wrote: Sat Jun 30, 2018 5:24 am note - I have found two cores optimal for the Pi - do not use all 4 cores , solution time longer with all 4 codes.
Did you try 3?
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: SF doesn't see mate in 8

Post by MikeB »

Dann Corbit wrote: Sat Jun 30, 2018 5:50 am
MikeB wrote: Sat Jun 30, 2018 5:24 am note - I have found two cores optimal for the Pi - do not use all 4 cores , solution time longer with all 4 codes.
Did you try 3?
Just kicked it off, the Pi has an auto throttle feature - that drops Mhz tp 1200 once a specified temp is reached. With two cores, I don't hit that threshold at all - so I can have two cores running at 1500 Mhz, in less than a minute or two it start throttling down 3 cores to 1200 , almost to the point that is at least 50%. The Pi smp capability is not like that of high end processors of today, designed for smp programs, so it not as effective. The processor was used in Apple iPad 4 and 5.

It's been running 5 minutes now it still hasn't;t found it with 3 cores - but my guess is that will find it soon- it's near the depth range where it usually finds it. (depth 28 to 32)

edit - 3 core was not good - not found in over 20 minutes
Image
jhellis3
Posts: 546
Joined: Sat Aug 17, 2013 12:36 am

Re: SF doesn't see mate in 8

Post by jhellis3 »

Thanks for posting this position; it has given me something to work on :).
MOBMAT
Posts: 385
Joined: Sat Feb 04, 2017 11:57 pm
Location: USA

Re: SF doesn't see mate in 8

Post by MOBMAT »

Update - incorporated Dann Corbit''s mobility idea into McBrain v9.5 ( thanks Dann!)
Which mobility idea was that?
i7-6700K @ 4.00Ghz 32Gb, Win 10 Home, EGTBs on PCI SSD
Benchmark: Stockfish15.1 NNUE x64 bmi2 (nps): 1277K
tpoppins
Posts: 919
Joined: Tue Nov 24, 2015 9:11 pm
Location: upstate

Re: SF doesn't see mate in 8

Post by tpoppins »

Henrik Dinesen wrote: Sat Jun 30, 2018 1:53 am It's obviously a problem for several strong engines, but then again it points to the many holes in the Dutch defence.
The move 2...h6 is a dubious response to 2.Bg5; and an early ...Nf6, allowing White to double the black pawns, is plain bad in this line: White gets a long-lasting strategic initiative, while Black's position is highly passive and unpleasant. That doesn't mean that 2.Bg5 makes the Dutch unplayable, Black has reasonable alternatives in 2...g6, 2...d6 or 2...c6. Even 2...h6 is playable, although the resulting mess may not be everyone's cup of tea.
MOBMAT wrote: Sat Jun 30, 2018 7:20 pm
Update - incorporated Dann Corbit''s mobility idea into McBrain v9.5 ( thanks Dann!)
Which mobility idea was that?
The src is linked to in the thread Mobility tweaked SF.
Tirsa Poppins
CCRL
Paloma
Posts: 1167
Joined: Thu Dec 25, 2008 9:07 pm
Full name: Herbert L

Re: SF doesn't see mate in 8

Post by Paloma »

tpoppins wrote: Sun Jul 01, 2018 5:06 am The src is linked to in the thread Mobility tweaked SF.
This link is wrong.
Correct link: viewtopic.php?f=2&t=67843
tpoppins
Posts: 919
Joined: Tue Nov 24, 2015 9:11 pm
Location: upstate

Re: SF doesn't see mate in 8

Post by tpoppins »

Indeed! Thank you, Paloma. ;0
Tirsa Poppins
CCRL
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: SF doesn't see mate in 8

Post by MikeB »

current McBrain 9.6 ( not released) sees it in 48 seconds on my machine using a modified Monte Carlo search function written originally by Stefano Cardanobile

Code: Select all

info depth 27 seldepth 44 multipv 1 score cp -54 nodes 847038041 nps 19471691 hashfull 244 tbhits 0 time 43501 pv c4d3 b8c6 b1d2 g6g7 d3f5 d8g8 d1g4 g7f8 g4f3 h6h5 d2e4 g8d5 e4f6 d5f3 g2f3 f8f7 f6h7 d6e7 h1g1 d7d5 f5g6 f7e6 e1e2 c8d7 h7g5 e7g5 g1g5 c6e7 g6h5 d7b5 e2d2 a8g8 g5g8 h8g8 a2a4
info depth 28 seldepth 44 multipv 1 score mate 8 nodes 937214989 nps 19471764 hashfull 273 tbhits 0 time 48132 pv d1h5 g6h5 c4f7 h5h4 b1d2 d6b4 c2c3 f5f4 d2f3 h4g4 e3e4 b4c3 b2c3 d7d5 h2h3 
Image
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: SF doesn't see mate in 8

Post by zullil »

MikeB wrote: Wed Jul 18, 2018 7:02 am current McBrain 9.6 ( not released) sees it in 48 seconds on my machine using a modified Monte Carlo search function written originally by Stefano Cardanobile

Code: Select all

info depth 27 seldepth 44 multipv 1 score cp -54 nodes 847038041 nps 19471691 hashfull 244 tbhits 0 time 43501 pv c4d3 b8c6 b1d2 g6g7 d3f5 d8g8 d1g4 g7f8 g4f3 h6h5 d2e4 g8d5 e4f6 d5f3 g2f3 f8f7 f6h7 d6e7 h1g1 d7d5 f5g6 f7e6 e1e2 c8d7 h7g5 e7g5 g1g5 c6e7 g6h5 d7b5 e2d2 a8g8 g5g8 h8g8 a2a4
info depth 28 seldepth 44 multipv 1 score mate 8 nodes 937214989 nps 19471764 hashfull 273 tbhits 0 time 48132 pv d1h5 g6h5 c4f7 h5h4 b1d2 d6b4 c2c3 f5f4 d2f3 h4g4 e3e4 b4c3 b2c3 d7d5 h2h3 
Faster than Cfish, although I was expecting worse than I got after browsing this thread:

Code: Select all

info depth 31 seldepth 48 multipv 1 score mate 8 nodes 2992161024 nps 40393668 hashfull 528 tbhits 0 time 74075 pv d1h5 g6h5 c4f7 h5h4 b1d2 d6b4 c2c3 f5f4 d2f3 h4g4 e3e4 b4c3 b2c3 d7d5 h2h3