Koivisto 2.0

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

Moderators: hgm, Dann Corbit, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Luecx
Posts: 25
Joined: Thu Jun 18, 2020 7:20 pm
Full name: Finn Eggers

Re: Koivisto 2.0

Post by Luecx » Wed Sep 09, 2020 12:53 pm

Guenther wrote:
Wed Sep 09, 2020 12:47 pm
Luecx wrote:
Wed Sep 09, 2020 12:40 pm
Guenther wrote:
Wed Sep 09, 2020 11:38 am
supersharp77 wrote:
Wed Sep 09, 2020 3:29 am
Luecx wrote:
Tue Sep 08, 2020 8:22 pm
A while ago, Kim Kåhre and I (Finn Eggers) have published the first version of our engine Koivisto. We have made some very fast progress before that release and we have also had a lot of progress in the last couple of days. That's why we want to publish Koivisto 2.0 today. Besides adding Lazy SMP which scales nicely up to 8 threads and beyond, we fixed a few bugs, improved the speed, and many more things as listed below:

...

The easiest way to contact us would be our Discord: (Finn) Luecx#0540 or (Kim) ChiefWiggum#1154
Whoa..Whoa... just a minute my friend...no windows binaries have been produced on v1.0 so far (or 2.0)... and windows searches on Koivisto bring up absolutely nothing.. so who is doing the testing...we need windows binaries for popcont and npopcount...Thank you AR :) :wink:
You can try those on your own risk from here (bmi2 completely untested - I can only run the 'old' ones on my hardware = no popcnt/core2)
(I noticed that on my slow old hardware Koivisto 2 runs now at around 740kn/s compared to around 600kn/s for version 1 - checked for startpos)
https://rwbc-chess.de/download.htm

We should perhaps adjust the makefile for those type of hardwares. On my hardware, Koivisto gets about 2.5Mnps there.
How fast is e.g. vanilla SF 11 for your hardware from startpos?
Let's say around depth 25-30, here it is around 640 kn/s.
The 64-bit version without bmi2 or sth (stockfish_20011801_x64) gets about 1.8 Mnps

User avatar
Guenther
Posts: 3939
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Full name: Guenther Simon
Contact:

Re: Koivisto 2.0

Post by Guenther » Wed Sep 09, 2020 1:24 pm

Guenther wrote:
Wed Sep 09, 2020 12:47 pm
Luecx wrote:
Wed Sep 09, 2020 12:40 pm

How fast is e.g. vanilla SF 11 for your hardware from startpos?
Let's say around depth 25-30, here it is around 640 kn/s.
The 64-bit version without bmi2 or sth (stockfish_20011801_x64) gets about 1.8 Mnps
(Edit: With 'vanilla' I meant the available compile for your hardware)
You should try the fastest compile of SF11 for your hardware, except you don't have used an optimized compile of your Koivisto yourself,
otherwise the comparison is not too precise, so you should try 'modern' or 'bmi2'.

Code: Select all

SF11   Koi2
2.5  / 1.8  = 1.389
0.74 / 0.64 = 1.156
https://rwbc-chess.de
'chessqueen' 2018-present, aka: 'George' 2013-2016, 'pichy' 2006-2013, 'Jorge Pichard' 2000-2006 (old forum)
Troll barometer:
https://docs.google.com/spreadsheets/d/ ... KSptBx9AUs

Luecx
Posts: 25
Joined: Thu Jun 18, 2020 7:20 pm
Full name: Finn Eggers

Re: Koivisto 2.0

Post by Luecx » Wed Sep 09, 2020 1:36 pm

Guenther wrote:
Wed Sep 09, 2020 1:24 pm
Guenther wrote:
Wed Sep 09, 2020 12:47 pm
Luecx wrote:
Wed Sep 09, 2020 12:40 pm

How fast is e.g. vanilla SF 11 for your hardware from startpos?
Let's say around depth 25-30, here it is around 640 kn/s.
The 64-bit version without bmi2 or sth (stockfish_20011801_x64) gets about 1.8 Mnps
(Edit: With 'vanilla' I meant the available compile for your hardware)
You should try the fastest compile of SF11 for your hardware, except you don't have used an optimized compile of your Koivisto yourself,
otherwise the comparison is not too precise, so you should try 'modern' or 'bmi2'.

Code: Select all

SF11   Koi2
2.5  / 1.8  = 1.389
0.74 / 0.64 = 1.156
Oh my bad! SF modern gets about 2Mnps on my hardware. So that would be a ratio of 1.2. I guess thats alright :)

User avatar
Sylwy
Posts: 3600
Joined: Fri Apr 21, 2006 2:19 pm
Location: IASI (Romania) - the historical capital of MOLDOVA

Re: Koivisto 2.0

Post by Sylwy » Wed Sep 09, 2020 2:06 pm

K 2.0 x64 BMI2 on my machine:
Image

Luecx
Posts: 25
Joined: Thu Jun 18, 2020 7:20 pm
Full name: Finn Eggers

Re: Koivisto 2.0

Post by Luecx » Wed Sep 09, 2020 2:26 pm

Sylwy wrote:
Wed Sep 09, 2020 2:06 pm
K 2.0 x64 BMI2 on my machine:
Image
That looks about right.

User avatar
Guenther
Posts: 3939
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Full name: Guenther Simon
Contact:

Re: Koivisto 2.0

Post by Guenther » Wed Sep 09, 2020 4:01 pm

Sylwy wrote:
Wed Sep 09, 2020 2:06 pm
K 2.0 x64 BMI2 on my machine:
My compilation I guess? So it seems it is fine.
https://rwbc-chess.de
'chessqueen' 2018-present, aka: 'George' 2013-2016, 'pichy' 2006-2013, 'Jorge Pichard' 2000-2006 (old forum)
Troll barometer:
https://docs.google.com/spreadsheets/d/ ... KSptBx9AUs

Luecx
Posts: 25
Joined: Thu Jun 18, 2020 7:20 pm
Full name: Finn Eggers

Re: Koivisto 2.0

Post by Luecx » Wed Sep 09, 2020 4:27 pm

Guenther wrote:
Wed Sep 09, 2020 4:01 pm
Sylwy wrote:
Wed Sep 09, 2020 2:06 pm
K 2.0 x64 BMI2 on my machine:
My compilation I guess? So it seems it is fine.
Yeah I guess its fine :)
As long as its slightly faster than most other engines, it should be fine :)

User avatar
Sylwy
Posts: 3600
Joined: Fri Apr 21, 2006 2:19 pm
Location: IASI (Romania) - the historical capital of MOLDOVA

Re: Koivisto 2.0

Post by Sylwy » Wed Sep 09, 2020 4:43 pm

Guenther wrote:
Wed Sep 09, 2020 4:01 pm
My compilation I guess? So it seems it is fine.
:wink: YES ! THANK YOU ! A fine engine !
More infos:
https://www.chessprogramming.org/Koivisto

Luecx
Posts: 25
Joined: Thu Jun 18, 2020 7:20 pm
Full name: Finn Eggers

Re: Koivisto 2.0

Post by Luecx » Wed Sep 09, 2020 4:55 pm

Sylwy wrote:
Wed Sep 09, 2020 4:43 pm
Guenther wrote:
Wed Sep 09, 2020 4:01 pm
My compilation I guess? So it seems it is fine.
:wink: YES ! THANK YOU ! A fine engine !
More infos:
https://www.chessprogramming.org/Koivisto

Wow, nice! Thank you very much :) It would also be really nice if Kim Kåhre would be added as an author because we both did the same amount of work :)

Furthermore, we only do check extensions when SEE > 0.

supersharp77
Posts: 1013
Joined: Sat Jul 05, 2014 5:54 am
Location: Southwest USA

Re: Koivisto 2.0

Post by supersharp77 » Thu Sep 10, 2020 1:08 am

Sylwy wrote:
Wed Sep 09, 2020 4:43 pm
Guenther wrote:
Wed Sep 09, 2020 4:01 pm
My compilation I guess? So it seems it is fine.
:wink: YES ! THANK YOU ! A fine engine !
More infos:
https://www.chessprogramming.org/Koivisto
v1.0 & v2.0

https://rwbc-chess.de/Downloads/Engines/Koivisto1+2.7z

Post Reply