Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: NO !! Re: Windows (2000) questions

Author: Murray

Date: 02:57:17 10/19/02

Go up one level in this thread


>>Carefull,
>>
>>this setting sets the ammount of disc space to be used as swap-RAM. What you >are looking for is the ammount of RAM to be used as disk-cache.
>

You can't actually set the exact amount of file cache in win2k. The best you can
do (this was mentioned in one of the articles in a previous posting) is to set
the registry entry LargeSystemCache to 1 in
HKLM\CurrentControlSet\Control\Session Manager\Memory Management.

I have LargeSystemCache set to 1 and a great deal of my 2Gb of memory is used to
cache general file I/O. It works very well.

Another thing you can do is set IOPageLockLimit (in the same registry key) to a
value other than 0. I set it to 0x10000 (64K) and this has the effect of
improving performance by cacheing greater chunks of memory before performing I/O
operations. From what you said in your earlier posts it seems your application
does a lot of frequent I/O and so this may help (but not guaranteed to, you have
to try it and see.)

Last but not least you could adjust the NonPagedPoolSize also in the same
registry key, but I don't recommend this as the potential gains are very small,
and the risks are high.

Unfortunatly windows was never designed to run a single application very
efficiently and is much more optimised to keep "in hand" spare memory for you to
start up new applications. There isn't any way around this but the best you can
do is to follow the 2 registry key changes I suggested above and that should
work well for your application.

Murray Cash



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.