Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Two memory-related questions

Author: Rafael Andrist

Date: 07:37:23 04/16/02

Go up one level in this thread


On April 16, 2002 at 08:39:32, Gian-Carlo Pascutto wrote:

>1) Would there be any advantage to my hash entries being 16 bytes instead of 14
>bytes? I'm thinking of possible alignment issues. The fact that I can have more
>if they're only 14 bytes is irrelevant for me.

I think you will have to reorganize your datastructure so that several
14-bits-segments fit into a 8*n-segment (or 16*n, 32*n, 64*n - compiler
dependent).

>2) (For the Microsoft/Windows buffs) Is it possible to allocate more than 256M
>in a contiguous chunck under older Windows versions?

Under Win2000 with 1 GB RAM, I was able to allocate (malloc) around 900 MB, I
wasn't able to allocate significantly more on a system with 2 GB. I haven't
tried with other MS OS. Because this was for Nalimov-TB-Cache, I don't know
wheter this is an OS dependent limit or caused by Nalimovs code.

Rafael B. Andrist



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.