Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2016 21:23:45 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r297877 - in head/sys/amd64: conf include
Message-ID:  <201604122123.u3CLNjJc049998@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604122123.u3CLNjJc049998>