vm子树通常情况下不需要调整。
| vm.vmtotal | 系统虚拟内存的统计数据(可直接查看) | ||
| vm.loadavg | 系统的负载数据 | ||
| vm.v_free_min | |||
| vm.v_free_target | |||
| vm.v_free_reserved | |||
| vm.v_inactive_target | |||
| vm.v_cache_min | |||
| vm.v_cache_max | |||
| vm.v_pageout_free_min | |||
| vm.pageout_algorithm | LRU 换页管理时使用的算法 | ||
| vm.swap_enabled | 启用全进程换出 | ||
| vm.kmem_size_scale | 内核内存占总内存的比例 | ||
| vm.kmem_size_max | 内核内存的最大尺寸 | ||
| vm.kmem_size_min | 内核内存的最小尺寸 | ||
| vm.kmem_size | 内核内存的当前尺寸 | ||
| vm.swap_info | 按设备统计的交换区占用情况(二进制流,可以用swapinfo命令查看) | ||
| vm.nswapdev | 交换区设备数量 | ||
| vm.dmmax | 交换区块的最大尺寸 | ||
| vm.swap_async_max | 执行异步换入换出操作时的最大并发数 | ||
| vm.zone_stats | UMA Zone统计数据(二进制流,可以用vmstat -z查看) | ||
| vm.zone_count | UMA zones 数量 | ||
| vm.swap_idle_threshold2 | 进程换出闲置时间 | ||
| vm.swap_idle_threshold1 | 进程换入时的保证时间 | ||
| vm.exec_map_entries | 并发 exec 允许的数量 | ||
| vm.stats.misc.zero_page_count | 全0页数量 | ||
| vm.stats.misc.cnt_prezero | 空闲时间进行的抹零物理页数量 | ||
| vm.stats.vm.v_kthreadpages | 由内核 fork() 影响的 VM 页数量 | ||
| vm.stats.vm.v_rforkpages | 由 rfork() 影响的 VM 页数量 | ||
| vm.stats.vm.v_vforkpages | 由 vfork() 影响的 VM 页数量 | ||
| vm.stats.vm.v_forkpages | 由 fork() 影响的 VM 页数量 | ||
| vm.stats.vm.v_kthreads | 内核调用 fork() 的数量 | ||
| vm.stats.vm.v_rforks | 调用 rfork() 的数量 | ||
| vm.stats.vm.v_vforks | 调用 vfork() 的数量 | ||
| vm.stats.vm.v_forks | 调用 fork() 的数量 | ||
| vm.stats.vm.v_interrupt_free_min | |||
| vm.stats.vm.v_pageout_free_min | |||
| vm.stats.vm.v_cache_max | |||
| vm.stats.vm.v_cache_min | |||
| vm.stats.vm.v_cache_count | |||
| vm.stats.vm.v_inactive_count | |||
| vm.stats.vm.v_inactive_target | |||
| vm.stats.vm.v_active_count | |||
| vm.stats.vm.v_wire_count | |||
| vm.stats.vm.v_free_count | |||
| vm.stats.vm.v_free_min | |||
| vm.stats.vm.v_free_target | |||
| vm.stats.vm.v_free_reserved | |||
| vm.stats.vm.v_page_count | |||
| vm.stats.vm.v_page_size | |||
| vm.stats.vm.v_tfree | |||
| vm.stats.vm.v_pfree | |||
| vm.stats.vm.v_dfree | |||
| vm.stats.vm.v_tcached | 总 cache 页数 | ||
| vm.stats.vm.v_pdpages | Pagedaemon 扫描的页数 | ||
| vm.stats.vm.v_pdwakeups | Pagedaemon 唤醒次数 | ||
| vm.stats.vm.v_reactivated | 重新置为活跃 page 计数 | ||
| vm.stats.vm.v_intrans | In transit page blocking | ||
| vm.stats.vm.v_vnodepgsout | Vnodeout pages | ||
| vm.stats.vm.v_vnodepgsin | Vnodein pages | ||
| vm.stats.vm.v_vnodeout | Vnodeout operations | ||
| vm.stats.vm.v_vnodein | Vnodein operations | ||
| vm.stats.vm.v_swappgsout | Swapout pages | ||
| vm.stats.vm.v_swappgsin | Swapin pages | ||
| vm.stats.vm.v_swapout | Swapout operations | ||
| vm.stats.vm.v_swapin | Swapin operations | ||
| vm.stats.vm.v_ozfod | Optimized zero fill | ||
| vm.stats.vm.v_zfod | Zero fill | ||
| vm.stats.vm.v_cow_optim | Optimized COW faults | ||
| vm.stats.vm.v_cow_faults | COW faults | ||
| vm.stats.vm.v_vm_faults | VM faults | ||
| vm.stats.sys.v_soft | Software interrupts | ||
| vm.stats.sys.v_intr | Hardware interrupts | ||
| vm.stats.sys.v_syscall | Syscalls | ||
| vm.stats.sys.v_trap | Traps | ||
| vm.stats.sys.v_swtch | Context switches | ||
| vm.stats.object.bypasses | VM object bypasses | ||
| vm.stats.object.collapses | VM object collapses | ||
| vm.v_free_severe | |||
| vm.max_proc_mmap | |||
| vm.old_msync | Use old (insecure) msync behavior | ||
| vm.msync_flush_flags | |||
| vm.boot_pages | number of pages allocated for bootstrapping the VM system | ||
| vm.pageout_lock_miss | vget() lock misses during pageout | ||
| vm.disable_swapspace_pageouts | Disallow swapout of dirty pages | ||
| vm.defer_swapspace_pageouts | Give preference to dirty pages in mem | ||
| vm.swap_idle_enabled | Allow swapout on idle criteria | ||
| vm.pageout_stats_interval | Interval for partial stats scan | ||
| vm.pageout_full_stats_interval | Interval for full stats scan | ||
| vm.pageout_stats_max | Max pageout stats scan length | ||
| vm.max_launder | Limit dirty flushes in pageout | ||
| vm.phys_segs | Phys Seg Info | ||
| vm.phys_free | Phys Free Info | ||
| vm.idlezero_enable | |||
| vm.kvm_free | Amount of KVM free | ||
| vm.kvm_size | Size of KVM | ||
| vm.pmap.pmap_collect_active | Current number times pmap_collect called on active queue | ||
| vm.pmap.pmap_collect_inactive | Current number times pmap_collect called on inactive queue | ||
| vm.pmap.pv_entry_spare | Current number of spare pv entries | ||
| vm.pmap.pv_entry_allocs | Current number of pv entry allocs | ||
| vm.pmap.pv_entry_frees | Current number of pv entry frees | ||
| vm.pmap.pc_chunk_tryfail | Number of times tried to get a chunk page but failed. | ||
| vm.pmap.pc_chunk_frees | Current number of pv entry chunks frees | ||
| vm.pmap.pc_chunk_allocs | Current number of pv entry chunks allocated | ||
| vm.pmap.pc_chunk_count | Current number of pv entry chunks | ||
| vm.pmap.pv_entry_count | Current number of pv entries | ||
| vm.pmap.shpgperproc | Page share factor per proc | ||
| vm.pmap.pv_entry_max | Max number of PV entries | ||