Stockfish Build Your Own (BYO) by Brice Allenbrand

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

Moderators: hgm, Rebel, chrisw

Krgp
Posts: 20
Joined: Mon Nov 04, 2013 6:18 am

Stockfish Build Your Own (BYO) by Brice Allenbrand

Post by Krgp »

The 106b DOES IT !! :cool: Brice IS AWESOME !!! (https://www.dropbox.com/sh/4rubami2nvld ... Pzy8p7/BYO)

Downloaded latest MC src - "Speed up by almost 3%" - BYO106b - compiled it !!

I (BYO) also build it from 'Internal' ! Also downloaded latest RW builds from drop box and downloaded 'Abrok.ru' dev build of MC commit "Speed up by almost 3%"

Conducted Test 12 - and WOW ! The results - especially in r/o 'Abrok.ru' - speak for themselves !! Have a look ...


TEST12 (16 x "bench 1024 4 16") Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (Haswell) 4 CORES 3501 MHz HT ON (MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, EM64T, VT-x, AES, AVX, AVX2, FMA3)

Code: Select all

01 StockFishRW_473_140427_BYO106b_internal.exe!      8935+/-  50 Mnps
02 StockFishRW_482a_140427_BYO106b_internal.exe!     8836+/-  60 Mnps
[b]03 StockFishRW_473_140427_BYO_MC_dev.exe             8806+/-  32 Mnps[/b][i][/i]
04 StockFishRW_49a_140427_BYO106b_internal.exe!      8800+/-  60 Mnps
05 StockFishRW_49a_Brice_142304_BYO.exe!             8793+/-  61 Mnps
06 StockFishRW_modern_sse42_avx.exe!                 8722+/-  57 Mnps
07 StockFishRW_482a_140427_BYO_MC_dev.exe            8710+/-  81 Mnps
08 StockFishRW_modern_sse42.exe!                     8685+/-  52 Mnps
09 StockFishRW_140424_473_modern_sse42_avx.exe!      8684+/-  66 Mnps
10 StockFishRW_49a_140427_BYO_MC_dev.exe             8656+/-  41 Mnps
11 StockFishRW_140424_49a_modern_sse42_avx.exe!      8632+/-  42 Mnps
12 StockFishRW_140424_482a_modern_sse42_avx.exe!     8566+/-  79 Mnps
13 StockFishRW_x64.exe!                              8499+/-  95 Mnps
14 StockFishRW_140424_473_modern_sse42.exe!          8484+/-  68 Mnps
15 StockFishRW_140424_49a_modern_sse42.exe!          8391+/-  66 Mnps
16 StockFishRW_140424_482a_modern_sse42.exe!         8366+/-  82 Mnps
[b]17 stockfish_14042700_x64_modern_sse42.exe (abrok)   8209+/-  56 Mnps[/b][i][/i]


Impressive ! Isn't it !?

Now at least MC & Martin should 'use' BYO instead of 'abrock' - it's within TCEC rules - the same default dev (by BYO !! - instead of abrok ?!)

Also tried 'putting - MEM_HANDLER.cpp', 'sort.cpp', 'tbcore.cpp', 'tbprobe.cpp', 'tbcore.h', 'tbprobe.h', 'ffpcnt.h' - files in default MC src & launched BYO - in 'hope' that it would give 'latest' RW build ... but NO ... it doesn't ... it's not that easy ! It seems one has to / need to manually set/unset some switches in the compiler command line ... and perhaps more ... RW builds are not just copy-paste ... seems Brice has to do a lot to give us RW builds ... Only if BYO could do that ....!?
KP
User avatar
AdminX
Posts: 6340
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Stockfish Build Your Own (BYO) by Brice Allenbrand

Post by AdminX »

Wow! Now that was hot and worked like a charm on my system. Clever Clever for a portable. Now as to which of the three should I choose? I'll have to try them all!

Thanks! :lol:

UPDATE: I opened the 7zip and noticed the StockFishRW_BYO.txt that explains the three compiles.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
User avatar
AdminX
Posts: 6340
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Stockfish Build Your Own (BYO) by Brice Allenbrand

Post by AdminX »

StockFishRW_473_140427_BYO
===========================
Total time (ms) : 2858
Nodes searched : 6258107
Nodes/second : 2189680


StockFishRW_49a_140427_BYO
===========================
Total time (ms) : 2835
Nodes searched : 6258107
Nodes/second : 2207445


StockFishRW_482a_140427_BYO
===========================
Total time (ms) : 2831
Nodes searched : 6258107
Nodes/second : 2210564
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
Krgp
Posts: 20
Joined: Mon Nov 04, 2013 6:18 am

Re: Stockfish Build Your Own (BYO) by Brice Allenbrand

Post by Krgp »

KP
User avatar
AdminX
Posts: 6340
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Stockfish Build Your Own (BYO) by Brice Allenbrand

Post by AdminX »

Krgp wrote:There is a nice 'tester' - https://www.dropbox.com/sh/4rubami2nvld ... lVMea/test
Tester (16 x "bench 1024 4 16") Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz (Haswell) 4 CORES 2701 MHz HT ON (MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, EM64T, VT-x, AES, AVX, AVX2, FMA3)

01 stockfish_14042408_x64_modern_sse42.exe 4668+/- 32 Mnps
02 StockFishRW_140424_473_modern_sse42_avx.exe! 4488+/- 24 Mnps
03 StockFishRW_140424_482a_modern_sse42_avx.exe! 4488+/- 55 Mnps
04 StockFishRW_140424_473_modern_sse42.exe! 4449+/- 61 Mnps
05 StockFishRW_140424_49a_modern_sse42_avx.exe! 4448+/- 35 Mnps
06 stockfish_14042408_x64_modern.exe 4424+/- 110 Mnps
07 StockFishRW_140424_49a_modern_sse42.exe! 4363+/- 46 Mnps
08 StockFishRW_140424_482a_modern_sse42.exe! 4352+/- 23 Mnps

I had other apps running in the background, will test again later.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
Krgp
Posts: 20
Joined: Mon Nov 04, 2013 6:18 am

Re: Stockfish Build Your Own (BYO) by Brice Allenbrand

Post by Krgp »

Please 'copy' your newly created BYO versions in the Test12 folder ... and then test ! One can also put any other 'Stockfish' version in the folder and have it benchmarked too !
KP
User avatar
AdminX
Posts: 6340
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Stockfish Build Your Own (BYO) by Brice Allenbrand

Post by AdminX »

Krgp wrote:Please 'copy' your newly created BYO versions in the Test12 folder ... and then test ! One can also put any other 'Stockfish' version in the folder and have it benchmarked too !
Tester (16 x "bench 1024 4 16") Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz (Haswell) 4 CORES 2701 MHz HT ON (MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, EM64T, VT-x, AES, AVX, AVX2, FMA3)

01 stockfish_14042408_x64_modern.exe 4637+/- 29 Mnps
02 StockFishRW_473_140427_BYO.exe! 4618+/- 45 Mnps
03 StockFishRW_482a_140427_BYO.exe! 4587+/- 41 Mnps
04 stockfish_14042408_x64_modern_sse42.exe 4530+/- 70 Mnps
05 StockFishRW_49a_140427_BYO.exe! 4518+/- 27 Mnps
06 StockFishRW_140424_473_modern_sse42_avx.exe! 4494+/- 45 Mnps
07 StockFishRW_140424_482a_modern_sse42_avx.exe! 4477+/- 47 Mnps
08 StockFishRW_140424_473_modern_sse42.exe! 4474+/- 56 Mnps
09 StockFishRW_140424_49a_modern_sse42_avx.exe! 4411+/- 28 Mnps
10 StockFishRW_140424_49a_modern_sse42.exe! 4366+/- 35 Mnps
11 StockFishRW_140424_482a_modern_sse42.exe! 4349+/- 30 Mnps
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
shrapnel
Posts: 1339
Joined: Fri Nov 02, 2012 9:43 am
Location: New Delhi, India

Re: Stockfish Build Your Own (BYO) by Brice Allenbrand

Post by shrapnel »

How to select which one is best ?
Is it a case of 'lower is better' as far as time taken is concerned or more the Mnps the better ?
Some of the results seem contradictory...am confused.
Clarification please.
i7 5960X @ 4.1 Ghz, 64 GB G.Skill RipJaws RAM, Twin Asus ROG Strix OC 11 GB Geforce 2080 Tis
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Stockfish Build Your Own (BYO) by Brice Allenbrand

Post by zullil »

AdminX wrote:
Krgp wrote:Please 'copy' your newly created BYO versions in the Test12 folder ... and then test ! One can also put any other 'Stockfish' version in the folder and have it benchmarked too !
Tester (16 x "bench 1024 4 16") Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz (Haswell) 4 CORES 2701 MHz HT ON (MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, EM64T, VT-x, AES, AVX, AVX2, FMA3)

01 stockfish_14042408_x64_modern.exe 4637+/- 29 Mnps
02 StockFishRW_473_140427_BYO.exe! 4618+/- 45 Mnps
03 StockFishRW_482a_140427_BYO.exe! 4587+/- 41 Mnps
04 stockfish_14042408_x64_modern_sse42.exe 4530+/- 70 Mnps
05 StockFishRW_49a_140427_BYO.exe! 4518+/- 27 Mnps
06 StockFishRW_140424_473_modern_sse42_avx.exe! 4494+/- 45 Mnps
07 StockFishRW_140424_482a_modern_sse42_avx.exe! 4477+/- 47 Mnps
08 StockFishRW_140424_473_modern_sse42.exe! 4474+/- 56 Mnps
09 StockFishRW_140424_49a_modern_sse42_avx.exe! 4411+/- 28 Mnps
10 StockFishRW_140424_49a_modern_sse42.exe! 4366+/- 35 Mnps
11 StockFishRW_140424_482a_modern_sse42.exe! 4349+/- 30 Mnps
Those nps numbers seem ridiculously high for a Stockfish variant (or anything else) running 4 threads.
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Stockfish Build Your Own (BYO) by Brice Allenbrand

Post by zullil »

zullil wrote:
AdminX wrote:
Krgp wrote:Please 'copy' your newly created BYO versions in the Test12 folder ... and then test ! One can also put any other 'Stockfish' version in the folder and have it benchmarked too !
Tester (16 x "bench 1024 4 16") Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz (Haswell) 4 CORES 2701 MHz HT ON (MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, EM64T, VT-x, AES, AVX, AVX2, FMA3)

01 stockfish_14042408_x64_modern.exe 4637+/- 29 Mnps
02 StockFishRW_473_140427_BYO.exe! 4618+/- 45 Mnps
03 StockFishRW_482a_140427_BYO.exe! 4587+/- 41 Mnps
04 stockfish_14042408_x64_modern_sse42.exe 4530+/- 70 Mnps
05 StockFishRW_49a_140427_BYO.exe! 4518+/- 27 Mnps
06 StockFishRW_140424_473_modern_sse42_avx.exe! 4494+/- 45 Mnps
07 StockFishRW_140424_482a_modern_sse42_avx.exe! 4477+/- 47 Mnps
08 StockFishRW_140424_473_modern_sse42.exe! 4474+/- 56 Mnps
09 StockFishRW_140424_49a_modern_sse42_avx.exe! 4411+/- 28 Mnps
10 StockFishRW_140424_49a_modern_sse42.exe! 4366+/- 35 Mnps
11 StockFishRW_140424_482a_modern_sse42.exe! 4349+/- 30 Mnps
Those nps numbers seem ridiculously high for a Stockfish variant (or anything else) running 4 threads.
Should be Knps?

So 01 above is 4637+/- 29 Knps, for example?