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
This commit is contained in:
jhb 2016-04-12 21:23:44 +00:00
parent e89a20428b
commit 2ce9aa06e4
3 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -72,7 +72,7 @@
#endif
#ifndef MAXMEMDOM
#define MAXMEMDOM 1
#define MAXMEMDOM 8
#endif
#define ALIGNBYTES _ALIGNBYTES