From c93c4b8a88b470707d07527baafa58bfcac299e5 Mon Sep 17 00:00:00 2001 From: eivind Date: Tue, 19 Sep 2000 10:36:19 +0000 Subject: [PATCH] Document ENABLE_VFS_IOOPT --- sys/conf/NOTES | 13 ++++++++++++- sys/i386/conf/NOTES | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/sys/conf/NOTES b/sys/conf/NOTES index dcb3bd171139..42ded89e37d9 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -718,6 +718,18 @@ options EXT2FS # inclusion on shell boxes. options VFS_AIO +# Enable the code UFS IO optimization through the VM system. This allows +# use VM operations instead of copying operations when possible. +# +# Even with this enabled, actual use of the code is still controlled by the +# sysctl vfs.ioopt. 0 gives no optimization, 1 gives normal (use VM +# operations if a request happens to fit), 2 gives agressive optimization +# (the operations are split to do as much as possible through the VM system.) +# +# Enabling this will probably not give an overall speedup except for +# special workloads. +options ENABLE_VFS_IOOPT + # Cryptographically secure random number generator; /dev/[u]random device random @@ -2543,7 +2555,6 @@ options DEBUG options DEBUG_LINUX #options DISABLE_PSE options ENABLE_ALART -options ENABLE_VFS_IOOPT options FB_DEBUG options FB_INSTALL_CDEV options FE_8BIT_SUPPORT diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index dcb3bd171139..42ded89e37d9 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -718,6 +718,18 @@ options EXT2FS # inclusion on shell boxes. options VFS_AIO +# Enable the code UFS IO optimization through the VM system. This allows +# use VM operations instead of copying operations when possible. +# +# Even with this enabled, actual use of the code is still controlled by the +# sysctl vfs.ioopt. 0 gives no optimization, 1 gives normal (use VM +# operations if a request happens to fit), 2 gives agressive optimization +# (the operations are split to do as much as possible through the VM system.) +# +# Enabling this will probably not give an overall speedup except for +# special workloads. +options ENABLE_VFS_IOOPT + # Cryptographically secure random number generator; /dev/[u]random device random @@ -2543,7 +2555,6 @@ options DEBUG options DEBUG_LINUX #options DISABLE_PSE options ENABLE_ALART -options ENABLE_VFS_IOOPT options FB_DEBUG options FB_INSTALL_CDEV options FE_8BIT_SUPPORT