|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] PV-vNUMA issue: topology is misinterpreted by the guest
On 07/23/2015 04:07 PM, Dario Faggioli wrote: On Thu, 2015-07-23 at 06:43 +0200, Juergen Gross wrote:On 07/22/2015 04:44 PM, Boris Ostrovsky wrote:On 07/22/2015 10:09 AM, Juergen Gross wrote: I've collected some information from the linux kernel sources as a base for the discussion: The complete numa information (cpu->node and memory->node relations) is taken from the acpi tables (srat, slit for "distances"). The topology information is obtained via: - intel: + cpuid leaf b with subleafs, leaf 4 + cpuid leaf 2 and/or leaf 1 if leaf b and/or 4 isn't available - amd: + cpuid leaf 8000001e, leaf 8000001d, leaf 4 + msr c001100c + cpuid leaf 2 and/or leaf 1 if leaf b and/or 4 isn't available The scheduler is aware of: - smt siblings (from topology) - last-level-cache siblings (from topology) - node siblings (from numa information) It will especially move tasks from one cpu to another first between smt siblings, second between llc siblings, third between node siblings and last all cpus. Memory management does numa node aware memory allocation. Topology and numa information are made available through /sys and /proc filesystems. cpuid instruction is available for user mode as well. Anything I have missed? Juergen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |