diff options
author | jhb <jhb@FreeBSD.org> | 2016-04-12 21:23:44 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-04-12 21:23:44 +0000 |
commit | 2ce9aa06e43615d5d8726b9ae516495ca88a3588 (patch) | |
tree | 79677b4d8ace78dc337ddc2cdf9775f838e1d28e /sys/amd64 | |
parent | e89a20428b88441730fafe1c20a75ea6103badbc (diff) | |
download | FreeBSD-src-2ce9aa06e43615d5d8726b9ae516495ca88a3588.zip FreeBSD-src-2ce9aa06e43615d5d8726b9ae516495ca88a3588.tar.gz |
Enable DEVICE_NUMA with up to 8 domains by default on amd64.
8 memory domains should handle a quad-socket board with dual-domain
processors.
Reviewed by: kib
Relnotes: maybe?
Differential Revision: https://reviews.freebsd.org/D5893
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/conf/GENERIC | 1 | ||||
-rw-r--r-- | sys/amd64/conf/MINIMAL | 1 | ||||
-rw-r--r-- | sys/amd64/include/param.h | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC index cbe3a76..0ed672d 100644 --- a/sys/amd64/conf/GENERIC +++ b/sys/amd64/conf/GENERIC @@ -93,6 +93,7 @@ options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor Kernel +options DEVICE_NUMA # I/O Device Affinity # CPU frequency control device cpufreq diff --git a/sys/amd64/conf/MINIMAL b/sys/amd64/conf/MINIMAL index c822f79..2caf958 100644 --- a/sys/amd64/conf/MINIMAL +++ b/sys/amd64/conf/MINIMAL @@ -92,6 +92,7 @@ options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor Kernel +options DEVICE_NUMA # I/O Device Affinity # CPU frequency control device cpufreq diff --git a/sys/amd64/include/param.h b/sys/amd64/include/param.h index 5892ae9..a619e395 100644 --- a/sys/amd64/include/param.h +++ b/sys/amd64/include/param.h @@ -72,7 +72,7 @@ #endif #ifndef MAXMEMDOM -#define MAXMEMDOM 1 +#define MAXMEMDOM 8 #endif #define ALIGNBYTES _ALIGNBYTES |