git: kernel - Add NUMA awareness to vm_page_alloc() and related functions
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Jan 5 18:44:30 PST 2017
commit c7f9edd8f545dba40fb663144d65c3a7cdc64350
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Jan 5 18:08:40 2017 -0800
kernel - Add NUMA awareness to vm_page_alloc() and related functions
* Add NUMA awareness to the kernel memory subsystem. This first iteration
will primarily affect user pages. kmalloc and objcache are not
NUMA-friendly yet (and its questionable how useful it would be to make
them so).
* Tested with synth on monster (4-socket opteron / 48 cores) and a 2-socket
xeon (32 threads). Appears to dole out localized pages 5:1 to 10:1.
Summary of changes:
sys/kern/subr_cpu_topology.c | 29 ++++---
sys/platform/pc64/acpica/acpi_srat.c | 148 ++++++++++++++++++++++++++++++++++
sys/platform/pc64/conf/files | 1 +
sys/platform/pc64/include/smp.h | 1 +
sys/platform/pc64/x86_64/mp_machdep.c | 6 ++
sys/platform/vkernel64/include/smp.h | 1 +
sys/sys/kernel.h | 3 +-
sys/vm/vm_page.c | 81 +++++++++++++++++++
sys/vm/vm_page.h | 1 +
9 files changed, 258 insertions(+), 13 deletions(-)
create mode 100644 sys/platform/pc64/acpica/acpi_srat.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c7f9edd8f545dba40fb663144d65c3a7cdc64350
--
DragonFly BSD source repository
More information about the Commits
mailing list