Pedone memory consumption

Discussion of chess software programming and technical issues.

Moderator: Ras

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

Pedone memory consumption

Post by xr_a_y »

I'm running a tourney with many engines including Pedone.
I asked for 256Mb TT for every engine, all of them roughtly respect that but Pedone is currently using 1.5Gb.
Anyone already saw the same issue with Pedone ?
User avatar
Fabio Gobbato
Posts: 219
Joined: Fri Apr 11, 2014 10:45 am
Full name: Fabio Gobbato

Re: Pedone memory consumption

Post by Fabio Gobbato »

Maybe you have used a lot of threads or maybe you have used a larger trasnposition table and you have changed it without sending and ucinewgame. The transposition table is allocated once the engine receive an ucinewgame.
Are you using the tablebase or not? What are the commands that the gui sends to the engine and what gui are you using?
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Pedone memory consumption

Post by xr_a_y »

Thanks for your answer. I'm using cutechess, and ask for a 256Mb TT.
jdart
Posts: 4406
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: Pedone memory consumption

Post by jdart »

I think it is possible not all UCI GUIs send ucinewgame.

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

Re: Pedone memory consumption

Post by xr_a_y »

jdart wrote: Mon Mar 02, 2020 3:55 pm I think it is possible not all UCI GUIs send ucinewgame.

--Jon
But the default hash size of an engine is probably not 1.5gb?
User avatar
Fabio Gobbato
Posts: 219
Joined: Fri Apr 11, 2014 10:45 am
Full name: Fabio Gobbato

Re: Pedone memory consumption

Post by Fabio Gobbato »

Cutechess cli or the gui? What OS are you using? Linux or Windows? I will have a look
Modern Times
Posts: 3752
Joined: Thu Jun 07, 2012 11:02 pm

Re: Pedone memory consumption

Post by Modern Times »

I've found that under Cutechess Pedone refuses to run when you set concurrency greater than 4. Not a big issue, but strange.
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Pedone memory consumption

Post by xr_a_y »

Fabio Gobbato wrote: Mon Mar 02, 2020 8:08 pm Cutechess cli or the gui? What OS are you using? Linux or Windows? I will have a look
I detected the issue under cutechess-gui for Windows.
User avatar
Fabio Gobbato
Posts: 219
Joined: Fri Apr 11, 2014 10:45 am
Full name: Fabio Gobbato

Re: Pedone memory consumption

Post by Fabio Gobbato »

I have solved the allocation problem and now it works also with concurrency. I have changed the development version so the fix will be available with the next release. Thank you for reporting me the problems.
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Pedone memory consumption

Post by xr_a_y »

Great. Thank you.