Gentelmen, check your engines.

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

amanjpro
Posts: 883
Joined: Sat Mar 13, 2021 1:47 am
Full name: Amanj Sherwany

Re: Gentelmen, check your engines.

Post by amanjpro »

AndrewGrant wrote: Sun Sep 05, 2021 6:36 am Ethereal 13.35 NNUE
info depth 35 seldepth 24 multipv 1 score mate 5 time 2406 nodes 7137572 nps 2965000 tbhits 0 hashfull 577 pv e1e2 f1e2 h5g7 d6b5 a7b7 a4c5 b4c5 f6e5 d8e8
What a speed... What is the CPU?
AndrewGrant
Posts: 1750
Joined: Tue Apr 19, 2016 6:08 am
Location: U.S.A
Full name: Andrew Grant

Re: Gentelmen, check your engines.

Post by AndrewGrant »

amanjpro wrote: Sun Sep 05, 2021 9:41 am
AndrewGrant wrote: Sun Sep 05, 2021 6:36 am Ethereal 13.35 NNUE
info depth 35 seldepth 24 multipv 1 score mate 5 time 2406 nodes 7137572 nps 2965000 tbhits 0 hashfull 577 pv e1e2 f1e2 h5g7 d6b5 a7b7 a4c5 b4c5 f6e5 d8e8
What a speed... What is the CPU?
Just a single thread of a Ryzen 2700x I believe. Nothing too fancy. These endgame positions tend to have high NPS. I imagine Stockfish is in the same realm.
#WeAreAllDraude #JusticeForDraude #RememberDraude #LeptirBigUltra
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )
klx
Posts: 179
Joined: Tue Jun 15, 2021 8:11 pm
Full name: Emanuel Torres

Re: Gentelmen, check your engines.

Post by klx »

amanjpro wrote: Sun Sep 05, 2021 9:41 am
AndrewGrant wrote: Sun Sep 05, 2021 6:36 am Ethereal 13.35 NNUE
info depth 35 seldepth 24 multipv 1 score mate 5 time 2406 nodes 7137572 nps 2965000 tbhits 0 hashfull 577 pv e1e2 f1e2 h5g7 d6b5 a7b7 a4c5 b4c5 f6e5 d8e8
What a speed... What is the CPU?
This speed (~3M NPS) is not very impressive if you ask me. However, Mergi's engine:
Mergi wrote: Sat Sep 04, 2021 9:14 pm Well, i don't even have null move enabled :D , so not sure if this is a fair comparison but ... just trying to find a mate.

Code: Select all

...
info depth 9 seldepth 14 nodes 10598553 time 461 nps 22990353 hashfull 14 score cp 928 pv e5d6 e7e6 f8f6 e6d5 e1f1 h1f1 b5d4 f4e3 f6f1
...
23M NPS is a much more respectable throughput. That is run on multiple threads I presume?
[Moderation warning] This signature violated the rule against commercial exhortations.
AndrewGrant
Posts: 1750
Joined: Tue Apr 19, 2016 6:08 am
Location: U.S.A
Full name: Andrew Grant

Re: Gentelmen, check your engines.

Post by AndrewGrant »

klx wrote: Sun Sep 05, 2021 10:43 am
amanjpro wrote: Sun Sep 05, 2021 9:41 am
AndrewGrant wrote: Sun Sep 05, 2021 6:36 am Ethereal 13.35 NNUE
info depth 35 seldepth 24 multipv 1 score mate 5 time 2406 nodes 7137572 nps 2965000 tbhits 0 hashfull 577 pv e1e2 f1e2 h5g7 d6b5 a7b7 a4c5 b4c5 f6e5 d8e8
What a speed... What is the CPU?
This speed (~3M NPS) is not very impressive if you ask me. However, Mergi's engine:
Mergi wrote: Sat Sep 04, 2021 9:14 pm Well, i don't even have null move enabled :D , so not sure if this is a fair comparison but ... just trying to find a mate.

Code: Select all

...
info depth 9 seldepth 14 nodes 10598553 time 461 nps 22990353 hashfull 14 score cp 928 pv e5d6 e7e6 f8f6 e6d5 e1f1 h1f1 b5d4 f4e3 f6f1
...
23M NPS is a much more respectable throughput. That is run on multiple threads I presume?
Ethereal 13.35 NNUE (Ryzen 1950x)
info depth 33 seldepth 21 multipv 1 score mate 5 time 426 nodes 14259575 nps 33394000 tbhits 0 hashfull 787 pv e1e2 f1e2 h5g7 d6b5 a7b7 a4c5 b4c5 f6e5 d8e8

NPS is a silly metric. Can dick measure all day. Could probably get a 200mnps one if I really cared.
#WeAreAllDraude #JusticeForDraude #RememberDraude #LeptirBigUltra
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )
Mergi
Posts: 127
Joined: Sat Aug 21, 2021 9:55 pm
Full name: Jen

Re: Gentelmen, check your engines.

Post by Mergi »

klx wrote: Sun Sep 05, 2021 10:43 am 23M NPS is a much more respectable throughput. That is run on multiple threads I presume?
Yes, I'm sorry, I was cheating. It's run on i5 3350P, on 4 threads. :oops: Since the increase in NPS is pretty much linear, single threaded should be around 7m NPS on that processor. But i don't have NNUE nor do i do much of the fancy stuff that i'm sure Ethereal is doing.
R. Tomasi
Posts: 307
Joined: Wed Sep 01, 2021 4:08 pm
Location: Germany
Full name: Roland Tomasi

Re: Gentelmen, check your engines.

Post by R. Tomasi »

Mergi wrote: Sun Sep 05, 2021 12:17 pm
klx wrote: Sun Sep 05, 2021 10:43 am 23M NPS is a much more respectable throughput. That is run on multiple threads I presume?
Yes, I'm sorry, I was cheating. It's run on i5 3350P, on 4 threads. :oops: Since the increase in NPS is pretty much linear, single threaded should be around 7m NPS on that processor. But i don't have NNUE nor do i do much of the fancy stuff that i'm sure Ethereal is doing.
It's still an impressive speed. NPS is certainly not a good metric for the quality/speed of an engine, but I guess it at least hints at the potential an engine has.
AndrewGrant
Posts: 1750
Joined: Tue Apr 19, 2016 6:08 am
Location: U.S.A
Full name: Andrew Grant

Re: Gentelmen, check your engines.

Post by AndrewGrant »

R. Tomasi wrote: Sun Sep 05, 2021 12:21 pm
Mergi wrote: Sun Sep 05, 2021 12:17 pm
klx wrote: Sun Sep 05, 2021 10:43 am 23M NPS is a much more respectable throughput. That is run on multiple threads I presume?
Yes, I'm sorry, I was cheating. It's run on i5 3350P, on 4 threads. :oops: Since the increase in NPS is pretty much linear, single threaded should be around 7m NPS on that processor. But i don't have NNUE nor do i do much of the fancy stuff that i'm sure Ethereal is doing.
It's still an impressive speed. NPS is certainly not a good metric for the quality/speed of an engine, but I guess it at least hints at the potential an engine has.
I'm not sure that is even true. Deep Blue got something like 400mnps if I recall some reading -- and still struggled to play super-GMs (where as now Stockfish can do it on everyday hardware). And Leela technically has very "low" NPS, although each Leela-Node is far more expensive, but also valuable and meaningful, than a Stockfish-Node or an Ethereal-node.
#WeAreAllDraude #JusticeForDraude #RememberDraude #LeptirBigUltra
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )
R. Tomasi
Posts: 307
Joined: Wed Sep 01, 2021 4:08 pm
Location: Germany
Full name: Roland Tomasi

Re: Gentelmen, check your engines.

Post by R. Tomasi »

AndrewGrant wrote: Sun Sep 05, 2021 12:25 pm I'm not sure that is even true. Deep Blue got something like 400mnps if I recall some reading -- and still struggled to play super-GMs (where as now Stockfish can do it on everyday hardware). And Leela technically has very "low" NPS, although each Leela-Node is far more expensive, but also valuable and meaningful, than a Stockfish-Node or an Ethereal-node.
Yeah... one does not simply brute-force his way into mordor, I guess... :P
JVMerlino
Posts: 1357
Joined: Wed Mar 08, 2006 10:15 pm
Location: San Francisco, California

Re: Gentelmen, check your engines.

Post by JVMerlino »

The King from CM9000, of course, finds it almost instantly:

Code: Select all

Time	Depth	Score	Positions	Moves
0:00	1/3	17.19	10326		1.exf6+ Kxe6 2.Rxd6+ Kf5 3.Ng3+
					Kg6 4.Rg8+ Kh7 5.Rg7+ Kh6 6.Nxf1
					dxe3 7.Nxe3 fxe3 8.Qxe3+ Kh5
0:00	1/4	20.33	97909		1.exf6+ Kxe6 2.Rxd6+ Kf5 3.Nxd4+
					Ke5 4.Rfd8 Qa6+ 5.Kxa6
0:00	1/4	Mate08	219097		1.Nxd6 Qa6+ 2.Kxa6 Kxe6 3.Rxf6+
					Ke7 4.Re8+ Kd7 5.Rf7+ Kc6 6.Rc8+
					Kd5 7.Nxf4+ Kxe5 8.Nc4#
0:00	1/5	Mate07	274326		1.Nxd6 Qa6+ 2.Kxa6 Kxe6 3.Rde8+
					Be7 4.Nxf4+ Kd7 5.Rxe7+ Kxe7 6.Rf7+
					Kd8 7.Ne6#
0:00	1/5	Mate05	651400		1.Qe2 Qxe2 2.Ng7 Nxb5+ 3.Kb7 Nc5+
					4.bxc5 Bxg7 5.Rfe8#
JVMerlino
Posts: 1357
Joined: Wed Mar 08, 2006 10:15 pm
Location: San Francisco, California

Re: Gentelmen, check your engines.

Post by JVMerlino »

Myrddin needs quite some time with one core:

Code: Select all

10  32752    325      7270882 e5f6 e7e6 d8d6 e6f5 h5g3 f5g6 f8g8 g6h7 g8g7 h7h6 g3f5 h6h5 f6f7 f1e1 d6h6 (2237 KNPS)(Mate in 8)
11  32752    640     14789839 e5f6 e7e6 d8d6 e6f5 h5g3 f5g6 f8g8 g6h7 g8g7 h7h6 g3f5 h6h5 f6f7 f1e1 d6h6 (2308 KNPS)(Mate in 8)
11  32754   2329     53861951 e1d2 d6b5 a7b7 a4c5 b4c5 e7e6 h5g7 f6g7 d2a2 f1c4 a2c4 e6e5 e3f4 (2311 KNPS)(Mate in 7)
12  32754   2515     58017822 e1d2 d6b5 a7b7 a4c5 b4c5 e7e6 h5g7 f6g7 d2a2 f1c4 a2c4 e6e5 e3f4 (2306 KNPS)(Mate in 7)
13  32754   6101    143512985 e1d2 d6b5 a7b7 a4c5 b4c5 e7e6 h5g7 f6g7 d2a2 f1c4 a2c4 e6e5 e3f4 (2352 KNPS)(Mate in 7)
13  32756  14281    340392584 e1d1 f6e5 b5d6 f1a6 a7a6 a4c5 b4c5 e7e6 d1b3 e6e7 f8e8 (2383 KNPS)(Mate in 6)
13  32758  16439    391453695 e1e2 e7e6 e2g4 (2381 KNPS)(Mate in 5)