Skip to content

Instantly share code, notes, and snippets.

@pkieltyka
Created February 19, 2010 16:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pkieltyka/308894 to your computer and use it in GitHub Desktop.
Save pkieltyka/308894 to your computer and use it in GitHub Desktop.
VM sysctl options on FBSD 8
superpages on:
--------------
# sysctl -a | grep vm
kern.ipc.semvmx: 32767
kern.vm_guest: none
vm.vmtotal:
vm.loadavg: { 0.00 0.02 0.02 }
vm.v_free_min: 12793
vm.v_free_target: 53855
vm.v_free_reserved: 2683
vm.v_inactive_target: 80782
vm.v_cache_min: 53855
vm.v_cache_max: 107710
vm.v_pageout_free_min: 34
vm.pageout_algorithm: 0
vm.swap_enabled: 1
vm.kmem_size_scale: 3
vm.kmem_size_max: 329853485875
vm.kmem_size_min: 0
vm.kmem_size: 2761031680
vm.nswapdev: 1
vm.dmmax: 32
vm.swap_async_max: 4
vm.overcommit: 0
vm.swap_reserved: 259301376
vm.swap_total: 4294967296
vm.zone_count: 107
vm.swap_idle_threshold2: 10
vm.swap_idle_threshold1: 2
vm.kstacks: 151
vm.kstack_cache_size: 128
vm.exec_map_entries: 16
vm.stats.misc.zero_page_count: 12
vm.stats.misc.cnt_prezero: 0
vm.stats.vm.v_kthreadpages: 0
vm.stats.vm.v_rforkpages: 0
vm.stats.vm.v_vforkpages: 3621
vm.stats.vm.v_forkpages: 245128
vm.stats.vm.v_kthreads: 22
vm.stats.vm.v_rforks: 0
vm.stats.vm.v_vforks: 13
vm.stats.vm.v_forks: 963
vm.stats.vm.v_interrupt_free_min: 2
vm.stats.vm.v_pageout_free_min: 34
vm.stats.vm.v_cache_max: 107710
vm.stats.vm.v_cache_min: 53855
vm.stats.vm.v_cache_count: 1967
vm.stats.vm.v_inactive_count: 3117
vm.stats.vm.v_inactive_target: 80782
vm.stats.vm.v_active_count: 6031
vm.stats.vm.v_wire_count: 29194
vm.stats.vm.v_free_count: 1981844
vm.stats.vm.v_free_min: 12793
vm.stats.vm.v_free_target: 53855
vm.stats.vm.v_free_reserved: 2683
vm.stats.vm.v_page_count: 2022241
vm.stats.vm.v_page_size: 4096
vm.stats.vm.v_tfree: 82955
vm.stats.vm.v_pfree: 43738
vm.stats.vm.v_dfree: 0
vm.stats.vm.v_tcached: 9890
vm.stats.vm.v_pdpages: 0
vm.stats.vm.v_pdwakeups: 0
vm.stats.vm.v_reactivated: 2962
vm.stats.vm.v_intrans: 43
vm.stats.vm.v_vnodepgsout: 0
vm.stats.vm.v_vnodepgsin: 13161
vm.stats.vm.v_vnodeout: 0
vm.stats.vm.v_vnodein: 1073
vm.stats.vm.v_swappgsout: 0
vm.stats.vm.v_swappgsin: 0
vm.stats.vm.v_swapout: 0
vm.stats.vm.v_swapin: 0
vm.stats.vm.v_ozfod: 0
vm.stats.vm.v_zfod: 25577
vm.stats.vm.v_cow_optim: 58
vm.stats.vm.v_cow_faults: 34693
vm.stats.vm.v_vm_faults: 104043
vm.stats.sys.v_soft: 127551
vm.stats.sys.v_intr: 5924
vm.stats.sys.v_syscall: 256443
vm.stats.sys.v_trap: 87833
vm.stats.sys.v_swtch: 397015
vm.stats.object.bypasses: 521
vm.stats.object.collapses: 3706
vm.v_free_severe: 7738
vm.max_proc_mmap: 230085
vm.old_msync: 0
vm.msync_flush_flags: 3
vm.boot_pages: 48
vm.max_wired: 666448
vm.pageout_lock_miss: 0
vm.disable_swapspace_pageouts: 0
vm.defer_swapspace_pageouts: 0
vm.swap_idle_enabled: 0
vm.pageout_stats_interval: 5
vm.pageout_full_stats_interval: 20
vm.pageout_stats_max: 53855
vm.max_launder: 32
vm.phys_segs:
vm.phys_free:
vm.reserv.reclaimed: 0
vm.reserv.partpopq:
vm.reserv.freed: 485
vm.reserv.broken: 5
vm.idlezero_enable: 0
vm.kvm_free: 545800581120
vm.kvm_size: 549755809792
vm.pmap.pmap_collect_active: 0
vm.pmap.pmap_collect_inactive: 0
vm.pmap.pv_entry_spare: 1736
vm.pmap.pv_entry_allocs: 625242
vm.pmap.pv_entry_frees: 607994
vm.pmap.pc_chunk_tryfail: 0
vm.pmap.pc_chunk_frees: 4081
vm.pmap.pc_chunk_allocs: 4194
vm.pmap.pc_chunk_count: 113
vm.pmap.pv_entry_count: 17248
vm.pmap.pdpe.demotions: 0
vm.pmap.pde.promotions: 19
vm.pmap.pde.p_failures: 7799
vm.pmap.pde.mappings: 0
vm.pmap.pde.demotions: 5
vm.pmap.shpgperproc: 200
vm.pmap.pv_entry_max: 3255041
vm.pmap.pg_ps_enabled: 1
vfs.vmiodirenable: 1
compat.ia32.maxvmem: 0
superpages off:
---------------
# sysctl -a | grep vm
kern.ipc.semvmx: 32767
kern.vm_guest: none
vm.vmtotal:
vm.loadavg: { 0.11 0.17 0.08 }
vm.v_free_min: 12793
vm.v_free_target: 53855
vm.v_free_reserved: 2683
vm.v_inactive_target: 80782
vm.v_cache_min: 53855
vm.v_cache_max: 107710
vm.v_pageout_free_min: 34
vm.pageout_algorithm: 0
vm.swap_enabled: 1
vm.kmem_size_scale: 3
vm.kmem_size_max: 329853485875
vm.kmem_size_min: 0
vm.kmem_size: 2761031680
vm.nswapdev: 1
vm.dmmax: 32
vm.swap_async_max: 4
vm.overcommit: 0
vm.swap_reserved: 262148096
vm.swap_total: 4294967296
vm.zone_count: 107
vm.swap_idle_threshold2: 10
vm.swap_idle_threshold1: 2
vm.kstacks: 160
vm.kstack_cache_size: 128
vm.exec_map_entries: 16
vm.stats.misc.zero_page_count: 21
vm.stats.misc.cnt_prezero: 0
vm.stats.vm.v_kthreadpages: 0
vm.stats.vm.v_rforkpages: 0
vm.stats.vm.v_vforkpages: 2778
vm.stats.vm.v_forkpages: 240371
vm.stats.vm.v_kthreads: 22
vm.stats.vm.v_rforks: 0
vm.stats.vm.v_vforks: 10
vm.stats.vm.v_forks: 944
vm.stats.vm.v_interrupt_free_min: 2
vm.stats.vm.v_pageout_free_min: 34
vm.stats.vm.v_cache_max: 107710
vm.stats.vm.v_cache_min: 53855
vm.stats.vm.v_cache_count: 1658
vm.stats.vm.v_inactive_count: 2731
vm.stats.vm.v_inactive_target: 80782
vm.stats.vm.v_active_count: 5674
vm.stats.vm.v_wire_count: 29150
vm.stats.vm.v_free_count: 1982943
vm.stats.vm.v_free_min: 12793
vm.stats.vm.v_free_target: 53855
vm.stats.vm.v_free_reserved: 2683
vm.stats.vm.v_page_count: 2022241
vm.stats.vm.v_page_size: 4096
vm.stats.vm.v_tfree: 77368
vm.stats.vm.v_pfree: 41468
vm.stats.vm.v_dfree: 0
vm.stats.vm.v_tcached: 6029
vm.stats.vm.v_pdpages: 0
vm.stats.vm.v_pdwakeups: 0
vm.stats.vm.v_reactivated: 2881
vm.stats.vm.v_intrans: 42
vm.stats.vm.v_vnodepgsout: 0
vm.stats.vm.v_vnodepgsin: 8664
vm.stats.vm.v_vnodeout: 0
vm.stats.vm.v_vnodein: 782
vm.stats.vm.v_swappgsout: 0
vm.stats.vm.v_swappgsin: 0
vm.stats.vm.v_swapout: 0
vm.stats.vm.v_swapin: 0
vm.stats.vm.v_ozfod: 0
vm.stats.vm.v_zfod: 23258
vm.stats.vm.v_cow_optim: 58
vm.stats.vm.v_cow_faults: 33784
vm.stats.vm.v_vm_faults: 98189
vm.stats.sys.v_soft: 29799
vm.stats.sys.v_intr: 2906
vm.stats.sys.v_syscall: 200198
vm.stats.sys.v_trap: 81496
vm.stats.sys.v_swtch: 107814
vm.stats.object.bypasses: 518
vm.stats.object.collapses: 3645
vm.v_free_severe: 7738
vm.max_proc_mmap: 230085
vm.old_msync: 0
vm.msync_flush_flags: 3
vm.boot_pages: 48
vm.max_wired: 666448
vm.pageout_lock_miss: 0
vm.disable_swapspace_pageouts: 0
vm.defer_swapspace_pageouts: 0
vm.swap_idle_enabled: 0
vm.pageout_stats_interval: 5
vm.pageout_full_stats_interval: 20
vm.pageout_stats_max: 53855
vm.max_launder: 32
vm.phys_segs:
vm.phys_free:
vm.reserv.reclaimed: 0
vm.reserv.partpopq:
vm.reserv.freed: 444
vm.reserv.broken: 4
vm.idlezero_enable: 0
vm.kvm_free: 545800581120
vm.kvm_size: 549755809792
vm.pmap.pmap_collect_active: 0
vm.pmap.pmap_collect_inactive: 0
vm.pmap.pv_entry_spare: 1822
vm.pmap.pv_entry_allocs: 599875
vm.pmap.pv_entry_frees: 582881
vm.pmap.pc_chunk_tryfail: 0
vm.pmap.pc_chunk_frees: 3945
vm.pmap.pc_chunk_allocs: 4057
vm.pmap.pc_chunk_count: 112
vm.pmap.pv_entry_count: 16994
vm.pmap.pdpe.demotions: 0
vm.pmap.pde.promotions: 0
vm.pmap.pde.p_failures: 0
vm.pmap.pde.mappings: 0
vm.pmap.pde.demotions: 5
vm.pmap.shpgperproc: 200
vm.pmap.pv_entry_max: 3255041
vm.pmap.pg_ps_enabled: 0
vfs.vmiodirenable: 1
compat.ia32.maxvmem: 0
* Settings were taken after a fresh boot
descriptions:
-------------
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.pdpe.demotions: 1GB page demotions
vm.pmap.pde.promotions: 2MB page promotions
vm.pmap.pde.p_failures: 2MB page promotion failures
vm.pmap.pde.mappings: 2MB page mappings
vm.pmap.pde.demotions: 2MB page demotions
vm.pmap.shpgperproc: Page share factor per proc
vm.pmap.pv_entry_max: Max number of PV entries
vm.pmap.pg_ps_enabled: Are large page mappings enabled?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment