💻 Software
Multicore system. How are the cores "sorted"
Fresh7 days ago
Mar 15, 2026248 viewsConfidence Score0%
0%
Problem
If I have a system with let's say two Quadcore CPUs and HyperThreading enabled, how do I know how the phsyical and virtual cores are sorted? For example if I force a process to run on "CPU 0" how to know which Core this really is? I remember a complex drawing about this, but didn't find anything us…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Multicore system. How are the cores "sorted"
Low Risk
Take a look at the hwloc project. It provides an C API to answer these kind of questions and also a tool called which generates CPU/memory topology maps. See the URL for examples.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix