On Wed, 29 May 2013 13:57:22 +0200 Fred Morcos wrote:
> Linux has a sysctl variable vm.swappiness which you can set to 0 or 1 > out of 100. Not sure how to achieve the same on FreeBSD, maybe one or > more combinations of the following? You'll probably make things worse. > vm.stats.vm.v_swappgsout: 236969 > vm.stats.vm.v_swappgsin: 28411 > vm.stats.vm.v_swapout: 92607 > vm.stats.vm.v_swapin: 28285 These are just information > vm.disable_swapspace_pageouts: 0 I'm not entirely sure, but I think this just disables paging at runtime - rather than compile time. > vm.defer_swapspace_pageouts: 0 IIRC this defers paging, but it can end up with the paging done on the critical path rather in the background - it's usually a bad idea. > vm.swap_idle_enabled: 0 > vm.swap_idle_threshold2: 10 > vm.swap_idle_threshold1: 2 This why you shouldn't confuse swapping and paging. These are about actually swapping-out processes. It's mainly about reducing memory use on multiuser systems where there many terminal idle at at any time. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"