Detailed Explanation of SecondLevelDataCache
ID: Q183063
|
The information in this article applies to:
-
Microsoft Windows NT Server version 4.0
-
Microsoft Windows NT Workstation version 4.0
-
Microsoft Windows NT Server, Enterprise Edition version 4.0
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information about how to do this, view the "Restoring
the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help
topic in Regedt32.exe.
SUMMARY
This article discusses the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
\Memory Management\SecondLevelDataCache
REG_DWORD
Range: Kilobytes 0, 1 -cache size
Default: 0 (256K)
MORE INFORMATION
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT, you should also update your Emergency
Repair Disk (ERD).
SecondLevelDataCache records the size of the processor cache, also known as
the secondary or L2 cache. If the value of this entry is 0, the system
attempts to retrieve the L2 cache size from the Hardware Abstraction Layer
(HAL) for the platform. If it fails, it uses a default L2 cache size of 256
KB. If the value of this entry is not 0, it uses this value as the L2 cache
size. This entry is designed as a secondary source of cache size
information for computers on which the HAL cannot detect the L2 cache.
This is not related to the hardware; it is only useful for computers with
direct-mapped L2 caches. Pentium II and later processors do not have direct-
mapped L2 caches. SecondLevelDataCache can increase performance by
approximately 2 percent in certain cases for older computers with ample
memory (more than 64 MB) by scattering physical pages better in the address
space so there are not so many L2 cache collisions. Setting
SecondLevelDataCache to 256 KB rather than 2 MB (when the computer has a 2
MB L2 cache) would probably have about a 0.4 percent performance penalty.
Additional query words:
Keywords : NTSrvWkst
Version : winnt:4.0
Platform : winnt
Issue type : kbinfo