Compare between Matefish 1.0 and Matefish 2.0

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

Moderators: hgm, Dann Corbit, Harvey Williamson

chessica
Posts: 572
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Compare between Matefish 1.0 and Matefish 2.0

Post by chessica »

[fen]8/8/8/8/2P5/2PP1r2/1K2Q3/6k1 w - - 0 0[/fen]

Matefish 1.0 64 POPCNT by T. Romstad, M. Costalba, J. Kiiski, G. Linscott

info string Success! Mate in 7 found!
info depth 11 seldepth 13 multipv 1 score mate 7 nodes 87806708 nps 1922003 hashfull 0 tbhits 0 time 45685 pv e2f3 g1h2 c4c5 h2g1 f3e3 g1f1 c5c6 f1g2 c6c7 g2f1 c7c8q f1g2 c8h3
bestmove e2f3 ponder g1h2


Matefish 021022 64 by the Stockfish developers and J. Oster

info string Success! Mate in 7 found!
info depth 11 seldepth 13 multipv 1 score mate 7 nodes 17113899 nps 1555384 tbhits 0 time 11003 pv e2f3 g1h2 c4c5 h2g1 c5c6 g1h2 c6c7 h2g1 c7c8q g1h2 f3h3 h2g1 c8c5
bestmove e2f3 ponder g1h2

The Matefish 2.0 has significant problems with the Arena GUI. According to the programmer, the program should be started in the console. With this it worked. Thanks
Jouni
Posts: 3227
Joined: Wed Mar 08, 2006 8:15 pm

Re: Compare between Matefish 1.0 and Matefish 2.0

Post by Jouni »

SF15 is 1000x faster: score mate 7 nodes 94912 nps 6327466 time 15. I pass Matefish.
Jouni
peter
Posts: 3167
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Compare between Matefish 1.0 and Matefish 2.0

Post by peter »

chessica wrote: Mon Oct 03, 2022 7:30 pm The Matefish 2.0 has significant problems with the Arena GUI.
No problems with Adjust Level- Mate Search:
(here 7):

FEN: [fen]8/8/8/8/2P5/2PP1r2/1K2Q3/6k1 w - - 0 115[/fen]

Matefish:
1/1 00:00 2 2k 0,00 Qe2-g2+
3/3 00:00 15k 2 452k 0,00 Qe2-g2+
5/5 00:00 118k 4 734k 0,00 Qe2-g2+
7/7 00:00 654k 5 497k 0,00 Qe2-g2+
9/9 00:00 3 480k 5 761k 0,00 Qe2-g2+
11/11 00:03 18 462k 5 872k 0,00 Qe2-g2+
Success! Mate in 7 found!
11/13 00:09 57 771k 5 791k +M7 Qe2xf3 Kg1-h2 c4-c5 Kh2-g1 c5-c6 Kg1-h2 c6-c7 Kh2-g1 c7-c8Q Kg1-h2 Qf3-h3+ Kh2-g1 Qc8-c5+

4 threads of 2x2GHz CPU,
regards
Peter.
chessica
Posts: 572
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Re: Compare between Matefish 1.0 and Matefish 2.0

Post by chessica »

Hello Peter, can you please post the values of the bench command in consol mode? Thx
peter
Posts: 3167
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Compare between Matefish 1.0 and Matefish 2.0

Post by peter »

chessica wrote: Mon Oct 03, 2022 10:55 pm Hello Peter, can you please post the values of the bench command in consol mode? Thx
Hi!

Code: Select all

Matefish 2.0 64 BMI2 by the Stockfish developers and J. Oster
bench

Position: 1/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 12 nps 6000 tbhits 0 time 2 pv g5f5
info string Success! Mate in 2 found!
info depth 3 seldepth 3 multipv 1 score mate 2 nodes 389 nps 97250 tbhits 0 time 4 pv c5b3 a3b3 g5e7
bestmove c5b3 ponder a3b3

Position: 2/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 6 nps 3000 tbhits 0 time 2 pv g4e6
info string Success! Mate in 2 found!
info depth 3 seldepth 3 multipv 1 score mate 2 nodes 229 nps 76333 tbhits 0 time 3 pv e4f5 d6d5 g4d1
bestmove e4f5 ponder d6d5

Position: 3/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 6 nps 3000 tbhits 0 time 2 pv b4c2
info string Success! Mate in 2 found!
info depth 3 seldepth 3 multipv 1 score mate 2 nodes 638 nps 127600 tbhits 0 time 5 pv e1h4 e7d5 b4c6
bestmove e1h4 ponder e7d5

Position: 4/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 7 nps 3500 tbhits 0 time 2 pv c1c6
info string Success! Mate in 2 found!
info depth 3 seldepth 3 multipv 1 score mate 2 nodes 136 nps 45333 tbhits 0 time 3 pv c1c2 e4f5 c2f5
bestmove c1c2 ponder e4f5

Position: 5/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 3 nps 1500 tbhits 0 time 2 pv g7f5
info string Success! Mate in 3 found!
info depth 3 seldepth 5 multipv 1 score mate 3 nodes 185 nps 92500 tbhits 0 time 2 pv h5e8 e5a1 g7h5 f6f5 h5g3
bestmove h5e8 ponder e5a1

Position: 6/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 4 nps 2000 tbhits 0 time 2 pv e5f7
info string Success! Mate in 3 found!
info depth 3 seldepth 5 multipv 1 score mate 3 nodes 23 nps 7666 tbhits 0 time 3 pv e5g6 h8g7 e7e8n g7g8 d7f6
bestmove e5g6 ponder h8g7

Position: 7/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 1 nps 500 tbhits 0 time 2 pv e7g6
info depth 3 seldepth 3 multipv 1 score cp 0 nodes 134 nps 44666 tbhits 0 time 3 pv e7g6
info string Success! Mate in 3 found!
info depth 5 seldepth 5 multipv 1 score mate 3 nodes 2122 nps 235777 tbhits 0 time 9 pv f6e5 b3a2 e5d4 b7a5 d4d3
bestmove f6e5 ponder b3a2

Position: 8/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 2 nps 1000 tbhits 0 time 2 pv f7f8q
info depth 3 seldepth 3 multipv 1 score cp 0 nodes 179 nps 89500 tbhits 0 time 2 pv f7f8q
info string Success! Mate in 3 found!
info depth 5 seldepth 5 multipv 1 score mate 3 nodes 991 nps 165166 tbhits 0 time 6 pv b7b8q f5e5 f7f8r e5d6 c7c8n
bestmove b7b8q ponder f5e5

Position: 9/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 3 nps 1500 tbhits 0 time 2 pv d5d6
info string Success! Mate in 4 found!
info depth 3 seldepth 7 multipv 1 score mate 4 nodes 41 nps 5857 tbhits 0 time 7 pv f5e7 d6e7 d5c5 e7c5 h7e4 c3e4 d4d5
bestmove f5e7 ponder d6e7

Position: 10/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 0 nps 0 tbhits 0 time 1 pv b1b7
info depth 3 seldepth 3 multipv 1 score cp 0 nodes 523 nps 261500 tbhits 0 time 2 pv b1b7
info string Success! Mate in 4 found!
info depth 5 seldepth 7 multipv 1 score mate 4 nodes 2129 nps 304142 tbhits 0 time 7 pv g6a6 c8b8 a4c6 b7c6 a6c6 b8b7 c6b7
bestmove g6a6 ponder c8b8

Position: 11/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 2 nps 1000 tbhits 0 time 2 pv d3c1
info depth 3 seldepth 3 multipv 1 score cp 0 nodes 68 nps 34000 tbhits 0 time 2 pv d3c1
info depth 5 seldepth 5 multipv 1 score cp 0 nodes 1086 nps 271500 tbhits 0 time 4 pv d3c1
info string Success! Mate in 4 found!
info depth 7 seldepth 7 multipv 1 score mate 4 nodes 1570 nps 224285 tbhits 0 time 7 pv d3b4 a2a1 c4a3 d4d3 c2b3 d3d2 b4c2
bestmove d3b4 ponder a2a1

Position: 12/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 4 nps 2000 tbhits 0 time 2 pv h3f4
info depth 3 seldepth 3 multipv 1 score cp 0 nodes 204 nps 102000 tbhits 0 time 2 pv h3f4
info depth 5 seldepth 5 multipv 1 score cp 0 nodes 1171 nps 292750 tbhits 0 time 4 pv h3f4
info string Success! Mate in 4 found!
info depth 7 seldepth 7 multipv 1 score mate 4 nodes 1908 nps 238500 tbhits 0 time 8 pv h3f4 f5h7 f4h5 h7c2 d1c2 h8h7 h5f4
bestmove h3f4 ponder f5h7

Position: 13/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 2 nps 1000 tbhits 0 time 2 pv g4f6
info depth 3 seldepth 3 multipv 1 score cp 0 nodes 847 nps 282333 tbhits 0 time 3 pv g4f6
info depth 5 seldepth 5 multipv 1 score cp 0 nodes 5707 nps 634111 tbhits 0 time 9 pv g4f6
info string Success! Mate in 4 found!
info depth 7 seldepth 7 multipv 1 score mate 4 nodes 13914 nps 818470 tbhits 0 time 17 pv e1e7 d6e7 g3e4 e7h4 g4f6 h4f6 e4f6
bestmove e1e7 ponder d6e7

Position: 14/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 3 nps 1500 tbhits 0 time 2 pv e2h2
info depth 3 seldepth 3 multipv 1 score cp 0 nodes 544 nps 136000 tbhits 0 time 4 pv e2h2
info depth 5 seldepth 5 multipv 1 score cp 0 nodes 2631 nps 375857 tbhits 0 time 7 pv e2h2
info depth 7 seldepth 7 multipv 1 score cp 0 nodes 21601 nps 1080050 tbhits 0 time 20 pv e2h2
info string Success! Mate in 5 found!
info depth 9 seldepth 9 multipv 1 score mate 5 nodes 268709 nps 1779529 tbhits 0 time 151 pv b2b4 c8c5 b4c5 a3a2 c5c6 b7c6 b5f5 a8c7 f5f1
bestmove b2b4 ponder c8c5

Position: 15/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 6 nps 3000 tbhits 0 time 2 pv f2e3
info string Success! Mate in 5 found!
info depth 3 seldepth 9 multipv 1 score mate 5 nodes 37418 nps 1439153 tbhits 0 time 26 pv c6c5 b6c5 a5c6 d4c4 d5e3 c5e3 e5c5 e3c5 f2c5
bestmove c6c5 ponder b6c5

Position: 16/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 4 nps 2000 tbhits 0 time 2 pv g4g2
info depth 3 seldepth 3 multipv 1 score cp 0 nodes 3789 nps 757800 tbhits 0 time 5 pv g4g2
info depth 5 seldepth 5 multipv 1 score cp 0 nodes 39269 nps 1784954 tbhits 0 time 22 pv g4g2
info depth 7 seldepth 7 multipv 1 score cp 0 nodes 362086 nps 2155273 tbhits 0 time 168 pv g4g2
info depth 9 currmove g4d4 currmovenumber 15
info depth 9 currmove g4f4 currmovenumber 16
info depth 9 currmove g4g5 currmovenumber 17
info depth 9 currmove g4h5 currmovenumber 18
info depth 9 currmove g4g6 currmovenumber 19
info depth 9 currmove g4g7 currmovenumber 20
info depth 9 currmove g4g8 currmovenumber 21
info depth 9 currmove f5g6 currmovenumber 22
info depth 9 currmove f5d7 currmovenumber 23
info depth 9 currmove f5h7 currmovenumber 24
info depth 9 currmove f5c8 currmovenumber 25
info depth 9 currmove h1h2 currmovenumber 26
info depth 9 currmove h4g2 currmovenumber 27
info depth 9 seldepth 9 multipv 1 score cp 0 nodes 3181083 nps 2152288 tbhits 0 time 1478 pv g4g2
info depth 11 currmove g4g2 currmovenumber 1
info depth 11 currmove g4g1 currmovenumber 2
info depth 11 currmove f5d3 currmovenumber 3
info depth 11 currmove g4h3 currmovenumber 4
info string Success! Mate in 6 found!
info depth 11 seldepth 11 multipv 1 score mate 6 nodes 3766571 nps 2157257 tbhits 0 time 1746 pv g4h3 f1e2 h3f1 e2f1 f5h3 f1e2 h3f1 e2f1 h4f5 d2a2 f5g3
bestmove g4h3 ponder f1e2

Position: 17/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 5 nps 2500 tbhits 0 time 2 pv d7f6
info string Success! Mate in 6 found!
info depth 3 seldepth 11 multipv 1 score mate 6 nodes 26830 nps 1412105 tbhits 0 time 19 pv h3e3 f7e6 d7f6 d6e5 f6g4 h5g4 b8d7 e5d6 e4e5 d6d5 d7b8
bestmove h3e3 ponder f7e6

Position: 18/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 5 nps 2500 tbhits 0 time 2 pv f6g6
info string Success! Mate in 11 found!
info depth 3 seldepth 21 multipv 1 score mate 11 nodes 3807 nps 423000 tbhits 0 time 9 pv f5h5 e5h5 g4g5 h5g5 h4g5 h6h5 e2h2 h5g4 h2g2 g4h5 f6f3 h5h4 f3g3 h4h5 g2h2 d7h3 g3h3 g6h4 h3h4 h5g6 h4h6
bestmove f5h5 ponder e5h5

Position: 19/21
info depth 1 seldepth 1 multipv 1 score cp 0 nodes 4 nps 2000 tbhits 0 time 2 pv e8f7
info string Success! Mate in 12 found!
info depth 3 seldepth 23 multipv 1 score mate 12 nodes 195224 nps 1600196 tbhits 0 time 122 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) : 2283
Nodes searched  : 4322834
Nodes/second    : 1893488
Peter.
chessica
Posts: 572
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Re: Compare between Matefish 1.0 and Matefish 2.0

Post by chessica »

hi peter, here are my determined values of the self compiled variants from Matefish 2.0 of the x64:

1core

original sources compiled by myself
==================================
Total time (ms) : 3631
Nodes searched : 4322834
Nodes/second : 1190535

MSVC optimized
===========================
Total time (ms) : 3573
Nodes searched : 4322834
Nodes/second : 1209861

clang++ optimized
===========================
Total time (ms) : 3266
Nodes searched : 4322834
Nodes/second : 1323586
Joerg Oster
Posts: 931
Joined: Fri Mar 10, 2006 4:29 pm
Location: Germany

Re: Compare between Matefish 1.0 and Matefish 2.0

Post by Joerg Oster »

chessica wrote: Mon Oct 03, 2022 7:30 pm The Matefish 2.0 has significant problems with the Arena GUI. According to the programmer, the program should be started in the console. With this it worked. Thanks
That's not exactly true.
Matefish 2.0 works just fine under Arena.
Jörg Oster
chessica
Posts: 572
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Re: Compare between Matefish 1.0 and Matefish 2.0

Post by chessica »

thanks, this ics the right answer from here: forum3/viewtopic.php?f=2&t=80778&p=935270#p935270

"Next, select Level menu, select Adjust, select Mate search and set to Mate in x Moves.
Click OK button."
chessica
Posts: 572
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Re: Compare between Matefish 1.0 and Matefish 2.0

Post by chessica »

use the gear wheel: this is working :)

154891*1*Start calc, move no: 0
154891 >first : position fen 8/8/8/8/2P5/2PP1r2/1K2Q3/6k1 w - - 0 115
154891 >first : go mate 7
154891 <first : info depth 1 seldepth 1 multipv 1 score cp 0 nodes 34 nps 17000 tbhits 0 time 2 pv e2g2
154906 <first : info depth 3 seldepth 3 multipv 1 score cp 0 nodes 9713 nps 2428250 tbhits 0 time 4 pv e2g2
154906 <first : info depth 5 seldepth 5 multipv 1 score cp 0 nodes 110772 nps 5830105 tbhits 0 time 19 pv e2g2
154984 <first : info depth 7 seldepth 7 multipv 1 score cp 0 nodes 647815 nps 6610357 tbhits 0 time 98 pv e2g2
155500 <first : info depth 9 seldepth 9 multipv 1 score cp 0 nodes 3345777 nps 6534720 tbhits 0 time 512 pv e2g2
157453 <first : info depth 11 seldepth 11 multipv 1 score cp 0 nodes 18251016 nps 7115405 tbhits 0 time 2565 pv e2g2
162781 <first : info string Success! Mate in 7 found!
162781 <first : info depth 11 seldepth 13 multipv 1 score mate 7 nodes 57950733 nps 7342041 tbhits 0 time 7893 pv e2f3 g1h2 c4c5 h2g1 c5c6 g1h2 c6c7 h2g1 c7c8q g1h2 f3h3 h2g1 c8c5
162797 <first : bestmove e2f3 ponder g1h2
162797*1*Found move:e2f3

Now use the "analyse" button, irritation

186734**Dauer Start Motoren für Analyse:0 ms
186750 >first : isready
186750 <first : readyok
186766 >first : position fen 8/8/8/8/2P5/2PP1r2/1K2Q3/6k1 w - - 0 115
186766 >first : go infinite
186766**Dauer Start Analyse:32
186812 <first : info depth 1 seldepth 1 multipv 1 score cp 0 nodes 14 nps 14000 tbhits 0 time 1 pv e2g2
203203 >first : stop
203203 <first : info string Failure! No mate found!
203203 <first : bestmove e2g2
mhouppin
Posts: 115
Joined: Wed Feb 12, 2020 5:00 pm
Full name: Morgan Houppin

Re: Compare between Matefish 1.0 and Matefish 2.0

Post by mhouppin »

Jouni wrote: Mon Oct 03, 2022 9:33 pm SF15 is 1000x faster: score mate 7 nodes 94912 nps 6327466 time 15. I pass Matefish.
Stash is 35 times faster than SF :P

Code: Select all

position fen 8/8/8/8/2P5/2PP1r2/1K2Q3/6k1 w - -
go mate 7
info depth 1 seldepth 2 multipv 1 score cp 11336 nodes 36 nps 36000 hashfull 0 time 0 pv e2f3
info depth 2 seldepth 3 multipv 1 score cp 11326 nodes 73 nps 73000 hashfull 0 time 0 pv e2f3 g1h2
info depth 3 seldepth 4 multipv 1 score cp 11326 nodes 121 nps 121000 hashfull 0 time 0 pv e2f3 g1h2 d3d4
info depth 4 seldepth 5 multipv 1 score cp 11336 nodes 169 nps 169000 hashfull 0 time 0 pv e2f3 g1h2 d3d4 h2g1
info depth 5 seldepth 6 multipv 1 score cp 11336 nodes 302 nps 302000 hashfull 0 time 0 pv e2f3 g1h2 d3d4 h2g1 c4c5
info depth 6 seldepth 7 multipv 1 score cp 11328 nodes 557 nps 557000 hashfull 0 time 0 pv e2f3 g1h2 d3d4 h2g1 f3e2 g1h1
info depth 7 seldepth 10 multipv 1 score cp 11338 nodes 915 nps 915000 hashfull 0 time 0 pv e2f3 g1h2 d3d4 h2g1 f3h3 g1f2 c4c5
info depth 8 seldepth 9 multipv 1 score cp 11346 nodes 1566 nps 1566000 hashfull 0 time 1 pv e2f3 g1h2 b2c1 h2g1 c4c5 g1h2 c3c4 h2g1
info depth 9 seldepth 10 multipv 1 score cp 12320 nodes 1892 nps 1892000 hashfull 0 time 1 pv e2f3 g1h2 c4c5 h2g1 c5c6 g1h2 c6c7 h2g1 c7c8q
info depth 10 seldepth 11 multipv 1 score cp 12310 nodes 2086 nps 2086000 hashfull 0 time 1 pv e2f3 g1h2 c4c5 h2g1 c5c6 g1h2 c6c7 h2g1 c7c8q g1h2
info depth 11 seldepth 14 multipv 1 score cp 12320 nodes 2454 nps 2454000 hashfull 0 time 1 pv e2f3 g1h2 c4c5 h2g1 c5c6 g1h2 c6c7 h2g1 f3g3 g1h1 g3h3 h1g1 c7c8q
info depth 12 seldepth 15 multipv 1 score mate 7 nodes 2658 nps 2658000 hashfull 0 time 1 pv e2f3 g1h2 c4c5 h2g1 c5c6 g1h2 c6c7 h2g1 c7c8q g1h2 c8h3 h2g1
bestmove e2f3 ponder g1h2