Koivisto 2.0

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

Moderators: hgm, Rebel, chrisw

Luecx
Posts: 138
Joined: Thu Jun 18, 2020 9:20 pm
Full name: Finn Eggers

Re: Koivisto 2.0

Post by Luecx »

Guenther wrote: Wed Sep 09, 2020 2:47 pm
Luecx wrote: Wed Sep 09, 2020 2:40 pm
Guenther wrote: Wed Sep 09, 2020 1:38 pm
supersharp77 wrote: Wed Sep 09, 2020 5:29 am
Luecx wrote: Tue Sep 08, 2020 10: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
The ability to speak does not make you intelligent. https://github.com/Luecx/Koivisto

Image
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Koivisto 2.0

Post by Guenther »

Guenther wrote: Wed Sep 09, 2020 2:47 pm
Luecx wrote: Wed Sep 09, 2020 2: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

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
Luecx
Posts: 138
Joined: Thu Jun 18, 2020 9:20 pm
Full name: Finn Eggers

Re: Koivisto 2.0

Post by Luecx »

Guenther wrote: Wed Sep 09, 2020 3:24 pm
Guenther wrote: Wed Sep 09, 2020 2:47 pm
Luecx wrote: Wed Sep 09, 2020 2: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 :)
The ability to speak does not make you intelligent. https://github.com/Luecx/Koivisto

Image
User avatar
Sylwy
Posts: 4465
Joined: Fri Apr 21, 2006 4:19 pm
Location: IASI - the historical capital of MOLDOVA
Full name: SilvianR

Re: Koivisto 2.0

Post by Sylwy »

K 2.0 x64 BMI2 on my machine:
Image
Luecx
Posts: 138
Joined: Thu Jun 18, 2020 9:20 pm
Full name: Finn Eggers

Re: Koivisto 2.0

Post by Luecx »

Sylwy wrote: Wed Sep 09, 2020 4:06 pm K 2.0 x64 BMI2 on my machine:
Image
That looks about right.
The ability to speak does not make you intelligent. https://github.com/Luecx/Koivisto

Image
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Koivisto 2.0

Post by Guenther »

Sylwy wrote: Wed Sep 09, 2020 4:06 pm K 2.0 x64 BMI2 on my machine:
My compilation I guess? So it seems it is fine.
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
Luecx
Posts: 138
Joined: Thu Jun 18, 2020 9:20 pm
Full name: Finn Eggers

Re: Koivisto 2.0

Post by Luecx »

Guenther wrote: Wed Sep 09, 2020 6:01 pm
Sylwy wrote: Wed Sep 09, 2020 4: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 :)
The ability to speak does not make you intelligent. https://github.com/Luecx/Koivisto

Image
User avatar
Sylwy
Posts: 4465
Joined: Fri Apr 21, 2006 4:19 pm
Location: IASI - the historical capital of MOLDOVA
Full name: SilvianR

Re: Koivisto 2.0

Post by Sylwy »

Guenther wrote: Wed Sep 09, 2020 6: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: 138
Joined: Thu Jun 18, 2020 9:20 pm
Full name: Finn Eggers

Re: Koivisto 2.0

Post by Luecx »

Sylwy wrote: Wed Sep 09, 2020 6:43 pm
Guenther wrote: Wed Sep 09, 2020 6: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.
The ability to speak does not make you intelligent. https://github.com/Luecx/Koivisto

Image
supersharp77
Posts: 1242
Joined: Sat Jul 05, 2014 7:54 am
Location: Southwest USA

Re: Koivisto 2.0

Post by supersharp77 »

Sylwy wrote: Wed Sep 09, 2020 6:43 pm
Guenther wrote: Wed Sep 09, 2020 6: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