L2 Cache size ???

hey. . . . i saw this a few days ago : L2 Cache size Windows XP can't detect the proper amount of L2 cache on your CPU. you'll want to go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\ and change the SecondLevelDataCache key to the L2 cache size of your CPU (in Kb).

Customization Tweaking 1789 This topic was started by ,


data/avatar/default/avatar37.webp

123 Posts
Location -
Joined 2000-08-14
hey....
 
i saw this a few days ago :
 
"L2 Cache size
 
Windows XP can't detect the proper amount of L2 cache on your CPU. you'll want to go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\ and change the SecondLevelDataCache key to the L2 cache size of your CPU (in Kb). I've received a few questions about this one and I thought I'd clarify it. when you select to modify this file the default entry is in hexadecimal simply change the selection to decimal and THEN enter your number. Such as 256, 512. A value of 100 in Hexadecimal will result in 256Kb being shown since that is what it's decimal number is."
 
this value in my registry is 0.
should i change it ?
 
thanks !!

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar39.webp

1457 Posts
Location -
Joined 2001-12-18
This depends on the size of the L2Cache. Use this chart as a guide:
SecondLevelDataCache
for 256kB Level 2 Cache = 0
for 512kB Level 2 Cache = 200
for 1024kB Level 2 Cache = 400

data/avatar/default/avatar37.webp

123 Posts
Location -
Joined 2000-08-14
OP
i do have a pentium 4 1.6a with 512kb level 2 cache.
i should change the registry to 200h ?
 
question:
 
 
how come you said 256d = 0h...??
 
shouln't it be 100h ??

data/avatar/default/avatar39.webp

1457 Posts
Location -
Joined 2001-12-18
The mystery of Microsoft. Apparently, 256 is baseline and starts at 0.

data/avatar/default/avatar19.webp

347 Posts
Location United States
Joined 2002-03-21
In XP it is set at the default of 256 (the setting of 0) regardless of your cpu. In other words, it does not detect your L2 cache, so you have to set it manually. If you have 512 you should set it to 200.

data/avatar/default/avatar33.webp

723 Posts
Location -
Joined 2000-02-05
WOW...now this is what I call a ****up. Im speechless....

data/avatar/default/avatar19.webp

3857 Posts
Location -
Joined 2000-03-29
No, you should not have to change it as it is automatic. Very early generations of CPUs needed this adjustment, but that isn't the case now. The value of "0" simply means "automatic" and the OS will try to get the value from the HAL (explained here). Also, this setting only is only effective for systems with direct-mapped cache, and in your case setting it manually would not have any bearing on performance at all (explained here). As for the value of "0" being equal to 256, that's more of an effect of the default value scheme. If the OS can't find the cache size (with the automatic setting of "0"), then it will default to "256" as the cache size. Hence, 0=256, kinda sorta...
 


data/avatar/default/avatar19.webp

347 Posts
Location United States
Joined 2002-03-21
Well, that clears up that bad misconception!

data/avatar/default/avatar17.webp

204 Posts
Location -
Joined 2000-11-19
I heard the same thing about Windows 2000 not being able to detect it and that it's default is also 256kb. I have a Duron 700 and I believe the cache is 96kb? So what should I set mine too in Windows 2000?

data/avatar/default/avatar37.webp

123 Posts
Location -
Joined 2000-08-14
OP
hey clutch ,
..according to the microsoft article :
"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."
 
so why shouldn't i set it to 512,just in case ?

data/avatar/default/avatar19.webp

3857 Posts
Location -
Joined 2000-03-29
If you would like to, then by all means go ahead. I just wouldn't bother with it myself as it shows it only works for a form of L2 cache that hasn't existed since before the P2 line came out.