diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/NOTES | 15 | ||||
-rw-r--r-- | sys/conf/options | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES index c603023..762648d 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -110,6 +110,21 @@ options DFLDSIZ=(1024UL*1024*1024) # options BLKDEV_IOSIZE=8192 +# +# MAXPHYS and DFLTPHYS +# +# These are the max and default 'raw' I/O block device access sizes. +# Reads and writes will be split into DFLTPHYS chunks. Some applications +# have better performance with larger raw I/O access sizes. Typically +# MAXPHYS should be twice the size of DFLTPHYS. Note that certain VM +# parameters are derived from these values and making them too large +# can make an an unbootable kernel. +# +# The defaults are 64K and 128K respectively. +options DFLTPHYS=(64*1024) +options MAXPHYS=(128*1024) + + # Options for the VM subsystem # Deprecated options supported for backwards compatibility #options PQ_NOOPT # No coloring diff --git a/sys/conf/options b/sys/conf/options index 8a2ffe6..5053580 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -535,6 +535,8 @@ ENABLE_ALART opt_intpm.h # These cause changes all over the kernel BLKDEV_IOSIZE opt_global.h +MAXPHYS opt_global.h +DFLTPHYS opt_global.h BURN_BRIDGES opt_global.h DEBUG opt_global.h DEBUG_LOCKS opt_global.h |