Stockfish performing bad on ryzen cpu.
Moderators: hgm, Rebel, chrisw
-
- Posts: 22
- Joined: Sat Sep 05, 2020 5:29 am
- Full name: Akshay Chacko
Stockfish performing bad on ryzen cpu.
I have a new laptop with ryzen7 4800h 8core 16threads (zen2)processor. I was planning to use it to improve my chess and to find best moves. Previously i was using my smartphone with Snapdragon 855 processor for that. I am using stockfish 12 avx2 Binary on my laptop and using analyze this pro (sf12)application my smartphone. My laptop settings for stockfish are threads =8 and hash=512MB, all other settings are kept default even the network file. SF12 on my laptop give 9000+knps at opening whereas on my smartphone it is below 1600knps. I decided to compare the performance hoping that my laptop will easily win against my smartphone but interestingly it was my laptop always loosing or draw against my smartphone.i tried using stockfish 11 on both and now my smartphone always wins. I tried using different hashtable sizes and threads but still nothing changes. I also tried cfish,brainfish, sf12 development builds, bmi version and some other binaries that are made for zen2 based processors but there is no change in the results. Can anyone help me please.
-
- Posts: 708
- Joined: Mon Jan 16, 2012 6:34 am
Re: Stockfish performing bad on ryzen cpu.
Why your Droidfish is running < 1.6 mnps, are you using 1 core? 4 cores droidfish should be around 5 mnps.
-
- Posts: 22
- Joined: Sat Sep 05, 2020 5:29 am
- Full name: Akshay Chacko
Re: Stockfish performing bad on ryzen cpu.
Stockfish 11 gives 5000-6000knps stockfish 12 gives only 1500knps using 6 coresNay Lin Tun wrote: ↑Mon Sep 14, 2020 8:29 am Why your Droidfish is running < 1.6 mnps, are you using 1 core? 4 cores droidfish should be around 5 mnps.
-
- Posts: 710
- Joined: Sat Dec 06, 2014 1:53 pm
Re: Stockfish performing bad on ryzen cpu.
how did you organize tournament?laptop always loosing or draw against my smartphone
you should improve your testing (tournament) frameworkCan anyone help me please.
he doesn't use droidfish, but sf12 (nnue) via "analize this" GUI
-
- Posts: 22
- Joined: Sat Sep 05, 2020 5:29 am
- Full name: Akshay Chacko
Re: Stockfish performing bad on ryzen cpu.
I tried using Microsoft remote desktop app and also tried playing myself by copying each others moves. I have conducted atleast 200 games. I also tried playing against an i5 8300h processor on stockfish 12 bmi version which gets around 4000knps and it always wins against my smartphone. That is why I arrived at a conclusion that there is something wrong with stockfish on amd cpu.
-
- Posts: 6340
- Joined: Mon Mar 13, 2006 2:34 pm
- Location: Acworth, GA
Re: Stockfish performing bad on ryzen cpu.
There is a better way to do this, just use Chess for Android to setup and automate the task. There is a old app by Bernhard Wallner called netChess which will make this possible. I am even using it with Banksia and it works very well for in house (Windows to Windows) network games.awsmak wrote: ↑Mon Sep 14, 2020 12:10 pmI tried using Microsoft remote desktop app and also tried playing myself by copying each others moves. I have conducted atleast 200 games. I also tried playing against an i5 8300h processor on stockfish 12 bmi version which gets around 4000knps and it always wins against my smartphone. That is why I arrived at a conclusion that there is something wrong with stockfish on amd cpu.
https://web.archive.org/web/20121014223 ... Chess.html
Here is an old post (2012) by Aart Bik Blog to get you started.
https://aartbik.blogspot.com/2012/03/co ... emote.html
The only issue you may have to look out for is making sure that your Network Port is open in your Firewall / Router.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
__________________________________________________________________
Ted Summers
-
- Posts: 710
- Joined: Sat Dec 06, 2014 1:53 pm
-
- Posts: 4889
- Joined: Thu Mar 09, 2006 6:34 am
- Location: Pen Argyl, Pennsylvania
Re: Stockfish performing bad on ryzen cpu.
Can you try this "exe" it was specifically compiled for AMD processors ...
https://www.dropbox.com/s/x4q40z21sx5on ... D.exe?dl=0
Note - binary is large 70MB - has NNUE and 55 EGTB's built in.
based on current Honey source:
https://github.com/MichaelB7/Stockfish/tree/honey
benches on a 3970x
current bench - classic mode 64 threads command:"Bluefish-12-W-AMD.exe b 2048 64 18 true >/dev/null" :
=================================
Total time (ms) : 41255
Nodes searched : 5387767058
Nodes/second : 130596k
NNUE mode 64 threads command "Bluefish-12-W-AMD.exe b 2048 64 18 true >/dev/null" :
=================================
Total time (ms) : 36933
Nodes searched : 4184508490
Nodes/second : 113299k
with 6 cores Classic mode:
"Bluefish-12-W-AMD.exe b 512 6 13 >/dev/null"
=================================
Total time (ms) : 4160
Nodes searched : 63355817
Nodes/second : 15229k
with 6 cores NNUE mode
Bluefish-12-W-AMD.exe b 512 6 13 true >/dev/null
=================================
Total time (ms) : 5122
Nodes searched : 68626044
Nodes/second : 13398k
https://www.dropbox.com/s/x4q40z21sx5on ... D.exe?dl=0
Note - binary is large 70MB - has NNUE and 55 EGTB's built in.
based on current Honey source:
https://github.com/MichaelB7/Stockfish/tree/honey
benches on a 3970x
current bench - classic mode 64 threads command:"Bluefish-12-W-AMD.exe b 2048 64 18 true >/dev/null" :
=================================
Total time (ms) : 41255
Nodes searched : 5387767058
Nodes/second : 130596k
NNUE mode 64 threads command "Bluefish-12-W-AMD.exe b 2048 64 18 true >/dev/null" :
=================================
Total time (ms) : 36933
Nodes searched : 4184508490
Nodes/second : 113299k
with 6 cores Classic mode:
"Bluefish-12-W-AMD.exe b 512 6 13 >/dev/null"
=================================
Total time (ms) : 4160
Nodes searched : 63355817
Nodes/second : 15229k
with 6 cores NNUE mode
Bluefish-12-W-AMD.exe b 512 6 13 true >/dev/null
=================================
Total time (ms) : 5122
Nodes searched : 68626044
Nodes/second : 13398k
-
- Posts: 239
- Joined: Fri Jul 06, 2018 4:23 pm
- Full name: Jonathan Cremers
Re: Stockfish performing bad on ryzen cpu.
I also have Analyze This pro, installed on my Samsung Galaxy S20 plus smartphone. I don't see stockfish 12 listed, only stockfish 11.awsmak wrote: ↑Mon Sep 14, 2020 8:05 am I have a new laptop with ryzen7 4800h 8core 16threads (zen2)processor. I was planning to use it to improve my chess and to find best moves. Previously i was using my smartphone with Snapdragon 855 processor for that. I am using stockfish 12 avx2 Binary on my laptop and using analyze this pro (sf12)application my smartphone. My laptop settings for stockfish are threads =8 and hash=512MB, all other settings are kept default even the network file. SF12 on my laptop give 9000+knps at opening whereas on my smartphone it is below 1600knps. I decided to compare the performance hoping that my laptop will easily win against my smartphone but interestingly it was my laptop always loosing or draw against my smartphone.i tried using stockfish 11 on both and now my smartphone always wins. I tried using different hashtable sizes and threads but still nothing changes. I also tried cfish,brainfish, sf12 development builds, bmi version and some other binaries that are made for zen2 based processors but there is no change in the results. Can anyone help me please.
How did you install stockfish 12 on your android device?
-
- Posts: 22
- Joined: Sat Sep 05, 2020 5:29 am
- Full name: Akshay Chacko
Re: Stockfish performing bad on ryzen cpu.
Download Android version from stockfish site and add it to the app.Jonathan003 wrote: ↑Mon Sep 14, 2020 4:49 pmI also have Analyze This pro, installed on my Samsung Galaxy S20 plus smartphone. I don't see stockfish 12 listed, only stockfish 11.awsmak wrote: ↑Mon Sep 14, 2020 8:05 am I have a new laptop with ryzen7 4800h 8core 16threads (zen2)processor. I was planning to use it to improve my chess and to find best moves. Previously i was using my smartphone with Snapdragon 855 processor for that. I am using stockfish 12 avx2 Binary on my laptop and using analyze this pro (sf12)application my smartphone. My laptop settings for stockfish are threads =8 and hash=512MB, all other settings are kept default even the network file. SF12 on my laptop give 9000+knps at opening whereas on my smartphone it is below 1600knps. I decided to compare the performance hoping that my laptop will easily win against my smartphone but interestingly it was my laptop always loosing or draw against my smartphone.i tried using stockfish 11 on both and now my smartphone always wins. I tried using different hashtable sizes and threads but still nothing changes. I also tried cfish,brainfish, sf12 development builds, bmi version and some other binaries that are made for zen2 based processors but there is no change in the results. Can anyone help me please.
How did you install stockfish 12 on your android device?