Author: jhb
Date: Tue Apr 12 21:23:44 2016
New Revision: 297877
URL: https://svnweb.freebsd.org/changeset/base/297877

Log:
  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

Modified:
  head/sys/amd64/conf/GENERIC
  head/sys/amd64/conf/MINIMAL
  head/sys/amd64/include/param.h

Modified: head/sys/amd64/conf/GENERIC
==============================================================================
--- head/sys/amd64/conf/GENERIC Tue Apr 12 21:21:06 2016        (r297876)
+++ head/sys/amd64/conf/GENERIC Tue Apr 12 21:23:44 2016        (r297877)
@@ -93,6 +93,7 @@ options       MALLOC_DEBUG_MAXZONES=8 # Separ
 
 # Make an SMP-capable kernel by default
 options        SMP                     # Symmetric MultiProcessor Kernel
+options        DEVICE_NUMA             # I/O Device Affinity
 
 # CPU frequency control
 device         cpufreq

Modified: head/sys/amd64/conf/MINIMAL
==============================================================================
--- head/sys/amd64/conf/MINIMAL Tue Apr 12 21:21:06 2016        (r297876)
+++ head/sys/amd64/conf/MINIMAL Tue Apr 12 21:23:44 2016        (r297877)
@@ -92,6 +92,7 @@ options       MALLOC_DEBUG_MAXZONES=8 # Separ
 
 # Make an SMP-capable kernel by default
 options        SMP                     # Symmetric MultiProcessor Kernel
+options        DEVICE_NUMA             # I/O Device Affinity
 
 # CPU frequency control
 device         cpufreq

Modified: head/sys/amd64/include/param.h
==============================================================================
--- head/sys/amd64/include/param.h      Tue Apr 12 21:21:06 2016        
(r297876)
+++ head/sys/amd64/include/param.h      Tue Apr 12 21:23:44 2016        
(r297877)
@@ -72,7 +72,7 @@
 #endif
 
 #ifndef MAXMEMDOM
-#define        MAXMEMDOM       1
+#define        MAXMEMDOM       8
 #endif
 
 #define        ALIGNBYTES              _ALIGNBYTES
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to