summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2001-12-14 23:35:33 +0000
committerluigi <luigi@FreeBSD.org>2001-12-14 23:35:33 +0000
commit12cc1b9a91930f83ea606b9bf81d05fd843edec9 (patch)
treed3cd4cb449545c3c750ea0e0ea8ee810b99e0ee7 /sys/conf
parent4f7be302eda30f4b54d2d0f02ed9078e1bfbf8b0 (diff)
downloadFreeBSD-src-12cc1b9a91930f83ea606b9bf81d05fd843edec9.zip
FreeBSD-src-12cc1b9a91930f83ea606b9bf81d05fd843edec9.tar.gz
Add description of DEVICE_POLLING option.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/NOTES19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 3fd76ef..ab4b756 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -678,6 +678,25 @@ options ATM_UNI #UNI signalling manager
device hea #Efficient ENI-155p ATM PCI
device hfa #FORE PCA-200E ATM PCI
+#
+# DEVICE_POLLING adds support for mixed interrupt-polling handling
+# of network device drivers, which has significant benefits in terms
+# of robustness to overloads and responsivity, as well as permitting
+# accurate scheduling of the CPU time between kernel network processing
+# and other activities. The drawback is a moderate (up to 1/HZ seconds)
+# potential increase in response times.
+# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
+# to achieve smoother behaviour.
+# Additionally, you can enable/disable polling at runtime with the
+# sysctl variable kern.polling.enable (defaults off), and select
+# the CPU fraction reserved to userland with the sysctl variable
+# kern.polling.user_frac (default 50, range 0..100).
+#
+# Only the "dc" "fxp" and "sis" devices support this mode of operation at
+# the time of this writing.
+
+options DEVICE_POLLING
+
#####################################################################
# FILESYSTEM OPTIONS
OpenPOWER on IntegriCloud