[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] What does the cache do?

From: Joseph Heled
Subject: Re: [Bug-gnubg] What does the cache do?
Date: Mon, 30 Jun 2003 07:44:14 +1200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021202

The cubeless 0ply evaluations can always stay (unless the net is changed), and they are the what counts.


Øystein Johansen wrote:
address@hidden wrote:

What does the cache setting do?

GNU Backgammon takes some of the memory and uses it as cache. When gnubg makes an evaluations and saves the results from the evaluation (All equities and probabilities) in the cache memory. Then starting a new evaluation it first checks the cache memory to see if this position is stored from a previous evaluation. If it is it just takes the equities and probabilities from the cache. Else it calculates the probabilities and equities from the neural nets.

Retriving evaluation results from cache memory is much faster than doing evaluations of the neural net!

The user can adjust the size of the cache memory. The size is given in number of enteries. Jørn, what's the size of a evaluation stored? 6 x sizeof(float)?

Jørn, should we reimplement the "Clear cache" button we did in Alborg in february? I think I've lost it, before it was commited to the CVS. And as you said: The "clear cache" function should also be called when changing METs. (Currently I have to set the cache size to 0, when I play around with different METs.)


Bug-gnubg mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]