Jump to content
Geeks Nation Forums
Sign in to follow this  
1o80B

Cache cpu Winxp.

Recommended Posts

j'ai fouiller un peu mais comme chu au rallentis today, j'ai rien trouver (lan de vendredi a été tought lol)

Mais ça aurais l'air que la ache L2 n'est pas utilisé en Windows XP sans un petit tweak, je suis aller googler un peu rien trouver a ce sujet, quelqu'un peux m'informer svp?

Share this post


Link to post
Share on other sites

Ça bin l'air que c'est vrai ! o.O

L2 Cache L2 Cache Neutral (SecondLevelDataCache)

[HKLM\SYSTEM\CurrentControlSet\Control\SessionManager\MemoryManagement] "SecondLevelDataCache"

Myth - "Adjusting the SecondLevelDataCache Registry value to match your CPU's L2 Cache size improves performance."

Reality - "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% performance penalty." - Source - Source 2

Et d'un autre site

by default windows doesn't recognise your L2 cache on processor and doesn't make use of it, to enable it run regedit and navigate to

HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Session Manager > MemoryManagment

there is a DWORD called "SecondLevelDataCache" double click it, select Decimal and set the amount of L2 cache you have (e.g. if you have 256KB, then just type 256, and make sure you enter it in Decimal, not Hexadecimal)

Interessant.. j'vas faire des benchs, de l'encodage et autre truc du genre avant/après j'donne des news.

Share this post


Link to post
Share on other sites

y disent que cé un myth pis que seulement les vieux ordi avec plus de 64megs peuvent bénéficier de ca mais encore là c'est 2% de gains!! cette valeur est utilisé SEULEMENT si le HAL ne détecte pas bien la cache. ce qui veut dire si cé écrit le bon nombre dans cpuz cé correct...

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...