It`s possible to make script which check how much L2/L3 cache have processor? and make action "if 2048 then goto reg2m, if 4096 then goto reg4m" (of course it could be in any programming language, but I preferred batch or visual basic)
try this utility u may be able to decompile it or just call it and check what it returns via visualbasic opps didnt link it :http://wincom.wordpress.com/2008/05/14/how-to-check-cpu-speed-l1-l2-cache-etc/
Using the above you could implement something like this: Code: @ECHO OFF SETLOCAL ENABLEEXTENSIONS REM FOR /F "TOKENS=5,7 DELIMS= " %%A IN ( REM'E:\UTILITIES\CKCPU208\CHKCPU32.EXE /V^|FIND "L2"') DO SET/A L2=%%A * %%B FOR /F "TOKENS=5 DELIMS= " %%A IN ( 'C:\UTILITIES\CKCPU208\CHKCPU32.EXE /V^|FIND "L3"') DO SET L3=%%A REM ECHO=Your Level 2 cache is %L2%KB IF %L3% GEQ 4096 GOTO REG4M IF %L3% GEQ 2048 GOTO REG2M ECHO=Level 3 cache is less than 2MB GOTO :END :REG4M REM Commands for L3 cache of min 4MB GOTO :END :REG2M REM Commands for L3 cache of min 2MB less than 4MB :END ENDLOCAL GOTO :EOF I REMarked out the Level 2 cache commands since I'm guessing your question related to Level 3 cache. I left them there for information, just in case someone required them.