[dpdk-dev] [PATCH] eal: fix linuxapp numa node detection
Stephen Hemminger
stephen at networkplumber.org
Wed Apr 22 17:44:57 CEST 2015
On Wed, 22 Apr 2015 14:31:55 +0100
Bruce Richardson <bruce.richardson at intel.com> wrote:
> Using the "physical_package_id" as a fallback for determining the
> numa node of a core tends to be unreliable. Fix this by using a
> detection routine which reads the numa information from
> /sys/devices/system/node and just returns a numa node of 0 on
> failure.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
Documentation/cputopology.txt
> 1) /sys/devices/system/cpu/cpuX/topology/physical_package_id:
>
> physical package id of cpuX. Typically corresponds to a physical
> socket number, but the actual value is architecture and platform
> dependent.
More information about the dev
mailing list