diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2019-04-13 04:03:18 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2019-04-13 04:03:18 +0000 |
commit | 49d9a5978306d6856325808653eec1ceac21263c (patch) | |
tree | 0306c5cfcc37c5180ad93776f5dd1dbca4aff111 /sys/powerpc/conf/GENERIC64 | |
parent | e9aae3496e9cb06ce6fb9be571097053d530278e (diff) | |
download | src-49d9a5978306d6856325808653eec1ceac21263c.tar.gz src-49d9a5978306d6856325808653eec1ceac21263c.zip |
Add NUMA support to powerpc
Summary:
Initial NUMA support:
- associate CPU with domain
- associate memory ranges with domain
- identify domain for devices
- limit device interrupt binding to appropriate domain
- Additionally fixes a bug in the setting of Maxmem which led to
only memory attached to the first socket being enabled for DMA
A pmap variant can opt in to numa support by by calling `numa_mem_regions`
at the end of pmap_bootstrap - registering the corresponding ranges with the
VM.
This yields a ~20% improvement in build times of llvm on dual socket POWER9
over non-NUMA.
Original patch by mmacy.
Differential Revision: https://reviews.freebsd.org/D17933
Notes
Notes:
svn path=/head/; revision=346174
Diffstat (limited to 'sys/powerpc/conf/GENERIC64')
-rw-r--r-- | sys/powerpc/conf/GENERIC64 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/conf/GENERIC64 b/sys/powerpc/conf/GENERIC64 index 05447f451e13..07cd7da638f9 100644 --- a/sys/powerpc/conf/GENERIC64 +++ b/sys/powerpc/conf/GENERIC64 @@ -35,6 +35,7 @@ options POWERNV #Non-virtualized OpenPOWER systems options FDT #Flattened Device Tree options SCHED_ULE #ULE scheduler +options NUMA #Non-Uniform Memory Architecture support options PREEMPTION #Enable kernel thread preemption options VIMAGE # Subsystem virtualization, e.g. VNET options INET #InterNETworking |