Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Junior 6 Hash Table Question

Author: Shep

Date: 02:03:47 02/03/00

Go up one level in this thread


On February 02, 2000 at 20:00:03, Len Eisner wrote:

>Junior’s hash table is always 1 mb less than I set it.  Is this normal?  For
>example, if I set it to 64 mb, it ends up with a 63 mb hash table.  I have a
>PIII 500 with 256mb of ram.

Yes, it's normal. :)
There are two possible reasons:

1. You cannot set the hash size to an arbitrary number. For example, if you set
it to "192000 bytes" in 5.32, it will in fact only use "191864" or something.
Remember some programs only allow hash changes in powers of 2 (32->64, 64->128
etc.).

2. It's a "MB vs. million bytes" issue. Because 64 MB are in fact 65.536.xxx
bytes (1 MB = 1,048,576 bytes), so if you enter "64", if may be interpreted as
"64 million bytes" which resolves to "63.x MB" in the display. Call it a
"display bug". :)

---
Shep



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.