View Full Version : Memory Management Control Entries Windows XP
Rolf Bieck
December 12th 03, 08:48 PM
Where to find the exact definitions of the
registry' "Memory Management Control Entries" and
--> how the work and
-> how to optimize
for a large memory (1 GB) environment.
Ron Martell
December 12th 03, 09:05 PM
"Rolf Bieck" > wrote:
>Where to find the exact definitions of the
>registry' "Memory Management Control Entries" and
>--> how the work and
The following is the best I could find:
****
Evaluating Memory and Cache Usage
The default memory-management settings for your system are optimal in
most situations and do not need to be changed. However, the system can
provide a much larger working set and additional virtual address space
for the system cache if some settings are manually tuned. These
settings include the following registry entries in the
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l
\Session Manager\Memory Management subkey:
LargeSystemCache. A value of 1 maximizes the size of the system
cache's working set and, with PagedPoolSize set to 192000000 and
SystemPages set to 0, provides a large virtual address space for the
cache, provided that Terminal Services and the /3GB switch are not
used. In addition, the maximum working set and large virtual address
space for the file system cache are unavailable if Driver Verifier, a
tool for testing kernel drivers, is enabled with the special pool. For
information about Driver Verifier, see the Driver Development Kits
link on the Web Resources page at
http://windows.microsoft.com/windows2000/reskit/webresources.
PagedPoolSize. Changing this to 0xFFFFFFFF or leaving it at the
default of 0 maximizes the size of the virtual address space used for
the paged pool. To set aside extended virtual address space for the
file system cache, change this value to 192000000, set
LargeSystemCache to 1, and set SystemPages to 0.
SystemPages. Changing this to 0xFFFFFFFF provides an additional 464 MB
of system page table entries for the virtual address space. Notice
that making this change prevents expanding the system cache by 464 MB
(limiting it to 512 MB) and limits the paged pool size to 192 MB,
provided PagedPoolSize is not set to 0xFFFFFFFF to obtain the maximum
virtual address space for the paged pool.
Notice that you have the option of changing the settings for
LargeSystemCache in the user interface (using the Server Optimization
tab in File and Printer Sharing for Microsoft Networks properties).
However, you can only change the settings of SystemPages,
PagedPoolSize, and NonPagedPoolSize using a registry editor.
****
Caution
Do not use a registry editor to edit the registry directly unless you
have no alternative. The registry editors bypass the standard
safeguards provided by administrative tools. These safeguards prevent
you from entering conflicting settings or settings that are likely to
degrade performance or damage your system. Editing the registry
directly can have serious, unexpected consequences that can prevent
the system from starting and require that you reinstall Windows 2000.
To configure or customize Windows 2000, use the programs in Control
Panel or Microsoft Management Console (MMC) whenever possible.
If you are using Terminal Services or your system is configured to
start with the /3GB switch, these features consume the extra virtual
address space that you might otherwise allocate to the system cache or
the paged pool and that space is unavailable.
Do not change the SecondLevelDataCache entry
Some third-party sources have erroneously reported that modifying the
SecondLevelDataCache registry entry in
HKEY_LOCAL_MACHINE\System\CurrentControlSet
\Control\Session Manager\Memory Management
can enhance system performance. The second level (L2) cache is
recognized by the operating system and is fully utilized regardless of
the setting of this parameter.
>-> how to optimize
>for a large memory (1 GB) environment.
1 gb is not really that large a memory quantity for Windows XP in
today's environment.
Unless you have some specific and unique requirements that are very
substantially different from those of typical users I would leave the
settings alone.
You might find MVP Alex Nichol's article on Virtual Memory Management
in Windows XP at http://aumha.org/win5/a/xpvm.htm to be useful and
informative.
Good luck
Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca
"The reason computer chips are so small is computers don't eat much."
Aster
December 12th 03, 09:41 PM
My question is about the new AMD Barton chips with the larger L2.
These chips were introduced after Microsoft designed the OS's, and I
thought someone said something could be tweaked to take advantage of
the larger L2 (500k) size. Then again, the P4 is that size, so
perhaps it was just a rumor.
I'm using W2000.
Ron Martell > wrote in message >...
> "Rolf Bieck" > wrote:
>
> >Where to find the exact definitions of the
> >registry' "Memory Management Control Entries" and
> >--> how the work and
>
> The following is the best I could find:
>
> ****
> Evaluating Memory and Cache Usage
> The default memory-management settings for your system are optimal in
> most situations and do not need to be changed. However, the system can
> provide a much larger working set and additional virtual address space
> for the system cache if some settings are manually tuned. These
> settings include the following registry entries in the
> HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l
> \Session Manager\Memory Management subkey:
>
> LargeSystemCache. A value of 1 maximizes the size of the system
> cache's working set and, with PagedPoolSize set to 192000000 and
> SystemPages set to 0, provides a large virtual address space for the
> cache, provided that Terminal Services and the /3GB switch are not
> used. In addition, the maximum working set and large virtual address
> space for the file system cache are unavailable if Driver Verifier, a
> tool for testing kernel drivers, is enabled with the special pool. For
> information about Driver Verifier, see the Driver Development Kits
> link on the Web Resources page at
> http://windows.microsoft.com/windows2000/reskit/webresources.
> PagedPoolSize. Changing this to 0xFFFFFFFF or leaving it at the
> default of 0 maximizes the size of the virtual address space used for
> the paged pool. To set aside extended virtual address space for the
> file system cache, change this value to 192000000, set
> LargeSystemCache to 1, and set SystemPages to 0.
> SystemPages. Changing this to 0xFFFFFFFF provides an additional 464 MB
> of system page table entries for the virtual address space. Notice
> that making this change prevents expanding the system cache by 464 MB
> (limiting it to 512 MB) and limits the paged pool size to 192 MB,
> provided PagedPoolSize is not set to 0xFFFFFFFF to obtain the maximum
> virtual address space for the paged pool.
> Notice that you have the option of changing the settings for
> LargeSystemCache in the user interface (using the Server Optimization
> tab in File and Printer Sharing for Microsoft Networks properties).
> However, you can only change the settings of SystemPages,
> PagedPoolSize, and NonPagedPoolSize using a registry editor.
> ****
>
>
> Caution
>
> Do not use a registry editor to edit the registry directly unless you
> have no alternative. The registry editors bypass the standard
> safeguards provided by administrative tools. These safeguards prevent
> you from entering conflicting settings or settings that are likely to
> degrade performance or damage your system. Editing the registry
> directly can have serious, unexpected consequences that can prevent
> the system from starting and require that you reinstall Windows 2000.
> To configure or customize Windows 2000, use the programs in Control
> Panel or Microsoft Management Console (MMC) whenever possible.
>
> If you are using Terminal Services or your system is configured to
> start with the /3GB switch, these features consume the extra virtual
> address space that you might otherwise allocate to the system cache or
> the paged pool and that space is unavailable.
>
> Do not change the SecondLevelDataCache entry
> Some third-party sources have erroneously reported that modifying the
> SecondLevelDataCache registry entry in
> HKEY_LOCAL_MACHINE\System\CurrentControlSet
> \Control\Session Manager\Memory Management
> can enhance system performance. The second level (L2) cache is
> recognized by the operating system and is fully utilized regardless of
> the setting of this parameter.
>
>
>
> >-> how to optimize
> >for a large memory (1 GB) environment.
>
> 1 gb is not really that large a memory quantity for Windows XP in
> today's environment.
>
> Unless you have some specific and unique requirements that are very
> substantially different from those of typical users I would leave the
> settings alone.
>
> You might find MVP Alex Nichol's article on Virtual Memory Management
> in Windows XP at http://aumha.org/win5/a/xpvm.htm to be useful and
> informative.
>
> Good luck
>
>
> Ron Martell Duncan B.C. Canada
Aster
December 12th 03, 10:26 PM
(Aster) wrote in message >...
> My question is about the new AMD Barton chips with the larger L2.
> These chips were introduced after Microsoft designed the OS's, and I
> thought someone said something could be tweaked to take advantage of
> the larger L2 (500k) size. Then again, the P4 is that size, so
> perhaps it was just a rumor.
>
> I'm using W2000.
>
>
>
>
>
>
>
>
> Ron Martell > wrote in message >...
> > "Rolf Bieck" > wrote:
> >
> > >Where to find the exact definitions of the
> > >registry' "Memory Management Control Entries" and
> > >--> how the work and
> >
> > The following is the best I could find:
> >
> > ****
> > Evaluating Memory and Cache Usage
> > The default memory-management settings for your system are optimal in
> > most situations and do not need to be changed. However, the system can
> > provide a much larger working set and additional virtual address space
> > for the system cache if some settings are manually tuned. These
> > settings include the following registry entries in the
> > HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l
> > \Session Manager\Memory Management subkey:
> >
> > LargeSystemCache. A value of 1 maximizes the size of the system
> > cache's working set and, with PagedPoolSize set to 192000000 and
> > SystemPages set to 0, provides a large virtual address space for the
> > cache, provided that Terminal Services and the /3GB switch are not
> > used. In addition, the maximum working set and large virtual address
> > space for the file system cache are unavailable if Driver Verifier, a
> > tool for testing kernel drivers, is enabled with the special pool. For
> > information about Driver Verifier, see the Driver Development Kits
> > link on the Web Resources page at
> > http://windows.microsoft.com/windows2000/reskit/webresources.
> > PagedPoolSize. Changing this to 0xFFFFFFFF or leaving it at the
> > default of 0 maximizes the size of the virtual address space used for
> > the paged pool. To set aside extended virtual address space for the
> > file system cache, change this value to 192000000, set
> > LargeSystemCache to 1, and set SystemPages to 0.
> > SystemPages. Changing this to 0xFFFFFFFF provides an additional 464 MB
> > of system page table entries for the virtual address space. Notice
> > that making this change prevents expanding the system cache by 464 MB
> > (limiting it to 512 MB) and limits the paged pool size to 192 MB,
> > provided PagedPoolSize is not set to 0xFFFFFFFF to obtain the maximum
> > virtual address space for the paged pool.
> > Notice that you have the option of changing the settings for
> > LargeSystemCache in the user interface (using the Server Optimization
> > tab in File and Printer Sharing for Microsoft Networks properties).
> > However, you can only change the settings of SystemPages,
> > PagedPoolSize, and NonPagedPoolSize using a registry editor.
> > ****
> >
> >
> > Caution
> >
> > Do not use a registry editor to edit the registry directly unless you
> > have no alternative. The registry editors bypass the standard
> > safeguards provided by administrative tools. These safeguards prevent
> > you from entering conflicting settings or settings that are likely to
> > degrade performance or damage your system. Editing the registry
> > directly can have serious, unexpected consequences that can prevent
> > the system from starting and require that you reinstall Windows 2000.
> > To configure or customize Windows 2000, use the programs in Control
> > Panel or Microsoft Management Console (MMC) whenever possible.
> >
> > If you are using Terminal Services or your system is configured to
> > start with the /3GB switch, these features consume the extra virtual
> > address space that you might otherwise allocate to the system cache or
> > the paged pool and that space is unavailable.
> >
> > Do not change the SecondLevelDataCache entry
> > Some third-party sources have erroneously reported that modifying the
> > SecondLevelDataCache registry entry in
> > HKEY_LOCAL_MACHINE\System\CurrentControlSet
> > \Control\Session Manager\Memory Management
> > can enhance system performance. The second level (L2) cache is
> > recognized by the operating system and is fully utilized regardless of
> > the setting of this parameter.
> >
> >
> >
> > >-> how to optimize
> > >for a large memory (1 GB) environment.
> >
> > 1 gb is not really that large a memory quantity for Windows XP in
> > today's environment.
> >
> > Unless you have some specific and unique requirements that are very
> > substantially different from those of typical users I would leave the
> > settings alone.
> >
> > You might find MVP Alex Nichol's article on Virtual Memory Management
> > in Windows XP at http://aumha.org/win5/a/xpvm.htm to be useful and
> > informative.
> >
> > Good luck
Ok, thank you for looking into that for me. I'm not sure what
services would benefit W2000 from such a manual tuning of the system,
so I'll leave it alone for now.
> >
> >
> > Ron Martell Duncan B.C. Canada
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.