diff options
author | luigi <luigi@FreeBSD.org> | 2001-12-14 23:35:33 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2001-12-14 23:35:33 +0000 |
commit | 12cc1b9a91930f83ea606b9bf81d05fd843edec9 (patch) | |
tree | d3cd4cb449545c3c750ea0e0ea8ee810b99e0ee7 | |
parent | 4f7be302eda30f4b54d2d0f02ed9078e1bfbf8b0 (diff) | |
download | FreeBSD-src-12cc1b9a91930f83ea606b9bf81d05fd843edec9.zip FreeBSD-src-12cc1b9a91930f83ea606b9bf81d05fd843edec9.tar.gz |
Add description of DEVICE_POLLING option.
-rw-r--r-- | sys/conf/NOTES | 19 | ||||
-rw-r--r-- | sys/i386/conf/NOTES | 19 |
2 files changed, 38 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 diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index 3fd76ef..ab4b756 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/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 |