mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Make MAXPHYS and DFLTPHYS options (finally).
This commit is contained in:
parent
4d249371ce
commit
f9fbd1a4bc
2 changed files with 17 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue