summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-10-16 21:53:27 +0000
committerdes <des@FreeBSD.org>2001-10-16 21:53:27 +0000
commitfbed4ccf55bff0a0b870ba91e8bd9cfa4c360631 (patch)
tree7b3d705de2f2874aab2467eb42f4938daefc5e5e
parent0ec0250d0c25e04286d45e9247bb939f8d64e2ce (diff)
downloadFreeBSD-src-fbed4ccf55bff0a0b870ba91e8bd9cfa4c360631.zip
FreeBSD-src-fbed4ccf55bff0a0b870ba91e8bd9cfa4c360631.tar.gz
Document TCBHASHSIZE.
-rw-r--r--sys/conf/NOTES5
-rw-r--r--sys/i386/conf/NOTES5
2 files changed, 10 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 7bef2ee..059d689 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -2925,6 +2925,11 @@ options NBUF=512 # Number of buffer headers
options NMBCLUSTERS=1024 # Number of mbuf clusters
+# Set the size of the TCB hash, where information about active connections
+# is stored. This must be a power of two, and should be set to something
+# comfortably larger than the expected number of concurrent TCP connections.
+options TCBHASHSIZE=4096
+
options PSM_DEBUG=1
options SCSI_NCR_DEBUG
diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES
index 7bef2ee..059d689 100644
--- a/sys/i386/conf/NOTES
+++ b/sys/i386/conf/NOTES
@@ -2925,6 +2925,11 @@ options NBUF=512 # Number of buffer headers
options NMBCLUSTERS=1024 # Number of mbuf clusters
+# Set the size of the TCB hash, where information about active connections
+# is stored. This must be a power of two, and should be set to something
+# comfortably larger than the expected number of concurrent TCP connections.
+options TCBHASHSIZE=4096
+
options PSM_DEBUG=1
options SCSI_NCR_DEBUG
OpenPOWER on IntegriCloud