HPMC User Guide v 1.00
© 2026 Bassem W. Jamaleddine
Previously, in the Chapter "Configuring the Xeon Phi MIC Coprocessor", we showed the MIC installation from the system point of view: memory mapped IO, device drivers and device mapping of the MIC as a card slotted in the PCI bus of our HPMC. It is time to look at its architecture from an administrative point of view, so our focus is on how the MIC cores and their logical processors are laid out (on the die) to interact with memory.
■ MIC Cores and Cache Memory Organization
Since all cores are identical, let's look at the memory caching of one of the cpu, say cpu59:
(uos/HPMC7) 18:13 root@mic0: ~ # cat /sys/devices/system/cpu/cpu59/cache/index0/level
(uos/HPMC7) 18:13 root@mic0: ~ # cat /sys/devices/system/cpu/cpu59/cache/index0/size
(uos/HPMC7) 18:13 root@mic0: ~ # cat /sys/devices/system/cpu/cpu59/cache/index1/level
(uos/HPMC7) 18:13 root@mic0: ~ # cat /sys/devices/system/cpu/cpu59/cache/index1/size
(uos/HPMC7) 18:13 root@mic0: ~ # cat /sys/devices/system/cpu/cpu59/cache/index2/level
(uos/HPMC7) 18:14 root@mic0: ~ # cat /sys/devices/system/cpu/cpu59/cache/index2/size
(uos/HPMC7) 18:14 root@mic0: ~ # cat /sys/devices/system/cpu/cpu59/cache/index2/shared_cpu_list
(uos/HPMC7) 18:20 root@mic0: ~ # cat /sys/devices/system/cpu/cpu59/cache/index1/shared_cpu_list
(uos/HPMC7) 18:20 root@mic0: ~ # cat /sys/devices/system/cpu/cpu59/cache/index0/shared_cpu_list
Here cpu59 has 512K of L2 cache that is shared with cpu57, cpu58, cpu59, and cpu60. All four of these cpus pertain to core #14. Core #14 has four threads represented by cpu57, cpu58, cpu59, and cpu60. All four threads are represented as logical processors (LPs) that share the L2 cache 512K. They also share the L1 cache 32K. This means that each core caches is shared by the threads it represents.