Microsoft KB Archive/894569

= The L2CacheSize property of the Win32_Processor WMI class may not be populated correctly on specific types of processors =

Article ID: 894569

Article Last Modified on 1/30/2007

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Tablet PC Edition

-



Note This article is for enterprise administrators and developers.



SYMPTOMS
When you try to use the Win32_Processor WMI class to query the L2CacheSize property, the L2CacheSize property may not be displayed correctly on specific types of processors.



CAUSE
This problem occurs because the type of processor is identified by running an assembly macro that is named CPUID. The value that is returned to identify the type of processor is used to look up the size of the second-level cache from a static list. However, the value returned for this specific type of processor is not in this list. This causes the L2CacheSize property to be incorrectly populated.



WORKAROUND
To work around this problem, you can use the Win32_CacheMemory WMI class to return the MaxCacheSize property to obtain the correct Level 2 cache size. To do this, follow these steps:  On a computer that has Microsoft Windows XP Service Pack 1or Windows XP Service Pack 2 installed and that is running on an &quot;x86 Family 15 Model  Stepping  &quot; processor, where   is the model number and   is the stepping level, click Start, click Run, type Wmic, and then click OK. Type memcache get maxcachesize,description, and then press ENTER. You will receive output that is similar to the following output:

Note The Cache Memory in the first line is the Level 1 cache. The Cache Memory in the second line is the Level 2 cache.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



Steps to reproduce the problem
 On a computer that has Windows XP, Windows XP Service Pack 1, or Windows XP Service Pack 2 installed and that is running on an &quot;x86 Family 15 Model  Stepping  &quot; processor, where   is the model number and   is the stepping level, click Start, click Run, type Wmic, and then click OK. Type cpu get l2cachesize,description, and then press ENTER. You will find that the L2CacheSize list displays 0.

You will receive output that is similar to the following output:

Note  is the model number, and   is the stepping level.</li></ol>

<div class="references_section">