Enable L2Cache.....in Windows XP/2000


Recommended Posts

"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."

so basically this reg is useless for all our all-mighty-powerful comps... mmm

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

btw, check my benchmark a few posts up to see what it does :D

For those fiddling with your SecondLevelDataCache value, here is the scoop from Microsoft.

"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."

So, if yours is set to 0, no sweat... if Windows *needs* this information, it will grab it from the HAL or default to 256KB.

  Quote
Originally posted by Sticktron

For those fiddling with your SecondLevelDataCache value, here is the scoop from Microsoft.

"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."

So, if yours is set to 0, no sweat... if Windows *needs* this information, it will grab it from the HAL or default to 256KB.

thank you. that's what i've been saying from the begining.

if your processor is a Duron, windows will grap L2 cache amount from cpu and will set it properly.

unless you have really old system or malfunctioning system you don't have to worry about that reg...you have bigger problems:)

  • 2 weeks later...
  Quote
Originally posted by The Hillbilly Cat

From Tweaktown.com

The L2, or second-level, cache, is an integral part of your CPU. However, XP is very shoddy at detecting it, so setting it manually is sometimes necessary. It's easy to do, though, you simply have to navigate to

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management

in the registry and find the value SecondLevelDataCache. You must then adjust it to the value (in kilobytes) of the L2 Cache of your processor.

:) :devious: Hi again Angus. As another participant mentioned AMD has a great utility on their board which will tell you the siza and purpose of the L1 & L2 cache.

Cheers

:rambo: :)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.