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:
parent
fdb562a960
commit
7ecf8cab6f
@ -93,6 +93,7 @@ options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
|
|||||||
|
|
||||||
# Make an SMP-capable kernel by default
|
# Make an SMP-capable kernel by default
|
||||||
options SMP # Symmetric MultiProcessor Kernel
|
options SMP # Symmetric MultiProcessor Kernel
|
||||||
|
options DEVICE_NUMA # I/O Device Affinity
|
||||||
|
|
||||||
# CPU frequency control
|
# CPU frequency control
|
||||||
device cpufreq
|
device cpufreq
|
||||||
|
@ -92,6 +92,7 @@ options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
|
|||||||
|
|
||||||
# Make an SMP-capable kernel by default
|
# Make an SMP-capable kernel by default
|
||||||
options SMP # Symmetric MultiProcessor Kernel
|
options SMP # Symmetric MultiProcessor Kernel
|
||||||
|
options DEVICE_NUMA # I/O Device Affinity
|
||||||
|
|
||||||
# CPU frequency control
|
# CPU frequency control
|
||||||
device cpufreq
|
device cpufreq
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MAXMEMDOM
|
#ifndef MAXMEMDOM
|
||||||
#define MAXMEMDOM 1
|
#define MAXMEMDOM 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ALIGNBYTES _ALIGNBYTES
|
#define ALIGNBYTES _ALIGNBYTES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user