A complete 2000 lines of code engine

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
xr_a_y
Posts: 848
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y » Fri Dec 13, 2019 7:06 pm

Minic 1.19 is now released

I shall be a little stronger due to some history (included CMH) tuning
Some UCI fixes about pondering, but probably still not ok

User avatar
xr_a_y
Posts: 848
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y » Wed Dec 18, 2019 10:32 am

The given figure is Minic SMP scaling in elo from 1 to 8 threads on a i7-9700K using only 256Mb hash.
What are your opinion on it ?

Code: Select all

   1 minic_dev_8_threads            94      24     303   63.2%   61.1%
   2 minic_dev_7_threads            70      22     303   59.9%   65.7%
   3 minic_dev_6_threads            66      24     303   59.4%   61.4%
   4 minic_dev_5_threads            25      22     302   53.6%   66.9%
   5 minic_dev_4_threads            10      24     302   51.5%   63.9%
   6 minic_dev_3_threads           -24      23     302   46.5%   64.6%
   7 minic_dev_2_threads           -74      25     302   39.6%   57.9%
   8 minic_dev                    -180      28     303   26.2%   45.9%

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

Re: A complete 2000 lines of code engine

Post by Guenther » Wed Dec 18, 2019 10:40 am

xr_a_y wrote:
Wed Dec 18, 2019 10:32 am
The given figure is Minic SMP scaling in elo from 1 to 8 threads on a i7-9700K using only 256Mb hash.
What are your opinion on it ?

Code: Select all

   1 minic_dev_8_threads            94      24     303   63.2%   61.1%
   2 minic_dev_7_threads            70      22     303   59.9%   65.7%
   3 minic_dev_6_threads            66      24     303   59.4%   61.4%
   4 minic_dev_5_threads            25      22     302   53.6%   66.9%
   5 minic_dev_4_threads            10      24     302   51.5%   63.9%
   6 minic_dev_3_threads           -24      23     302   46.5%   64.6%
   7 minic_dev_2_threads           -74      25     302   39.6%   57.9%
   8 minic_dev                    -180      28     303   26.2%   45.9%
Is the third column the average error bar?

User avatar
CMCanavessi
Posts: 858
Joined: Thu Dec 28, 2017 3:06 pm
Location: Argentina

Re: A complete 2000 lines of code engine

Post by CMCanavessi » Wed Dec 18, 2019 12:19 pm

To me it looks like elo, error, games played, % of points, % of draws.
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls

Alayan
Posts: 47
Joined: Tue Nov 19, 2019 7:48 pm
Full name: Alayan Feh

Re: A complete 2000 lines of code engine

Post by Alayan » Wed Dec 18, 2019 12:32 pm

xr_a_y wrote:
Wed Dec 18, 2019 10:32 am
The given figure is Minic SMP scaling in elo from 1 to 8 threads on a i7-9700K using only 256Mb hash.
What are your opinion on it ?
This data is not very useful, because what really matters is how single-core with T time compare to N threads with T/N time (keeping the total hardware time the same). Giving the same time to different threads count creates an extra dependency on how much strength Minic gains with extra time at the bullet TC you used.

The ideal measure would be "time to elo" curves, but that requires more effort to get that T - 1 vs T/N - N.

User avatar
xr_a_y
Posts: 848
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y » Wed Dec 18, 2019 5:32 pm

CMCanavessi wrote:
Wed Dec 18, 2019 12:19 pm
To me it looks like elo, error, games played, % of points, % of draws.
Exactly, cutechess output, sorry for the missed header.

User avatar
xr_a_y
Posts: 848
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y » Sat Dec 28, 2019 9:18 am

I've just released Minic 1.21 with some fixes (UCI support shall be better/good ?).
This is the version that may be used for TCEC in a few days :D

User avatar
xr_a_y
Posts: 848
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y » Sun Dec 29, 2019 7:16 pm

Late patch for TCEC : Minic 1.22 is available

Not well tested versus other engines :oops: , mainly intuition ... so I keep fingers crossed ...

User avatar
CMCanavessi
Posts: 858
Joined: Thu Dec 28, 2017 3:06 pm
Location: Argentina

Re: A complete 2000 lines of code engine

Post by CMCanavessi » Mon Dec 30, 2019 4:45 pm

Did you fix ponder or it's still on the to-do list?
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls

User avatar
xr_a_y
Posts: 848
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y » Mon Dec 30, 2019 5:01 pm

CMCanavessi wrote:
Mon Dec 30, 2019 4:45 pm
Did you fix ponder or it's still on the to-do list?
Ponder UCI option is here.
"Ponder move" is displayed but I'm still not sure how to handle ponderhit.
I see other engines going from "infinite mode" to "timed mode" and continue to search, but I don't get that.
So for now I just stop search on ponderhit and wait for another go command.

I feel silly about that.

After reading viewtopic.php?f=7&t=69279&start=50, I am even more lost.

Post Reply