I need to find the cores that utilize the same L1 cache in xeon d-1548 processor.As the Intel Xeon D-1548 hasThe number of CPU cores8The number of threads16Floating Point UnitIntegratedLevel 1 cache size http://www.cpu-world.com/Glossary/L/Level_1_cache.html ? 8 x 32 KB instruction caches
8 x 32 KB data cachesLevel 2 cache size http://www.cpu-world.com/Glossary/L/Level_2_cache.html ? 8 x 256 KB cachesLevel 3 cache size12 MBPhysical memory128 GB
how to know which all logical cores are utilizing the same L1 level cores.The cpu numbers from 0,..., 16.
What are the logical processors sharing a same core, can the numbers be known ? Is it like CPU0 and CPU1 are residing on the same core number 1.How to find it exactly.
This is quite simple. You have 8 Cores, numbered 0 to 7. You have 16 Threads, numbered 0 to 15. Thread0 and Thread1 share the resources of Core0, Thread2 and Thread3 share the resources of Core1, etc. In this particular processor's case, there are L1 and L2 caches that are exclusively used by each Core (and shared by the Threads running on this Core). The L3 cache is then shared by all 8 Cores.
Does that answer your question?
Well, there are forms of the CPUID instruction that you can use to obtain information about the caches that are available, their associativity, etc. Is there anything that will specifically tell you what resources being used by a particular thread? None that I am aware of.
I got the correct arrangement of processors in cores by using a hwloc tool .It gives both graphical and text output of the hardware details.Thank you for answering my question.