Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Virtual Memory

Author: Dann Corbit

Date: 20:01:19 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?

Virtual memory will slow down the program by several orders of magnitude.  Just
make your hash tables too big, and you will find out why.  If a disk has an
access time of ten milliseconds [we'll pretend the read/transfer is
instantaneous], and memory has a speed of 100 nanoseconds, that's
10*10e-3 = 1e-2 sec disk
100*10e-9 = 1e-7 sec ram

Ram would be (roughly) ten thousand times faster.

I'm not sure about 95/98/00, but under NT, I can allocated 500+ megs of ram and
I only have 128 megs of physical ram on my machine.  But to loop through that
array would take a loooooong time.  In short, what you wish for is not what you
wish for.



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.