From owner-freebsd-hackers Tue Feb 6 0:37:13 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from workhorse.iMach.com (workhorse.iMach.com [206.127.77.89]) by hub.freebsd.org (Postfix) with ESMTP id 9F5CC37B491 for ; Tue, 6 Feb 2001 00:36:54 -0800 (PST) Received: from localhost (forrestc@localhost) by workhorse.iMach.com (8.9.3/8.9.3) with ESMTP id BAA15589 for ; Tue, 6 Feb 2001 01:33:44 -0700 (MST) Date: Tue, 6 Feb 2001 01:33:43 -0700 (MST) From: "Forrest W. Christian" To: freebsd-hackers@freebsd.org Subject: VM Questions - Swap "Disabling" Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've been digging for this answer through various resources, including the source code and various search engines and can't find the answer to this. By the way, those of you who work in the vm code are either gods or have a mind which is significantly more twisted than mine. (That was a compliment, I think). I am building FreeBSD on a Flash-based system. The desired effect is that when the system is running low on memory, it should be free to free "clean" data/code pages which it read from disk(flash) and hasn't been forced to copy due to a write. However, there will not be swap, so "pure" swapping should be disabled. Could someone be kind enough to tell me, in the context of "freeing code/data which is as read from disk" versus "swapping modified data to disk", what each of these options do (plus any other options I might want to try)? The options are: NO_SWAPPING (in makefile) vm.defer_swapspace_pageouts (sysctl) vm.disable_swapspace_pageouts (sysctl) I am fairly versed in the overall VM theory, but I am obviously not versed enough to actually be able to understand what the @#($* the code is actually doing. Thanks! - Forrest W. Christian (forrestc@imach.com) AC7DE ---------------------------------------------------------------------- iMach, Ltd., P.O. Box 5749, Helena, MT 59604 http://www.imach.com Solutions for your high-tech problems. (406)-442-6648 ---------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message