CACHESIZE for i7-4770

CACHESIZE for i7-4770

I'm running Visual Fortran Composer XE 2011 Update 11 under Windows 7 64-bit on a new machine with the Intel Core i7-4770 which has caches L1=256 kB, L2=1024 kB, L3=8192 kB. The CACHESIZE(n) generic Intrinsic Function, however, returns CACHESIZE(1)->32, CACHESIZE(2)->256, CACHESIZE(3)->8192.

This is not a critical problem for me at this time, but everyone might like to be aware of it.

You may also be interested in knowing about my 7/24/13 post: "crashes of gemm on new Windows machine" in the mkl forum.


publicaciones de 4 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

Interesting  - would you please download, install and run the Intel Processor Identification Utility, Click File > Save, save a report and attach it to a reply here? I'd like to see what that utility reports on your system.

Steve - Intel Developer Support


Attached is the output file from the Processor ID Utility.

Apparently the size reported by CACHESIZE(n) for n=1 or 2 is size per core. So the problem is/was my misunderstanding of the specs for the i7-4770 which give 'total' L1 and L2 caches.

Thanks for clearing that up.


Descargar intel-procid.txt1.14 KB

Yes, that seems to be correct. Glad that we got that cleared up. The motivation for the function was to help with algorithms that dynamically adjust the way they traverse arrays based on cache size. It would make sense for this to be per-core. The L3 cache is shared by all cores.

Steve - Intel Developer Support

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya