Optimizing L2 Caches Over 256K

Windows NT by default is optimized for a 256K size L2 cache. With most computers now having L2 caches larger than 256K it pays to take the time to change the SecondLevelDataCache setting to correspond to the size of the L2 cache installed.
1. Using Regedit open the key below.
2. Find the value named 'SecondLevelDataCache', double-click to modify.
3. Click the 'Decimal' radio button, and enter your L2 cache size in Kb's.
4. Exit Regedit and reboot.

Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
Value Name: SecondLevelDataCache
Data Type: REG_DWORD
Data: Cache (in Kb) using Decimal Notation

1 comment

lmiller7 said...

COMPLETELY UNNECESSARY
If the setting is set to default Windows will attempt to detect the actal size. Only in the event of this failing (highly unlikely with modern processors) will the default of 256K be used.

References:
http://support.microsoft.com/kb/183063

Larry Miller
Microsoft MCSA

Powered by Blogger.