Ram usage

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

Moderator: Ras

Krzysztof Grzelak
Posts: 1588
Joined: Tue Jul 15, 2014 12:47 pm

Ram usage

Post by Krzysztof Grzelak »

I have a question, how much RAM is needed in a computer to test chess engines which will use the following RAM:
-4096
-8192
-16384
-32768
-65536
-98304

Thank you in advance for any information.
User avatar
yurikvelo
Posts: 710
Joined: Sat Dec 06, 2014 1:53 pm

Re: Ram usage

Post by yurikvelo »

Fishtest use 64 Mb hash (128 Mb per game pair)
With 4 Gb RAM you can run 16 game pairs simultaneously
Krzysztof Grzelak
Posts: 1588
Joined: Tue Jul 15, 2014 12:47 pm

Re: Ram usage

Post by Krzysztof Grzelak »

yurikvelo wrote: Sat Apr 09, 2022 5:32 pm Fishtest use 64 Mb hash (128 Mb per game pair)
With 4 Gb RAM you can run 16 game pairs simultaneously
Thank you for your answer yurikvelo. I have a question, why is it that if I set the hash 65536 in Stockfish, I show an error. However, other engines do not have such an error, for example Houdini, Komodo. I'm sorry but I can't understand why this is happening.
User avatar
RubiChess
Posts: 652
Joined: Fri Mar 30, 2018 7:20 am
Full name: Andreas Matthies

Re: Ram usage

Post by RubiChess »

Krzysztof Grzelak wrote: Sat Apr 09, 2022 6:08 pm
yurikvelo wrote: Sat Apr 09, 2022 5:32 pm Fishtest use 64 Mb hash (128 Mb per game pair)
With 4 Gb RAM you can run 16 game pairs simultaneously
Thank you for your answer yurikvelo. I have a question, why is it that if I set the hash 65536 in Stockfish, I show an error. However, other engines do not have such an error, for example Houdini, Komodo. I'm sorry but I can't understand why this is happening.
You are aware that 65536 is in MByte which means that you try to allocate 64GB RAM for the engine? Do you have a computer with more than 64GB RAM (remember that the OS and maybe a second engine also need some RAM)?
Krzysztof Grzelak
Posts: 1588
Joined: Tue Jul 15, 2014 12:47 pm

Re: Ram usage

Post by Krzysztof Grzelak »

RubiChess wrote: Sat Apr 09, 2022 7:16 pm You are aware that 65536 is in MByte which means that you try to allocate 64GB RAM for the engine? Do you have a computer with more than 64GB RAM (remember that the OS and maybe a second engine also need some RAM)?
Of course you're right I have 128 GB of RAM. I'm playing a Houdini - Komodo match with a hash set of 65536, and I'm fine. Stockfish always shows an error and I can't install it (I'm talking about hash 65536).
Sopel
Posts: 391
Joined: Tue Oct 08, 2019 11:39 pm
Full name: Tomasz Sobczyk

Re: Ram usage

Post by Sopel »

Krzysztof Grzelak wrote: Sat Apr 09, 2022 7:30 pm
RubiChess wrote: Sat Apr 09, 2022 7:16 pm You are aware that 65536 is in MByte which means that you try to allocate 64GB RAM for the engine? Do you have a computer with more than 64GB RAM (remember that the OS and maybe a second engine also need some RAM)?
Of course you're right I have 128 GB of RAM. I'm playing a Houdini - Komodo match with a hash set of 65536, and I'm fine. Stockfish always shows an error and I can't install it (I'm talking about hash 65536).
If you set each engine to 50% of total RAM you will inevitably run into memory problems and cripple either or both of the engines in unpredictable ways undermining the test completely.
dangi12012 wrote:No one wants to touch anything you have posted. That proves you now have negative reputations since everyone knows already you are a forum troll.

Maybe you copied your stockfish commits from someone else too?
I will look into that.
Modern Times
Posts: 3784
Joined: Thu Jun 07, 2012 11:02 pm

Re: Ram usage

Post by Modern Times »

I may be in the minority here, but I find these huge hash sizes (e.g. 64GB, 128GB) ridiculous. Just because you can does not mean you should, and where is the evidence that it improves engine performance and strength ?
Magnum
Posts: 195
Joined: Thu Feb 04, 2021 10:24 pm
Full name: Arnold Magnum

Re: Ram usage

Post by Magnum »

Krzysztof Grzelak wrote: Sat Apr 09, 2022 3:57 pm I have a question, how much RAM is needed in a computer to test chess engines which will use the following RAM:
-4096
-8192
-16384
-32768
-65536
-98304

Thank you in advance for any information.
64 GB RAM or more.
User avatar
RubiChess
Posts: 652
Joined: Fri Mar 30, 2018 7:20 am
Full name: Andreas Matthies

Re: Ram usage

Post by RubiChess »

Krzysztof Grzelak
Posts: 1588
Joined: Tue Jul 15, 2014 12:47 pm

Re: Ram usage

Post by Krzysztof Grzelak »

Modern Times wrote: Sun Apr 10, 2022 3:52 am I may be in the minority here, but I find these huge hash sizes (e.g. 64GB, 128GB) ridiculous. Just because you can does not mean you should, and where is the evidence that it improves engine performance and strength ?
And why do you think so.I understand that for a TCEC tournament they would give a hash of 1024, it would be okay for you.