Leela Chess Zero 42565 vs Stockfish 140619

Discussion of computer chess matches and engine tournaments.

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
mwyoung
Posts: 1636
Joined: Wed May 12, 2010 8:00 pm

Leela Chess Zero 42565 vs Stockfish 140619

Post by mwyoung » Sat Jun 15, 2019 1:15 am

Leela Chess Zero 42565 vs Stockfish 140619

Hardware 2950x, RTX 2080 ti
Stockfish 32 Thread, 8 Gb HT
Leela Chess Zero 2 threads, 9900000 NN CS.
6 man Tablebase
100 million position book with optimal setting.
Move cutoff set at 100 games played in the position.
TC= 15m/40
Ponder = On

Live Stream: https://www.youtube.com/watch?v=gogSaQSDWRI
Professing themselves to be wise, they became fools,
Take on me. foes 0

User avatar
Laskos
Posts: 9409
Joined: Wed Jul 26, 2006 8:21 pm
Full name: Kai Laskos

Re: Leela Chess Zero 42565 vs Stockfish 140619

Post by Laskos » Sat Jun 15, 2019 5:22 am

mwyoung wrote:
Sat Jun 15, 2019 1:15 am
Leela Chess Zero 42565 vs Stockfish 140619

Hardware 2950x, RTX 2080 ti
Stockfish 32 Thread, 8 Gb HT
Leela Chess Zero 2 threads, 9900000 NN CS.
6 man Tablebase
100 million position book with optimal setting.
Move cutoff set at 100 games played in the position.
TC= 15m/40
Ponder = On

Live Stream: https://www.youtube.com/watch?v=gogSaQSDWRI
Omg, I think people told you dozens of times --- why ponder = on? 32 threaded SF on 16 core machine ponder on? Ponder = on is completely wrecking your games. You would better use 1kW electric power on a fridge for ice creams.

mwyoung
Posts: 1636
Joined: Wed May 12, 2010 8:00 pm

Re: Leela Chess Zero 42565 vs Stockfish 140619

Post by mwyoung » Sat Jun 15, 2019 11:13 am

Laskos wrote:
Sat Jun 15, 2019 5:22 am
mwyoung wrote:
Sat Jun 15, 2019 1:15 am
Leela Chess Zero 42565 vs Stockfish 140619

Hardware 2950x, RTX 2080 ti
Stockfish 32 Thread, 8 Gb HT
Leela Chess Zero 2 threads, 9900000 NN CS.
6 man Tablebase
100 million position book with optimal setting.
Move cutoff set at 100 games played in the position.
TC= 15m/40
Ponder = On

Live Stream: https://www.youtube.com/watch?v=gogSaQSDWRI
Omg, I think people told you dozens of times --- why ponder = on? 32 threaded SF on 16 core machine ponder on? Ponder = on is completely wrecking your games. You would better use 1kW electric power on a fridge for ice creams.
OMG get over it. I can run a fridge and a computer.
Professing themselves to be wise, they became fools,
Take on me. foes 0

pohl4711
Posts: 1066
Joined: Sat Sep 03, 2011 5:25 am
Location: Berlin, Germany
Contact:

Re: Leela Chess Zero 42565 vs Stockfish 140619

Post by pohl4711 » Sat Jun 15, 2019 11:56 am

mwyoung wrote:
Sat Jun 15, 2019 11:13 am
Laskos wrote:
Sat Jun 15, 2019 5:22 am
mwyoung wrote:
Sat Jun 15, 2019 1:15 am
Leela Chess Zero 42565 vs Stockfish 140619

Hardware 2950x, RTX 2080 ti
Stockfish 32 Thread, 8 Gb HT
Leela Chess Zero 2 threads, 9900000 NN CS.
6 man Tablebase
100 million position book with optimal setting.
Move cutoff set at 100 games played in the position.
TC= 15m/40
Ponder = On

Live Stream: https://www.youtube.com/watch?v=gogSaQSDWRI
Omg, I think people told you dozens of times --- why ponder = on? 32 threaded SF on 16 core machine ponder on? Ponder = on is completely wrecking your games. You would better use 1kW electric power on a fridge for ice creams.
OMG get over it. I can run a fridge and a computer.
On a 16core CPU there are only 32 Threads (if Hyperthreading is activated). So, if ponder is on and Leela is running on 2 Threads, Stockfish may not use more than 30 Threads, of course. Otherwise the results will be distorted, because the number of used threads is 32+2=34.
And it is better, to keep 1 free Thread for Windows.
So, if you want to play with pondering: SF=29 Threads, Leela=2 Threads and 1 free Thread for the OS. And everything is fine.
But SF=32 Threads, Leela=2 Threads with ponder on on a 16core CPU is nonsense.

User avatar
Laskos
Posts: 9409
Joined: Wed Jul 26, 2006 8:21 pm
Full name: Kai Laskos

Re: Leela Chess Zero 42565 vs Stockfish 140619

Post by Laskos » Sat Jun 15, 2019 12:21 pm

pohl4711 wrote:
Sat Jun 15, 2019 11:56 am
mwyoung wrote:
Sat Jun 15, 2019 11:13 am
Laskos wrote:
Sat Jun 15, 2019 5:22 am
mwyoung wrote:
Sat Jun 15, 2019 1:15 am
Leela Chess Zero 42565 vs Stockfish 140619

Hardware 2950x, RTX 2080 ti
Stockfish 32 Thread, 8 Gb HT
Leela Chess Zero 2 threads, 9900000 NN CS.
6 man Tablebase
100 million position book with optimal setting.
Move cutoff set at 100 games played in the position.
TC= 15m/40
Ponder = On

Live Stream: https://www.youtube.com/watch?v=gogSaQSDWRI
Omg, I think people told you dozens of times --- why ponder = on? 32 threaded SF on 16 core machine ponder on? Ponder = on is completely wrecking your games. You would better use 1kW electric power on a fridge for ice creams.
OMG get over it. I can run a fridge and a computer.
On a 16core CPU there are only 32 Threads (if Hyperthreading is activated). So, if ponder is on and Leela is running on 2 Threads, Stockfish may not use more than 30 Threads, of course. Otherwise the results will be distorted, because the number of used threads is 32+2=34.
And it is better, to keep 1 free Thread for Windows.
So, if you want to play with pondering: SF=29 Threads, Leela=2 Threads and 1 free Thread for the OS. And everything is fine.
But SF=32 Threads, Leela=2 Threads with ponder on on a 16core CPU is nonsense.
Even worse than that. Leela with 2080ti needs 2 threads running on 2 full cores, not 2 hyperthreads running in parallel with 2 other (SF) hyperthreads using the same 2 cores. So, with ponder=on, even SF on 16 threads on 16 cores will slow down Leela. With ponder=on on 16 core machine, SF can use only 14 threads on 14 cores, or 28 threads on 14 cores with the affinities set to those 14 cores. This guy is several clicks away from setting ponder=off and playing really interesting matches, but with some sort of asinine stability doesn't listen at all to others and uses his own brain to completely screw up the setup for months on end.

Wolfgang
Posts: 322
Joined: Fri May 12, 2006 11:08 pm

Re: Leela Chess Zero 42565 vs Stockfish 140619

Post by Wolfgang » Sat Jun 15, 2019 12:25 pm

pohl4711 wrote:
Sat Jun 15, 2019 11:56 am
...But SF=32 Threads, Leela=2 Threads with ponder on on a 16core CPU is nonsense.
+1
to be precise: it is complete nonsense
Best
Wolfgang
CEGT-Team

mwyoung
Posts: 1636
Joined: Wed May 12, 2010 8:00 pm

Re: Leela Chess Zero 42565 vs Stockfish 140619

Post by mwyoung » Sat Jun 15, 2019 12:50 pm

pohl4711 wrote:
Sat Jun 15, 2019 11:56 am
mwyoung wrote:
Sat Jun 15, 2019 11:13 am
Laskos wrote:
Sat Jun 15, 2019 5:22 am
mwyoung wrote:
Sat Jun 15, 2019 1:15 am
Leela Chess Zero 42565 vs Stockfish 140619

Hardware 2950x, RTX 2080 ti
Stockfish 32 Thread, 8 Gb HT
Leela Chess Zero 2 threads, 9900000 NN CS.
6 man Tablebase
100 million position book with optimal setting.
Move cutoff set at 100 games played in the position.
TC= 15m/40
Ponder = On

Live Stream: https://www.youtube.com/watch?v=gogSaQSDWRI
Omg, I think people told you dozens of times --- why ponder = on? 32 threaded SF on 16 core machine ponder on? Ponder = on is completely wrecking your games. You would better use 1kW electric power on a fridge for ice creams.
OMG get over it. I can run a fridge and a computer.
On a 16core CPU there are only 32 Threads (if Hyperthreading is activated). So, if ponder is on and Leela is running on 2 Threads, Stockfish may not use more than 30 Threads, of course. Otherwise the results will be distorted, because the number of used threads is 32+2=34.
And it is better, to keep 1 free Thread for Windows.
So, if you want to play with pondering: SF=29 Threads, Leela=2 Threads and 1 free Thread for the OS. And everything is fine.
But SF=32 Threads, Leela=2 Threads with ponder on on a 16core CPU is nonsense.
You are on the right track. So when does 32 +2 not equal 34 in computer chess. As you can see from the stream. I am not getting crashes or performance issues. What is my configuration to work around this issue....
Professing themselves to be wise, they became fools,
Take on me. foes 0

jhellis3
Posts: 390
Joined: Fri Aug 16, 2013 10:36 pm

Re: Leela Chess Zero 42565 vs Stockfish 140619

Post by jhellis3 » Sat Jun 15, 2019 2:52 pm

You are getting performance issues, whether you are aware of them or not.

mwyoung
Posts: 1636
Joined: Wed May 12, 2010 8:00 pm

Re: Leela Chess Zero 42565 vs Stockfish 140619

Post by mwyoung » Sat Jun 15, 2019 3:25 pm

jhellis3 wrote:
Sat Jun 15, 2019 2:52 pm
You are getting performance issues, whether you are aware of them or not.
Really. What is the issue? What program and by how much.

Some people think they know how computers work. And trap themselves in a mental box.

32 + 2. :lol:
Professing themselves to be wise, they became fools,
Take on me. foes 0

User avatar
Nordlandia
Posts: 2405
Joined: Fri Sep 25, 2015 7:38 pm
Location: Sortland, Norway

Re: Leela Chess Zero 42565 vs Stockfish 140619

Post by Nordlandia » Sat Jun 15, 2019 5:20 pm

mwyoung: the math does not go up. Stockfish make claim of 100% cpu by itself. There is clearly performance interference whether you can notice it or not. Leela need 1-2 threads to feed the gpu. Those threads messes the game up because they're already used by stockfish. That being said, the streaming recording device make also claim of cpu time so leaving 1-thread free for the OS make total sense. SF=29 threads - Lc0=2 threads and 1 thread free for the operating system for free flow/background tasks and no slowdown.

Graham Banks said this on chess2u few years ago.

"I should add that each engine should access tablebases from a different drive in order to avoid clashes on the hard drive"

It's a good point, i'll do it. I have 2 SSDs, so i'll place 5-men syzygy on each and give each engine seperate directory for syzygy.

Look at this thread.

https://chess.stackexchange.com/questio ... nent-brain

And this one

http://www.chess2u.com/t4335-ponder-on-or-off

Post Reply