Jörg Oster schrieb:
Ich hatte ein ähnliches Problem, Abbruch mitten im bench, auch unter Windows.
Hier hat es geholfen, die Stackgröße von 4 auf 8 MB zu erhöhen.
Siehe <a class='ura' href='
https://github.com/joergoster/Stockfish/commit/8dbc4feafc783b4e01797437d1b60908992598ac'>https://github.com/joergoster/Stockfish/commit/8dbc4feafc783b4e01797437d1b60908992598ac</a>
Ich werde in den nächsten Tagen versuchen, in Bezug auf die M1 Plattform, hier noch etwas mehr in Erfahrung zu bringen.
8 hat bei mir nicht funktioniert. Siehe Text oben.
Ich habe von 8 auf 12 erhöht und jetzt funktioniert es.
Spielt es eine große Rolle ob es 4, 8 oder 12 sind?
src/thread_win32_osx.h
static const size_t TH_STACK_SIZE = 12 * 1024 * 1024;
make -j build COMP=clang ARCH=apple-siliconbench
Position: 1/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 12 nps 12000 tbhits 0 score cp 0 pv g5f6
info string Success! Mate in 2 found!
info time 2 multipv 1 depth 3 seldepth 3 nodes 478 nps 239000 tbhits 0 score mate 2 pv c5b3 a2b3 g5e3
bestmove c5b3 ponder a2b3
Position: 2/21
info string Starting Proof-Number Search ...
info string Success! Mate in 2 found!
info time 9 multipv 1 depth 3 seldepth 3 nodes 327 nps 36333 tbhits 0 score mate 2 pv e4f5 d6d5 g4d1
bestmove e4f5 ponder d6d5
Position: 3/21
info string Starting Alpha-Beta Search ...
info time 2 multipv 1 depth 1 seldepth 1 nodes 6 nps 3000 tbhits 0 score cp 0 pv c3c4
info string Success! Mate in 2 found!
info time 2 multipv 1 depth 3 seldepth 3 nodes 274 nps 137000 tbhits 0 score mate 2 pv e1h4 c1b1 b4c2
bestmove e1h4 ponder c1b1
Position: 4/21
info string Starting Proof-Number Search ...
info string Success! Mate in 2 found!
info time 3 multipv 1 depth 3 seldepth 3 nodes 313 nps 104333 tbhits 0 score mate 2 pv c1c2 e4f5 c2f5
bestmove c1c2 ponder e4f5
Position: 5/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 3 nps 3000 tbhits 0 score cp 0 pv g7e6
info string Success! Mate in 3 found!
info time 1 multipv 1 depth 3 seldepth 5 nodes 347 nps 347000 tbhits 0 score mate 3 pv h5e8 e5a1 g7h5 f6f5 h5g3
bestmove h5e8 ponder e5a1
Position: 6/21
info string Starting Proof-Number Search ...
info string Success! Mate in 3 found!
info time 3 multipv 1 depth 5 seldepth 5 nodes 299 nps 99666 tbhits 0 score mate 3 pv e5g6 h8g7 e7e8n g7g8 d7f6
bestmove e5g6 ponder h8g7
Position: 7/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 1 nps 1000 tbhits 0 score cp 0 pv e7g6
info time 1 multipv 1 depth 3 seldepth 3 nodes 414 nps 414000 tbhits 0 score cp 0 pv e7g6
info string Success! Mate in 3 found!
info time 2 multipv 1 depth 5 seldepth 5 nodes 824 nps 412000 tbhits 0 score mate 3 pv f6e5 b3a2 e5d4 b7a5 d4d3
bestmove f6e5 ponder b3a2
Position: 8/21
info string Starting Proof-Number Search ...
info string Success! Mate in 3 found!
info time 2 multipv 1 depth 5 seldepth 5 nodes 533 nps 266500 tbhits 0 score mate 3 pv b7b8q f5e5 f7f8r e5d6 c7c8n
bestmove b7b8q ponder f5e5
Position: 9/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 3 nps 3000 tbhits 0 score cp 0 pv d5d6
info string Success! Mate in 4 found!
info time 1 multipv 1 depth 3 seldepth 7 nodes 48 nps 48000 tbhits 0 score mate 4 pv f5e7 d6e7 d5c5 e7c5 h7e4 c3e4 d4d5
bestmove f5e7 ponder d6e7
Position: 10/21
info string Starting Proof-Number Search ...
info string Success! Mate in 4 found!
info time 4 multipv 1 depth 7 seldepth 7 nodes 7009 nps 1752250 tbhits 0 score mate 4 pv g6a6 c8b8 a4c6 f8f5 a6a7 a8a7 b1a1
bestmove g6a6 ponder c8b8
Position: 11/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 2 nps 2000 tbhits 0 score cp 0 pv d3c1
info time 1 multipv 1 depth 3 seldepth 7 nodes 68 nps 68000 tbhits 0 score cp 0 pv d3c1
info time 2 multipv 1 depth 5 seldepth 7 nodes 2871 nps 1435500 tbhits 0 score cp 0 pv d3c1
info string Success! Mate in 4 found!
info time 2 multipv 1 depth 7 seldepth 7 nodes 3342 nps 1671000 tbhits 0 score mate 4 pv d3b4 a2a1 c4a3 d4d3 c2b3 d3d2 b4c2
bestmove d3b4 ponder a2a1
Position: 12/21
info string Starting Proof-Number Search ...
info string Success! Mate in 4 found!
info time 2 multipv 1 depth 7 seldepth 7 nodes 3132 nps 1566000 tbhits 0 score mate 4 pv h3f4 f5h7 h1h7 h8h7 b2b1q h7h6 b1g6
bestmove h3f4 ponder f5h7
Position: 13/21
info string Starting Alpha-Beta Search ...
info time 2 multipv 1 depth 1 seldepth 1 nodes 2 nps 1000 tbhits 0 score cp 0 pv g4f6
info time 2 multipv 1 depth 3 seldepth 7 nodes 903 nps 451500 tbhits 0 score cp 0 pv g4f6
info string Success! Mate in 4 found!
info time 4 multipv 1 depth 5 seldepth 7 nodes 3909 nps 977250 tbhits 0 score mate 4 pv e1e7 d6e7 g3e4 e7h4 g4f6 h4f6 e4f6
bestmove e1e7 ponder d6e7
Position: 14/21
info string Starting Proof-Number Search ...
info string Success! Mate in 5 found!
info time 124 multipv 1 depth 9 seldepth 9 nodes 1105329 nps 8913943 tbhits 0 score mate 5 pv b2b4 c8c6 b5f5 c6h6 h5h6 d8g5 h3g5 b6b5 f5f1
bestmove b2b4 ponder c8c6
Position: 15/21
info string Starting Alpha-Beta Search ...
info time 2 multipv 1 depth 1 seldepth 1 nodes 6 nps 3000 tbhits 0 score cp 0 pv f2e3
info string Success! Mate in 5 found!
info time 5 multipv 1 depth 3 seldepth 9 nodes 10207 nps 2041400 tbhits 0 score mate 5 pv c6c5 d4e5 a5c4 e5d4 c2c3 d4d3 c4e5 g7e5 d7b5
bestmove c6c5 ponder d4e5
Position: 16/21
info string Starting Proof-Number Search ...
info string Success! Mate in 6 found!
info time 3 multipv 1 depth 11 seldepth 11 nodes 6250 nps 2083333 tbhits 0 score mate 6 pv g4h3 f1e2 h3f1 e2f1 f5h3 f1e2 h3f1 e2f1 h4f5 d2a2 f5g3
bestmove g4h3 ponder f1e2
Position: 17/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 5 nps 5000 tbhits 0 score cp 0 pv d7f6
info string Success! Mate in 6 found!
info time 6 multipv 1 depth 3 seldepth 11 nodes 15164 nps 2527333 tbhits 0 score mate 6 pv h3e3 c2e4 d7c5 d6e5 c5d3 c4d3 b8d7 e5d6 d7c5 d6e5 c5d3
bestmove h3e3 ponder c2e4
Position: 18/21
info string Starting Proof-Number Search ...
info string Success! Mate in 11 found!
info time 2 multipv 1 depth 21 seldepth 21 nodes 7231 nps 3615500 tbhits 0 score mate 11 pv f5h5 e5h5 g4g5 h5g5 h4g5 h6h5 e2h2 g6h4 f6h6 h5g4 h6h4 g4f3 h2f2 f3e3 h4g3 e3e4 g3f3 e4e5 f2e2 c4e3 e2e3
bestmove f5h5 ponder e5h5
Position: 19/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 4 nps 4000 tbhits 0 score cp 0 pv e8f7
info string Success! Mate in 12 found!
info time 15 multipv 1 depth 3 seldepth 23 nodes 38210 nps 2547333 tbhits 0 score mate 12 pv f8e6 d7e6 c7e6 f7e6 e5f6 g7f6 f2f4 g5f4 e8f8 f6e5 f8f4 e5d5 f4g5 e3e5 e2e4 g2e4 g5d2 b2d2 b1a2 d2a2 b4d4 c5d4 c3c4
bestmove f8e6 ponder d7e6
Position: 20/21
info depth 0 score mate 0
bestmove 0000
Position: 21/21
info depth 0 score cp 0
bestmove 0000
===========================
Total time (ms) : 176
Nodes searched : 1203226
Nodes/second :
6836511make -j profile-build COMP=clang ARCH=apple-siliconMatefish 3.0 64 POPCNT by the Stockfish developers and J. Oster
bench
Position: 1/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 12 nps 12000 tbhits 0 score cp 0 pv g5f6
info string Success! Mate in 2 found!
info time 2 multipv 1 depth 3 seldepth 3 nodes 478 nps 239000 tbhits 0 score mate 2 pv c5b3 a2b3 g5e3
bestmove c5b3 ponder a2b3
Position: 2/21
info string Starting Proof-Number Search ...
info string Success! Mate in 2 found!
info time 6 multipv 1 depth 3 seldepth 3 nodes 327 nps 54500 tbhits 0 score mate 2 pv e4f5 d6d5 g4d1
bestmove e4f5 ponder d6d5
Position: 3/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 6 nps 6000 tbhits 0 score cp 0 pv c3c4
info string Success! Mate in 2 found!
info time 1 multipv 1 depth 3 seldepth 3 nodes 274 nps 274000 tbhits 0 score mate 2 pv e1h4 c1b1 b4c2
bestmove e1h4 ponder c1b1
Position: 4/21
info string Starting Proof-Number Search ...
info string Success! Mate in 2 found!
info time 2 multipv 1 depth 3 seldepth 3 nodes 313 nps 156500 tbhits 0 score mate 2 pv c1c2 e4f5 c2f5
bestmove c1c2 ponder e4f5
Position: 5/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 3 nps 3000 tbhits 0 score cp 0 pv g7e6
info string Success! Mate in 3 found!
info time 1 multipv 1 depth 3 seldepth 5 nodes 347 nps 347000 tbhits 0 score mate 3 pv h5e8 e5a1 g7h5 f6f5 h5g3
bestmove h5e8 ponder e5a1
Position: 6/21
info string Starting Proof-Number Search ...
info string Success! Mate in 3 found!
info time 2 multipv 1 depth 5 seldepth 5 nodes 299 nps 149500 tbhits 0 score mate 3 pv e5g6 h8g7 e7e8n g7g8 d7f6
bestmove e5g6 ponder h8g7
Position: 7/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 1 nps 1000 tbhits 0 score cp 0 pv e7g6
info time 1 multipv 1 depth 3 seldepth 3 nodes 414 nps 414000 tbhits 0 score cp 0 pv e7g6
info string Success! Mate in 3 found!
info time 1 multipv 1 depth 5 seldepth 5 nodes 824 nps 824000 tbhits 0 score mate 3 pv f6e5 b3a2 e5d4 b7a5 d4d3
bestmove f6e5 ponder b3a2
Position: 8/21
info string Starting Proof-Number Search ...
info string Success! Mate in 3 found!
info time 2 multipv 1 depth 5 seldepth 5 nodes 533 nps 266500 tbhits 0 score mate 3 pv b7b8q f5e5 f7f8r e5d6 c7c8n
bestmove b7b8q ponder f5e5
Position: 9/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 3 nps 3000 tbhits 0 score cp 0 pv d5d6
info string Success! Mate in 4 found!
info time 1 multipv 1 depth 3 seldepth 7 nodes 48 nps 48000 tbhits 0 score mate 4 pv f5e7 d6e7 d5c5 e7c5 h7e4 c3e4 d4d5
bestmove f5e7 ponder d6e7
Position: 10/21
info string Starting Proof-Number Search ...
info string Success! Mate in 4 found!
info time 3 multipv 1 depth 7 seldepth 7 nodes 7009 nps 2336333 tbhits 0 score mate 4 pv g6a6 c8b8 a4c6 f8f5 a6a7 a8a7 b1a1
bestmove g6a6 ponder c8b8
Position: 11/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 2 nps 2000 tbhits 0 score cp 0 pv d3c1
info time 1 multipv 1 depth 3 seldepth 7 nodes 68 nps 68000 tbhits 0 score cp 0 pv d3c1
info time 2 multipv 1 depth 5 seldepth 7 nodes 2871 nps 1435500 tbhits 0 score cp 0 pv d3c1
info string Success! Mate in 4 found!
info time 2 multipv 1 depth 7 seldepth 7 nodes 3342 nps 1671000 tbhits 0 score mate 4 pv d3b4 a2a1 c4a3 d4d3 c2b3 d3d2 b4c2
bestmove d3b4 ponder a2a1
Position: 12/21
info string Starting Proof-Number Search ...
info string Success! Mate in 4 found!
info time 2 multipv 1 depth 7 seldepth 7 nodes 3132 nps 1566000 tbhits 0 score mate 4 pv h3f4 f5h7 h1h7 h8h7 b2b1q h7h6 b1g6
bestmove h3f4 ponder f5h7
Position: 13/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 2 nps 2000 tbhits 0 score cp 0 pv g4f6
info time 1 multipv 1 depth 3 seldepth 7 nodes 903 nps 903000 tbhits 0 score cp 0 pv g4f6
info string Success! Mate in 4 found!
info time 2 multipv 1 depth 5 seldepth 7 nodes 3909 nps 1954500 tbhits 0 score mate 4 pv e1e7 d6e7 g3e4 e7h4 g4f6 h4f6 e4f6
bestmove e1e7 ponder d6e7
Position: 14/21
info string Starting Proof-Number Search ...
info string Success! Mate in 5 found!
info time 111 multipv 1 depth 9 seldepth 9 nodes 1105329 nps 9957918 tbhits 0 score mate 5 pv b2b4 c8c6 b5f5 c6h6 h5h6 d8g5 h3g5 b6b5 f5f1
bestmove b2b4 ponder c8c6
Position: 15/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 6 nps 6000 tbhits 0 score cp 0 pv f2e3
info string Success! Mate in 5 found!
info time 5 multipv 1 depth 3 seldepth 9 nodes 10207 nps 2041400 tbhits 0 score mate 5 pv c6c5 d4e5 a5c4 e5d4 c2c3 d4d3 c4e5 g7e5 d7b5
bestmove c6c5 ponder d4e5
Position: 16/21
info string Starting Proof-Number Search ...
info string Success! Mate in 6 found!
info time 2 multipv 1 depth 11 seldepth 11 nodes 6250 nps 3125000 tbhits 0 score mate 6 pv g4h3 f1e2 h3f1 e2f1 f5h3 f1e2 h3f1 e2f1 h4f5 d2a2 f5g3
bestmove g4h3 ponder f1e2
Position: 17/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 5 nps 5000 tbhits 0 score cp 0 pv d7f6
info string Success! Mate in 6 found!
info time 6 multipv 1 depth 3 seldepth 11 nodes 15164 nps 2527333 tbhits 0 score mate 6 pv h3e3 c2e4 d7c5 d6e5 c5d3 c4d3 b8d7 e5d6 d7c5 d6e5 c5d3
bestmove h3e3 ponder c2e4
Position: 18/21
info string Starting Proof-Number Search ...
info string Success! Mate in 11 found!
info time 3 multipv 1 depth 21 seldepth 21 nodes 7231 nps 2410333 tbhits 0 score mate 11 pv f5h5 e5h5 g4g5 h5g5 h4g5 h6h5 e2h2 g6h4 f6h6 h5g4 h6h4 g4f3 h2f2 f3e3 h4g3 e3e4 g3f3 e4e5 f2e2 c4e3 e2e3
bestmove f5h5 ponder e5h5
Position: 19/21
info string Starting Alpha-Beta Search ...
info time 1 multipv 1 depth 1 seldepth 1 nodes 4 nps 4000 tbhits 0 score cp 0 pv e8f7
info string Success! Mate in 12 found!
info time 13 multipv 1 depth 3 seldepth 23 nodes 38210 nps 2939230 tbhits 0 score mate 12 pv f8e6 d7e6 c7e6 f7e6 e5f6 g7f6 f2f4 g5f4 e8f8 f6e5 f8f4 e5d5 f4g5 e3e5 e2e4 g2e4 g5d2 b2d2 b1a2 d2a2 b4d4 c5d4 c3c4
bestmove f8e6 ponder d7e6
Position: 20/21
info depth 0 score mate 0
bestmove 0000
Position: 21/21
info depth 0 score cp 0
bestmove 0000
===========================
Total time (ms) : 150
Nodes searched : 1203226
Nodes/second :
8021506