Weini questions

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

Moderators: hgm, Rebel, chrisw

User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Weini questions

Post by xr_a_y »

The name "Weini" has the same letter as my first name "vveini" -> "vivien" and also means "WisEness Is Not Inside". For the record there is also a climbing route with this name (https://www.camptocamp.org/waypoints/35 ... e-gournier) in Auvergne where I leave.

Weini does not support memory command, you can use the json config file to set different hash table size or use

Code: Select all

setoption XXXX YYYYY
inside the GUI or cutechess (via CLOP for example).

The TT size are

"ttSize" : TT for negamax
"ttQSize" : TT for QSearch
"ttESize" : TT for evaluation
"ttELSize" : TT for lazy evaluation (not used by default)
"ttEPSize" : TT for pawn evaluation

The most influent TT size are negamax, evaluation and pawn evaluation.
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Weini questions

Post by xr_a_y »

It should be easy to made all option available also by the command line... I'll play with this soon.
Gabor Szots
Posts: 1362
Joined: Sat Jul 21, 2018 7:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: Weini questions

Post by Gabor Szots »

Thanks Vivien.
Gabor Szots
CCRL testing group
Gabor Szots
Posts: 1362
Joined: Sat Jul 21, 2018 7:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: Weini questions

Post by Gabor Szots »

Those TT sizes are a bit nebulous. I have figured out that "ttSize" increases the hash size by approximately in the sequence 37MB-74MB-148MB-292MB. E.g. to set 148 MB I have to give "ttSize" a value in the 2100000 - 4100000 range (Weini makes a rounding down).
I have not come to a formula regarding the rest of the tables. Some more easy to understand values (e.g. direct MB's) could certainly help.
Gabor Szots
CCRL testing group
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Weini questions

Post by xr_a_y »

Yes oops, it isn't clear at all indeed.

All TT size work as follows :
- the TT size is the number of bucket in the TT, not the Mb used.
- the TT size given is always rounded to the previous power of 2

If you run Weini in the command line without any argument, you'll get more detail on memory really used.

Code: Select all

#INFO    - 2018-08-08 13:39:49-161: Init TT
#INFO    - 2018-08-08 13:39:49-161: Adapted TT size 1048576
#INFO    - 2018-08-08 13:39:49-161: Size of TT 36Mo
#INFO    - 2018-08-08 13:39:49-185: Init TTQ
#INFO    - 2018-08-08 13:39:49-185: Adapted QTT size 262144
#INFO    - 2018-08-08 13:39:49-190: Size of QTT 9Mo
#INFO    - 2018-08-08 13:39:49-190: Init TTE
#INFO    - 2018-08-08 13:39:49-190: Adapted ETT size 524288
#INFO    - 2018-08-08 13:39:49-190: Size of ETT 8Mo
#INFO    - 2018-08-08 13:39:49-194: Init TTEL
#INFO    - 2018-08-08 13:39:49-194: Adapted ETT size 262144
#INFO    - 2018-08-08 13:39:49-194: Size of ETT 4Mo
#INFO    - 2018-08-08 13:39:49-196: Init TTEP
#INFO    - 2018-08-08 13:39:49-196: Adapted ETT size 262144
#INFO    - 2018-08-08 13:39:49-196: Size of ETT 4Mo
Gabor Szots
Posts: 1362
Joined: Sat Jul 21, 2018 7:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: Weini questions

Post by Gabor Szots »

xr_a_y wrote: Wed Aug 08, 2018 1:40 pm Yes oops, it isn't clear at all indeed.

All TT size work as follows :
- the TT size is the number of bucket in the TT, not the Mb used.
- the TT size given is always rounded to the previous power of 2

If you run Weini in the command line without any argument, you'll get more detail on memory really used.

Code: Select all

#INFO    - 2018-08-08 13:39:49-161: Init TT
#INFO    - 2018-08-08 13:39:49-161: Adapted TT size 1048576
#INFO    - 2018-08-08 13:39:49-161: Size of TT 36Mo
#INFO    - 2018-08-08 13:39:49-185: Init TTQ
#INFO    - 2018-08-08 13:39:49-185: Adapted QTT size 262144
#INFO    - 2018-08-08 13:39:49-190: Size of QTT 9Mo
#INFO    - 2018-08-08 13:39:49-190: Init TTE
#INFO    - 2018-08-08 13:39:49-190: Adapted ETT size 524288
#INFO    - 2018-08-08 13:39:49-190: Size of ETT 8Mo
#INFO    - 2018-08-08 13:39:49-194: Init TTEL
#INFO    - 2018-08-08 13:39:49-194: Adapted ETT size 262144
#INFO    - 2018-08-08 13:39:49-194: Size of ETT 4Mo
#INFO    - 2018-08-08 13:39:49-196: Init TTEP
#INFO    - 2018-08-08 13:39:49-196: Adapted ETT size 262144
#INFO    - 2018-08-08 13:39:49-196: Size of ETT 4Mo
Ah, that certainly helps.
Gabor Szots
CCRL testing group
AndrewGrant
Posts: 1754
Joined: Tue Apr 19, 2016 6:08 am
Location: U.S.A
Full name: Andrew Grant

Re: Weini questions

Post by AndrewGrant »

Gabor Szots wrote: Wed Aug 08, 2018 2:07 pm
xr_a_y wrote: Wed Aug 08, 2018 1:40 pm Yes oops, it isn't clear at all indeed.

All TT size work as follows :
- the TT size is the number of bucket in the TT, not the Mb used.
- the TT size given is always rounded to the previous power of 2

If you run Weini in the command line without any argument, you'll get more detail on memory really used.

Code: Select all

#INFO    - 2018-08-08 13:39:49-161: Init TT
#INFO    - 2018-08-08 13:39:49-161: Adapted TT size 1048576
#INFO    - 2018-08-08 13:39:49-161: Size of TT 36Mo
#INFO    - 2018-08-08 13:39:49-185: Init TTQ
#INFO    - 2018-08-08 13:39:49-185: Adapted QTT size 262144
#INFO    - 2018-08-08 13:39:49-190: Size of QTT 9Mo
#INFO    - 2018-08-08 13:39:49-190: Init TTE
#INFO    - 2018-08-08 13:39:49-190: Adapted ETT size 524288
#INFO    - 2018-08-08 13:39:49-190: Size of ETT 8Mo
#INFO    - 2018-08-08 13:39:49-194: Init TTEL
#INFO    - 2018-08-08 13:39:49-194: Adapted ETT size 262144
#INFO    - 2018-08-08 13:39:49-194: Size of ETT 4Mo
#INFO    - 2018-08-08 13:39:49-196: Init TTEP
#INFO    - 2018-08-08 13:39:49-196: Adapted ETT size 262144
#INFO    - 2018-08-08 13:39:49-196: Size of ETT 4Mo
Ah, that certainly helps.
You need to change this to match convention. Rounding to power of 2 below is common place. Cryptic sizes to TTsizes are not
#WeAreAllDraude #JusticeForDraude #RememberDraude #LeptirBigUltra
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Weini questions

Post by xr_a_y »

You mean use Mb for tt size instead of number of bucket ?
I will. Thanks for the advice.
AndrewGrant
Posts: 1754
Joined: Tue Apr 19, 2016 6:08 am
Location: U.S.A
Full name: Andrew Grant

Re: Weini questions

Post by AndrewGrant »

Yes
#WeAreAllDraude #JusticeForDraude #RememberDraude #LeptirBigUltra
"Those who can't do, clone instead" - Eduard ( A real life friend, not this forum's Eduard )
Gabor Szots
Posts: 1362
Joined: Sat Jul 21, 2018 7:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: Weini questions

Post by Gabor Szots »

Vivien, I can see that you have withdrawn 0.0.20 and replaced it with 0.0.21. What are the important differences?
Gabor Szots
CCRL testing group