Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: I was wrong

Author: Pete Galati

Date: 23:01:37 06/25/00

Go up one level in this thread


On June 25, 2000 at 10:45:31, Pete Galati wrote:

>On June 25, 2000 at 09:44:05, m.d.hurd wrote:
>
>>On June 24, 2000 at 16:38:05, Pete Galati wrote:
>>
>>>On June 23, 2000 at 22:29:12, Michael P. Nance Sr. wrote:
>>>
>>>>Re: Juniors hash tables.My p/c says maxium set should be 48.I have been playing
>>>>with them at 66.It sometimes takes a while to move,not allways,does this help or
>>>>hurt programs proformance.I can raise hash size             to 96,on different
>>>>p/c. I would think size would depend on mhz's of the p/c?
>>>
>>>The amount of hashtable that you can use is more closely related to the amount
>>>of memory your computer has available.  If you were able to raise it to 96 on a
>>>different computer and the best you can get from your own computer is 48, then
>>>that other computer probably has a significantly larger amount of memory.
>>>
>>>Try going to the command line of both computers, and enter the command MEM, and
>>>compare the 2.  It's the extended memory you'd want to pay attention to.  This
>>>is what _I_ get on my computer at the Dosprompt:
>>>
>>>Microsoft(R) Windows 98
>>>   (C)Copyright Microsoft Corp 1981-1999.
>>>
>>>[windows]C:\WIND95>mem
>>>
>>>Memory Type        Total       Used       Free
>>>----------------  --------   --------   --------
>>>Conventional          632K        54K       578K
>>>Upper                   0K         0K         0K
>>>Reserved                0K         0K         0K
>>>Extended (XMS)     64,512K       180K    64,332K
>>>----------------  --------   --------   --------
>>>Total memory       65,144K       234K    64,910K
>>>
>>>Total under 1 MB      632K        54K       578K
>>>
>>>Largest executable program size       578K (592,304 bytes)
>>>Largest free upper memory block         0K       (0 bytes)
>>>MS-DOS is resident in the high memory area.
>>>
>>>
>>>>Also how can I GET
>>>>Junior to play short games?5-8 min. with sucess? Awaiting reply.THANKS Michael
>>>
>>>You need help from a junior6 owner on this.
>>>
>>>Pete
>>
>>I have 128 MB Ram Which allows a comfortable 64 MB for hashtable. When I run mem
>>I get the following :
>>
>>Microsoft(R) Windows 98
>>   (C)Copyright Microsoft Corp 1981-1998.
>>
>>C:\WINDOWS>mem
>>
>>Memory Type        Total       Used       Free
>>----------------  --------   --------   --------
>>Conventional          640K        36K       605K
>>Upper                   0K         0K         0K
>>Reserved                0K         0K         0K
>>Extended (XMS)     65,472K          ?   129,884K
>>----------------  --------   --------   --------
>>Total memory       66,112K          ?   130,489K
>>
>>Total under 1 MB      640K        36K       605K
>>
>>Total Expanded (EMS)                   64M (67,108,864 bytes)
>>Free Expanded (EMS)                    16M (16,777,216 bytes)
>>
>>Largest executable program size       604K (618,992 bytes)
>>Largest free upper memory block         0K       (0 bytes)
>>MS-DOS is resident in the high memory area.
>>
>>I do not know what the  ? are for.
>>
>>Mike.
>>
>>mike@hurd.junglelink.co.uk
>
>I can only guess, I think this has something to do with your having over 64mb
>memory, and the mem command is from the Dos world which had very little use for
>such large amounts, it's more of a Windows thing.
>
>You could try:
>
>mem /classify
>
>but there's a windows way to look this stuff up, that would be a better way to
>do it.  You'd just have to dig around in the "My Computer" area to find it, it
>probably sticks out like a sore thumb (or it might be well hidden).
>
>Pete

Ok, I was wrong about that.  Since the above provides too much info for one
screen, you need to do this to get that to generate a text file:

mem /classify > c:\temp\mem.txt

which will produce a file containing something like this:


Modules using memory below 1 MB:

  Name           Total           Conventional       Upper Memory
  --------  ----------------   ----------------   ----------------
  MSDOS       27,680   (27K)     27,680   (27K)          0    (0K)
  ANSI         4,320    (4K)      4,320    (4K)          0    (0K)
  HIMEM        1,120    (1K)      1,120    (1K)          0    (0K)
  DBLBUFF      2,976    (3K)      2,976    (3K)          0    (0K)
  IFSHLP       2,864    (3K)      2,864    (3K)          0    (0K)
  WIN          3,904    (4K)      3,904    (4K)          0    (0K)
  vmm32        2,256    (2K)      2,256    (2K)          0    (0K)
  COMMAND      9,312    (9K)      9,312    (9K)          0    (0K)
  Free       592,320  (578K)    592,320  (578K)          0    (0K)

Memory Summary:

  Type of Memory       Total         Used          Free
  ----------------  -----------   -----------   -----------
  Conventional          647,168        54,848       592,320
  Upper                       0             0             0
  Reserved                    0             0             0
  Extended (XMS)     66,060,288       184,320    65,875,968
  ----------------  -----------   -----------   -----------
  Total memory       66,707,456       239,168    66,468,288

  Total under 1 MB      647,168        54,848       592,320

  Largest executable program size         592,304   (578K)
  Largest free upper memory block               0     (0K)
  MS-DOS is resident in the high memory area.

And this isn't very useful for telling you much of anything about how much
extended memory you have _left_ to work with in Windows.  It doesn't even try to
tell you what a sizable chunk that Windows itself uses.

Sorry.

Pete



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.