Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Swapping

Author: Robert Hyatt

Date: 20:50:42 08/31/00

Go up one level in this thread


On August 31, 2000 at 22:29:26, pavel wrote:

>On August 31, 2000 at 21:10:19, Robert Hyatt wrote:
>
>>On August 31, 2000 at 19:06:57, Roger Kyte wrote:
>>
>>>Hello,
>>>
>>>When a chess engine is running, is there much swapping occuring with the hard
>>>drive ??  How much ??  Allot ??
>>
>>
>>Set up properly, there should be zero swapping.  Compare the speed of accessing
>>something in memory vs the speed of doing a seek/read from disk.  7 orders of
>>magnitude different...
>
>wow !! are you speaking in martian language? (joke :) )
>
>pls explaing, I didnt understand it.
>and also what would coz a swapping ?
>I did see a lot swapping by giving comet with 514mb of hash ;)
>
>
>thanks
>
>pavel


A good cpu today can go way over one billion instructions per second.  A good
disk drive can do one I/O every 10 milliseconds or so (100 reads per second,
roughly).  Divide one billion by 100, and take log10(result) and you get
7.  :)

If you specify more memory for a program than you actually have, then part of
the memory will have to be kept on disk, and paged in as needed.  That means
you turn what would normally be a memory access (very fast) into a disk access
(very slow).



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.