Floyd 0.5 released

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

Moderator: Ras

mvk
Posts: 589
Joined: Tue Jun 04, 2013 10:15 pm

Re: The hash is a problem !

Post by mvk »

Sylwy wrote:Some infos regarding my above post :

GUI: Arena 3.5
OS: Widows XP SP3

SilvianR :wink:
Thanks for the report. I will dig into it and provide a fix with the next version. I can't promise this week because I'm rather busy and I want to combine it with a fix for another bug I found in my own testing.

Regarding the nice logo: I adopted the design but changed the lettering a bit. It is actually very close to what I had in mind myself, so you must be a mind reader. Do you know who is the artist of the background blue/white chessboard? I like to know if this image can be used freely, otherwise I need to replace it with something else.
[Account deleted]
User avatar
Sylwy
Posts: 5163
Joined: Fri Apr 21, 2006 4:19 pm
Location: IAȘI - the historical capital of MOLDOVA
Full name: Silvian Rucsandescu

Re: The hash is a problem !

Post by Sylwy »

mvk wrote:
Sylwy wrote:Some infos regarding my above post :

GUI: Arena 3.5
OS: Widows XP SP3

SilvianR :wink:
1.-Thanks for the report. I will dig into it and provide a fix with the next version. I can't promise this week because I'm rather busy and I want to combine it with a fix for another bug I found in my own testing.

2.-Regarding the nice logo: I adopted the design but changed the lettering a bit. It is actually very close to what I had in mind myself, so you must be a mind reader. Do you know who is the artist of the background blue/white chessboard? I like to know if this image can be used freely, otherwise I need to replace it with something else.

1.-Nice to hear that !
2.-The artist ? Nope ! The blue/white chessboard image comes from Susan Polgar chess blog:

https://chessdailynews.com/100000-manny ... pionships/

SilvianR :wink:
mvk
Posts: 589
Joined: Tue Jun 04, 2013 10:15 pm

Re: The hash is a problem !

Post by mvk »

Sylwy wrote:1.-Thanks for the report. I will dig into it and provide a fix with the next version. I can't promise this week because I'm rather busy and I want to combine it with a fix for another bug I found in my own testing.
I think I found the problem, or at least part of it: Arena (I tried 3.0 btw) wants to change the Hash table size to -1. This is not a valid value, because -1 is less than the minimum of 0. Next is that floyd misreads this value, and takes it for "unlimited". And then it tries to use as much memory as the system allows. Possibly in an attempt to punish Arena. I don't know a solution yet, but it can't be hard.

May I ask how much memory is in your computer? Because on mine (with win7) I see that the memory usage tops at 1029 MB. This is the largest that windows allows for a 32bit engine.
[Account deleted]
User avatar
Sylwy
Posts: 5163
Joined: Fri Apr 21, 2006 4:19 pm
Location: IAȘI - the historical capital of MOLDOVA
Full name: Silvian Rucsandescu

Re: The hash is a problem !

Post by Sylwy »

mvk wrote: May I ask how much memory is in your computer? Because on mine (with win7) I see that the memory usage tops at 1029 MB. This is the largest that windows allows for a 32bit engine.
On my computer designed for chess tests: 2 GB.

SilvianR :wink:
User avatar
hgm
Posts: 28487
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: The hash is a problem !

Post by hgm »

mvk wrote: I don't know a solution yet, but it can't be hard.
Apparently Arena initializes the 'max' parameter to 0xFFFFFFFF as default value, forgetting that it is a signed int, and not unsigned, so that it really would have had to be 0x3FFFFFFF, because the value it uses means -1 as signed in. When it later sets the hash value it limits it to the engine's max, and -1 is always smaller than what the user specified.

Work-around would be to run it under Polyglot, which apparently doesn't make this mistake.

If you want to cater to this Arena bug you can have Floyd specify an explicit max in the Hash options.
User avatar
Graham Banks
Posts: 45675
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: The hash is a problem !

Post by Graham Banks »

I'll try it on ChessGUI shortly.
gbanksnz at gmail.com
User avatar
Graham Banks
Posts: 45675
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: The hash is a problem !

Post by Graham Banks »

Graham Banks wrote:I'll try it on ChessGUI shortly.
Works okay under ChessGUI. :)
gbanksnz at gmail.com
User avatar
Sylwy
Posts: 5163
Joined: Fri Apr 21, 2006 4:19 pm
Location: IAȘI - the historical capital of MOLDOVA
Full name: Silvian Rucsandescu

Re: The hash is a problem !

Post by Sylwy »

Graham Banks wrote:
Graham Banks wrote:I'll try it on ChessGUI shortly.
Works okay under ChessGUI. :)
Well, under Fritz all is also OK !

SilvianR :wink:
User avatar
Graham Banks
Posts: 45675
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: The hash is a problem !

Post by Graham Banks »

Sylwy wrote:
Graham Banks wrote:
Graham Banks wrote:I'll try it on ChessGUI shortly.
Works okay under ChessGUI. :)
Well, under Fritz all is also OK !

SilvianR :wink:
How strong do you estimate Floyd to be?
gbanksnz at gmail.com
User avatar
hgm
Posts: 28487
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: The hash is a problem !

Post by hgm »

Graham Banks wrote:Works okay under ChessGUI. :)
Sylwy wrote:Well, under Fritz all is also OK !
This is what you would expect if it is an Arena bug...
Last edited by hgm on Tue Oct 13, 2015 9:55 am, edited 1 time in total.