memory use of engines

Questions and comments related to CCRL testing study

memory use of engines

Postby Uri Blass » Sat Nov 18, 2006 9:00 pm

I do the following experiment
give engine 128 mbytes hash and watch the window task manager

Results:
Glaurung:
140,172 kbytes after 1 minutes of search
140,180 after 3 minutes of search

Toga:
133,912 kbytes after 1 minutes of search
133,988 kbytes after 3 minutes of search

Rybka2.2 without tablebases:
146,520 kbytes after 1 minutes of search
146,748 kbytes after 3 minutes of search

Rybka2.2 with all the 5 piece tablebases is using more than
161,000 kbytes in the same conditions and I watched for it
161,244 after 1:30 minutes and it also seem to increase memory faster than the other engines that I mentioned.

I wonder if there are engines that use more ram than rybka when they use 128 hash and I wonder if there should be no rule of limitation of use of ram in CCRL games and if it means that some engines need to use less hash they should use less hash.

Uri
Uri Blass
 
Posts: 40
Joined: Tue Jun 20, 2006 12:44 pm

Hash size

Postby NS » Sun Nov 19, 2006 12:13 am

x2 Hash size = +7 ELO.
x 1.2 Hash size = +2 ELO :)
NS
 
Posts: 1
Joined: Mon Aug 21, 2006 8:41 am

Postby Ray » Sun Nov 19, 2006 6:56 am

Task manager will also include the tablebase cache that is being used as well would it not ?

You didn't try Loop by the way... It uses a lot more memory than what you said, and the read-me file acknowledges that, but says

Code: Select all
The memory consumption of current versions of LOOP and LIST is ~30 percent higher than a set norm according to the hash value. This is indeed of no particular importance and has no further disandvantages.


No disadvantage, but what about an advantage ??
Ray
 
Posts: 14725
Joined: Sun Dec 18, 2005 6:33 pm
Location: U.K.

Postby Ray » Sun Nov 19, 2006 7:27 am

You will also be far more knowledgable than me here Uri, but 128 MB = 131,072 KB does it not ? So that is what we'd expect to see in task manager, ignoring any other tablebase cache etc. Don't some engines also use a separate pawn hash/cache or something ?

I doubt that the small differences you've outlined make any differece at all
Ray
 
Posts: 14725
Joined: Sun Dec 18, 2005 6:33 pm
Location: U.K.

Postby Chuck Wilson » Sun Nov 19, 2006 8:06 am

You mention some good points, Ray. I think without analysis of the source code it is difficult to tell exactly how much memory is being used for hash tables. As a tester, you just have to set the target figure as best you can - unless something is specified in the program's documentation, it's pretty difficult to know. Also, as mentioned, this is quite likely to make only a small difference in a well-established rating.

Cheers,

Chuck
Chuck Wilson
 
Posts: 540
Joined: Fri Oct 13, 2006 2:53 pm
Location: Annapolis, Maryland, USA


Return to CCRL Public

Who is online

Users browsing this forum: Google [Bot] and 5 guests