From owner-freebsd-current Wed Sep 2 13:28:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA28336 for freebsd-current-outgoing; Wed, 2 Sep 1998 13:28:55 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA28326 for ; Wed, 2 Sep 1998 13:28:49 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.9.1/8.8.5) with SMTP id WAA13870 for ; Wed, 2 Sep 1998 22:32:41 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Wed, 2 Sep 1998 22:32:41 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: freebsd-current@FreeBSD.ORG Subject: VM question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'd like to change the behaviour of VM management, and I'm not sure how to do this. Here's what the setup looks like: * the system in question is running without swap, so all that VM subsystem has to manage is in RAM only, * all binaries are either on an MFS, or on some other media with very fast access (like a silicon disk), ...and here's what I'd like to achieve: * to free pages aggressively, so that only a very few pages (a fraction of .text and .data, the stack and bss) are paged in, and then as soon as possible freed - it's relatively cheap to do pagein when the media that holds binaries is very fast, (As a side note: probably what I'd like to use is execution in place, especially in case of MFS, but I remember someone telling me it's very difficult to do...) * to limit killing of random user processes - instead the VM should try first to free as much pages as possible (and it should try better than it is doing now :-) So, given the above scenario and the goals: * which existing knobs (and which direction...) should I twist to help it? * what changes in VM code this would require (code examples are very welcome...). And yet another related question: what does NO_SWAPPING define do to the kernel? When should I use it? (Ok, I thought it sounds good and enabled it, but I don't see any obvious results...). Thanks in advance, and excuse me if some of these questions show only my ignorance... :-) Andrzej Bialecki -------------------- ++-------++ ------------------------------------- ||PicoBSD|| FreeBSD in your pocket? Go and see: Research & Academic |+-------+| "Small & Embedded FreeBSD" Network in Poland | |TT~~~| | http://www.freebsd.org/~picobsd/ -------------------- ~-+==---+-+ ------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message