Problem with UCI engines hash in Arena

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

Moderators: hgm, Rebel, chrisw

Adam Hair
Posts: 3226
Joined: Wed May 06, 2009 10:31 pm
Location: Fuquay-Varina, North Carolina

Re: Problem with UCI engines hash in Arena

Post by Adam Hair »

Modern Times wrote:
carldaman wrote:Hi Ray, glad a serious tester has noticed this as well. I don't mean to pick on Arena, as I like the software, which came free, to boot :), but some of the glitches can really get in the way of good testing.

My comments were meant as constructive criticism. Sorry if I was not aware of recent work on Arena.

Regards,
CL
The trick I think is to set the hash size in each engine's UCI parameters, because Arena's global UCI setting does not always work.

A couple of CCRL testers use Arena extensively, they don't have the issue, and I think this is what they have done to get around it.
The only reason why it does not always work has to do with the engines themselves. Arena sends 'setoption name Hash value [MB]', where [MB] would be the amount of hash chosen. Arena 3 also will send 'memory [MB]' for WB engines. But not all engines allow the hash to be changed.

Also, Hash is not an UCI parameter that is avaliable in the Configuration window, probably because it is configured globally.
Adam Hair
Posts: 3226
Joined: Wed May 06, 2009 10:31 pm
Location: Fuquay-Varina, North Carolina

Re: Problem with UCI engines hash in Arena

Post by Adam Hair »

Graham Banks wrote:
Modern Times wrote:
carldaman wrote:Hi Ray, glad a serious tester has noticed this as well. I don't mean to pick on Arena, as I like the software, which came free, to boot :), but some of the glitches can really get in the way of good testing.

My comments were meant as constructive criticism. Sorry if I was not aware of recent work on Arena.

Regards,
CL
The trick I think is to set the hash size in each engine's UCI parameters, because Arena's global UCI setting does not always work.

A couple of CCRL testers use Arena extensively, they don't have the issue, and I think this is what they have done to get around it.
It's been a while since I used Arena, but from memory you need to rightclick in the engine pane after installing the engine, and set the parameters there. Same as with Shredder GUI if I recall correctly.
I do not know about any version before v2.0.1. However, from v2.0.1 on you start the engine, right click in the area of the screen where its PV information would be displayed, and left click on 'Configure [engine name]'.
User avatar
Rebel
Posts: 6991
Joined: Thu Aug 18, 2011 12:04 pm

Re: Problem with UCI engines hash in Arena

Post by Rebel »

Michael Diosi wrote:Hi,

your source is Pravda? Didn't you learn yet not to listen to them?

... and yes we are checking this..

Michael
http://www.playwitharena.com
Michael, Arena is great and extremely programmer friendly and yet there is one thing that bothers me but perhaps you know the answer, here is my question: The default setting:

Engine Tournament -> Start/Quit -> Restart Arena after xx games

is set to 20.

And such an option + default setting is odd and suspicious as my immediate thought a programmer only would add such an option if his artwork is facing memory leaks, or even worse causes a crash sometimes.

Do you remember why this has been done?

There are other possibilities of course, maybe he just liked the option and Arena is fine.
BubbaTough
Posts: 1154
Joined: Fri Jun 23, 2006 5:18 am

Re: Problem with UCI engines hash in Arena

Post by BubbaTough »

I also believe there is a bug in the hash settings in Arena. I have experienced it with multiple engines.

-Sam
kranium
Posts: 2129
Joined: Thu May 29, 2008 10:43 am

Re: Problem with UCI engines hash in Arena

Post by kranium »

Adam Hair wrote: Also, Hash is not an UCI parameter that is avaliable in the Configuration window, probably because it is configured globally.
I believe it works as follows:

UCI Hash is available to the user unless
'Engines'
'Manage'
'UCI'
'Common hashtable size'
is checked
Christopher Conkie
Posts: 6073
Joined: Sat Apr 01, 2006 9:34 pm
Location: Scotland

Re: Problem with UCI engines hash in Arena

Post by Christopher Conkie »

kranium wrote:
Adam Hair wrote: Also, Hash is not an UCI parameter that is avaliable in the Configuration window, probably because it is configured globally.
I believe it works as follows:

UCI Hash is available to the user unless
'Engines'
'Manage'
'UCI'
'Common hashtable size'
is checked
Arena support comes pretty cheap these days.

Thank you Norman.....never knew you used hash in that way......

Chris
Modern Times
Posts: 3546
Joined: Thu Jun 07, 2012 11:02 pm

Re: Problem with UCI engines hash in Arena

Post by Modern Times »

BubbaTough wrote:I also believe there is a bug in the hash settings in Arena. I have experienced it with multiple engines.

-Sam
As have I.

But see Norman's post above !
Christopher Conkie
Posts: 6073
Joined: Sat Apr 01, 2006 9:34 pm
Location: Scotland

Re: Problem with UCI engines hash in Arena

Post by Christopher Conkie »

Modern Times wrote:
BubbaTough wrote:I also believe there is a bug in the hash settings in Arena. I have experienced it with multiple engines.

-Sam
As have I.

But see Norman's post above !
Thank you Ray. Long time no see. I hope you have a lovely New Year.

:)

Chris
Adam Hair
Posts: 3226
Joined: Wed May 06, 2009 10:31 pm
Location: Fuquay-Varina, North Carolina

Re: Problem with UCI engines hash in Arena

Post by Adam Hair »

What have you experienced, Sam? Maybe I am not on the same page as everybody else. I do not use Arena 3, so I do not know if there exists a problem with that version. But I have used v2.0.1 for almost 4 years (I believe it was released in January 2009). I have not experienced a hash problem that was due to Arena 2.0.1.
Adam Hair
Posts: 3226
Joined: Wed May 06, 2009 10:31 pm
Location: Fuquay-Varina, North Carolina

Re: Problem with UCI engines hash in Arena

Post by Adam Hair »

kranium wrote:
Adam Hair wrote: Also, Hash is not an UCI parameter that is avaliable in the Configuration window, probably because it is configured globally.
I believe it works as follows:

UCI Hash is available to the user unless
'Engines'
'Manage'
'UCI'
'Common hashtable size'
is checked
That is exactly how it works to set it globally. So, if the user chose 256 MB for all UCI engines, Arena sends the command 'setoption name Hash value 256' to each UCI engine upon start up.