Some engines search these positions slowly

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Dann Corbit
Posts: 12541
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Some engines search these positions slowly

Post by Dann Corbit »

I do not know what makes them slow.
Not all positions will be slow with all engines.
Try searching to depth 36 the 100 positions in the attached file.
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.
Uri Blass
Posts: 10297
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Some engines search these positions slowly

Post by Uri Blass »

I think many engines will practically never get depth 36 in many positions and stockfish get depth 36 in a few minutes at least in the first 2 positions.

position number 3 is harder but stockfish still can finish depth 32 with less than 1,000,000,000 nodes on my hardware(I used 3 cores and 1024 mbytes and it may not be deterministic).

[d]3q1rk1/3bppb1/3p1np1/ppr1n1Bp/3NP1PP/1BN2P2/PPPQ4/1K1R3R w - - 0 1

Stockfish_18091012_x64_modern:
1/1 00:00 425 213k +0.56 1.Bxf6 exf6 2.gxh5 gxh5
2/2 00:00 554 277k +0.56 1.Bxf6 exf6
3/3 00:00 709 355k +0.60 1.gxh5 Nxh5 2.f4
4/4 00:00 1k 535k +0.20 1.gxh5 Nxh5 2.f4 b4
5/6 00:00 2k 624k +0.85 1.gxh5 a4 2.h6 axb3 3.hxg7 bxa2+ 4.Nxa2 Kxg7
6/7 00:00 3k 899k +0.85 1.gxh5 a4 2.h6 axb3 3.hxg7 bxa2+ 4.Nxa2
7/7 00:00 4k 1,019k +0.83 1.gxh5 Nxh5 2.Nd5 Re8 3.f4 Ng4 4.f5
8/8 00:00 10k 1,746k +0.85 1.Bxf6 Bxf6 2.gxh5 a4 3.Bd5 b4 4.hxg6 bxc3
9/12 00:00 31k 2,069k +1.11 1.Bxf6 exf6 2.gxh5 a4 3.h6 axb3 4.axb3 b4 5.hxg7 Kxg7
10/13 00:00 48k 2,088k +0.53 1.Bxf6 Bxf6 2.N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 94,642k 2,869k +0.48 1.Bxf6
26/47 00:33 95,169k 2,869k +0.51 1.Bxf6 Bxf6 2.gxh5 a4 3.Bd5 e6 4.hxg6 exd5 5.h5 Bg5 6.f4 Nc4 7.Qd3 Bxf4 8.Nxd5 Ne5 9.Qf1 Bg5 10.Qg2 Bg4 11.Rdg1 b4 12.Nxb4 Be3 13.gxf7+ Rxf7 14.Nbc6 Qg5 15.Nxe5 dxe5 16.Nf5 Bxg1
27/43- 00:37 106,794k 2,870k +0.42 1.Bxf6 Bxf6
27/46+ 00:41 118,951k 2,890k +0.51 1.Bxf6
27/46- 00:46 135,734k 2,901k +0.33 1.Bxf6 Bxf6
27/46+ 00:49 142,796k 2,904k +0.48 1.Bxf6
27/53 01:04 187,324k 2,920k +0.38 1.gxh5 Nxh5 2.Nd5 Re8 3.a3 Nc4 4.Qf2 Kh7 5.Rhe1 Bc8 6.c3 Qd7 7.Bc1 e6 8.Ne3 Ba6 9.f4 b4 10.cxb4 axb4 11.axb4 Rc7 12.Nec2 e5 13.fxe5 Nxe5 14.Rg1 Ng4
28/38+ 01:09 203,438k 2,919k +0.47 1.gxh5
28/38+ 01:11 208,175k 2,917k +0.56 1.gxh5
28/51+ 01:20 235,071k 2,903k +0.69 1.gxh5
28/51 01:24 244,029k 2,901k +0.65 1.gxh5 Nxh5 2.Nd5 Re8 3.a3 Nc4 4.Bxc4 bxc4 5.Ka2 Kh7 6.Be3 e6 7.Nc3 Rc8 8.Nde2 d5 9.Nf4 Nxf4 10.Bxf4 d4 11.e5 dxc3 12.Qxd7 Qxd7 13.Rxd7 cxb2 14.Kxb2 c3+ 15.Ka2 Red8 16.Rxd8 Rxd8 17.Kb3 Rc8 18.h5 a4+ 19.Kb4
29/42+ 01:27 254,600k 2,898k +0.73 1.gxh5
29/45+ 01:34 274,009k 2,892k +0.82 1.gxh5
29/47- 01:44 301,253k 2,887k +0.56 1.gxh5 Nxh5
29/47+ 01:47 309,454k 2,891k +0.75 1.gxh5
29/47 01:56 336,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g5 Re3 21.Be4+ Kg8 22.Rg1 Kf8
32/50 05:36 962,019k 2,861k +0.34 1.gxh5 a4 2.Bxf6 Bxf6 3.Bd5 e6 4.hxg6 exd5 5.h5 Bg5 6.f4 Nc4 7.Qd3 Bxf4 8.Nxd5 Ne5 9.Qf1 Bg5 10.Qg2 Bg4 11.Rdf1 b4 12.Nxb4 fxg6 13.hxg6 Rxf1+ 14.Rxf1 Qe8 15.Nd3 Nxd3 16.Qxg4 Nf4 17.e5 Rxe5 18.Nf3
33/51+ 05:40 974,360k 2,861k +0.43 1.gxh5
33/58+ 06:10 1,060,674k 2,862k +0.52 1.Bxf6
33/59- 06:23 1,097,785k 2,864k +0.26 1.Bxf6 Bxf6
Uri Blass
Posts: 10297
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Some engines search these positions slowly

Post by Uri Blass »

stockfish get depth 36 without too much problem also in the third position.

Here is the rest of the analysis

33/60+ 08:53 1,528,698k 2,865k +0.45 1.gxh5
33/60 10:26 1,772,461k 2,828k +0.12 1.gxh5 a4 2.Bxf6 Bxf6 3.hxg6 axb3 4.h5 bxc2+ 5.Nxc2 fxg6 6.hxg6 Bg7 7.Qh2 Rxf3 8.Qh7+ Kf8 9.Qh8+ Bxh8 10.Rxh8+ Kg7 11.Rxd8 Kxg6 12.Nb4 Kf7 13.Rh8 Bc6 14.Rh7+ Kf8 15.Ncd5 Rf2 16.Rh8+ Kf7 17.Rg1 Bxd5 18.Rh7+ Kf8 19.exd5 Ke8 20.b3 Kd7 21.a3 Rf7 22.Rxf7
34/54+ 11:04 1,887,405k 2,842k +0.20 1.gxh5
34/57+ 11:08 1,901,407k 2,844k +0.29 1.gxh5
34/62+ 11:38 1,980,818k 2,837k +0.43 1.gxh5
34/62 13:17 2,294,254k 2,876k +0.11 1.gxh5 a4 2.Bxf6 Bxf6 3.Bd5 e6 4.hxg6 exd5 5.h5 Bg5 6.f4 Nc4 7.Qd3 Bxf4 8.Nxd5 Ne5 9.Q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