Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Virtual Memory

Author: Bruce Moreland

Date: 23:08:11 01/18/00

Go up one level in this thread


On January 18, 2000 at 22:42:25, John Wish wrote:

>Is there a way to expand hash table sizes using virtual memory from your' hard
>drive for software such as Fritz 5.32, Rebel 10 (or century), or Chessmaster?

The point of virtual memory is that stuff that is used a lot tends to stay in
memory, while stuff that is rarely used tends to exit memory and sit out on the
disk.

A computer chess hash table is accessed randomly, which means that there's no
part of it that's accessed a lot more than any of the rest of it.

So the whole idea of virtual memory is defeated.  The result of the defeat is
that your hard disk light will come on and stay on permanently, and your
program's node rate will drop to near zero.

When I was in college people would sometimes write a program called a "memory
pager", whose intent was to overload the multi-user minicomputer.  People would
start a pager running, then sit back and wait for everyone to get that wonderful
"the computer just crashed and I lost all my work" expression on their faces.

A computer chess program that overcommits hash is a somewhat complicated version
of this memory pager program.

bruce




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.