Re: documentation on sysctl vm.defer_swapspace_pageouts?
From: David Schultz (das_at_FreeBSD.ORG)
Date: 05/30/04
- Previous message: Geert Hendrickx: "documentation on sysctl vm.defer_swapspace_pageouts?"
- In reply to: Geert Hendrickx: "documentation on sysctl vm.defer_swapspace_pageouts?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 May 2004 00:34:13 -0700 To: Geert Hendrickx <geert.hendrickx@ua.ac.be>
On Sat, May 29, 2004, Geert Hendrickx wrote:
> where can I find documentation on the vm.defer_swapspace_pageouts
> sysctl? LINT only mentions it, without explaining, man sysctl doesn't
> mention it at all, and even Google yields very few useful results...
vm.defer_swapspace_pageouts causes the system to avoid using swap,
if possible. With the option enabled, the VM system will still
evict clean pages and read them in again from the filesystem when
necessary, but it will only write dirty pages to the swap
partition as a last resort.
> I was looking for a way to tune swap-usage a bit, I heard Linux has a
> "swappiness" setting (telling the kernel how easy it should go with
> paging out), and I hoped FreeBSD would have something similar.
> vm.defer_swapspace_pageouts might do the trick, but so it seems to be
> poorly documented...
Take a look at vm.swap_idle_enabled. With that option enabled,
the VM system is more proactive in swapping out idle processes,
rather than waiting for a low-memory situation to materialize
before taking action.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Geert Hendrickx: "documentation on sysctl vm.defer_swapspace_pageouts?"
- In reply to: Geert Hendrickx: "documentation on sysctl vm.defer_swapspace_pageouts?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|