Changeset View
Changeset View
Standalone View
Standalone View
sys/i386/conf/NOTES
Show First 20 Lines • Show All 889 Lines • ▼ Show 20 Lines | |||||
# If you're tweaking this, you might also want to increase the sysctls | # If you're tweaking this, you might also want to increase the sysctls | ||||
# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". | # "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". | ||||
# | # | ||||
# The value below is the one more than the default. | # The value below is the one more than the default. | ||||
# | # | ||||
options PMAP_SHPGPERPROC=201 | options PMAP_SHPGPERPROC=201 | ||||
# | # | ||||
# Change the size of the kernel virtual address space. Due to | |||||
# constraints in loader(8) on i386, this must be a multiple of 4. | |||||
# 256 = 1 GB of kernel address space. Increasing this also causes | |||||
# a reduction of the address space in user processes. 512 splits | |||||
# the 4GB cpu address space in half (2GB user, 2GB kernel). For PAE | |||||
# kernels, the value will need to be double non-PAE. A value of 1024 | |||||
# for PAE kernels is necessary to split the address space in half. | |||||
# This will likely need to be increased to handle memory sizes >4GB. | |||||
# PAE kernels default to a value of 512. | |||||
# | |||||
options KVA_PAGES=260 | |||||
# | |||||
# Number of initial kernel page table pages used for early bootstrap. | # Number of initial kernel page table pages used for early bootstrap. | ||||
# This number should include enough pages to map the kernel, any | # This number should include enough pages to map the kernel, any | ||||
# modules or other data loaded with the kernel by the loader, and data | # modules or other data loaded with the kernel by the loader, and data | ||||
# structures allocated before the VM system is initialized such as the | # structures allocated before the VM system is initialized such as the | ||||
# vm_page_t array. Each page table page maps 4MB (2MB with PAE). | # vm_page_t array. Each page table page maps 4MB (2MB with PAE). | ||||
# | # | ||||
options NKPT=31 | options NKPT=31 | ||||
Show All 26 Lines | |||||
# Enable NDIS binary driver support | # Enable NDIS binary driver support | ||||
options NDISAPI | options NDISAPI | ||||
device ndis | device ndis | ||||
␌ | ␌ | ||||
##################################################################### | ##################################################################### | ||||
# VM OPTIONS | # VM OPTIONS | ||||
# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the | |||||
# kernel to use 4 MByte pages to map the kernel instead of 4k pages. | |||||
# This saves on the amount of memory needed for page tables needed to | |||||
# map the kernel. You should only disable this feature as a temporary | |||||
# workaround if you are having problems with it enabled. | |||||
# | |||||
#options DISABLE_PSE | |||||
# Disable the global pages PGE CPU feature. The PGE feature allows pages | |||||
# to be marked with the PG_G bit. TLB entries for these pages are not | |||||
# flushed from the cache when %cr3 is reloaded. This can make context | |||||
# switches less expensive. You should only disable this feature as a | |||||
# temporary workaround if you are having problems with it enabled. | |||||
# | |||||
#options DISABLE_PG_G | |||||
# KSTACK_PAGES is the number of memory pages to assign to the kernel | # KSTACK_PAGES is the number of memory pages to assign to the kernel | ||||
# stack of each thread. | # stack of each thread. | ||||
options KSTACK_PAGES=5 | options KSTACK_PAGES=5 | ||||
# Enable detailed accounting by the PV entry allocator. | # Enable detailed accounting by the PV entry allocator. | ||||
Show All 24 Lines |