From owner-freebsd-hackers Fri Jul 13 15:37:54 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sabre.velocet.net (sabre.velocet.net [198.96.118.66]) by hub.freebsd.org (Postfix) with ESMTP id D806337B401 for ; Fri, 13 Jul 2001 15:37:50 -0700 (PDT) (envelope-from dgilbert@office.tor.velocet.net) Received: from office.tor.velocet.net (trooper.velocet.net [204.138.45.2]) by sabre.velocet.net (Postfix) with ESMTP id 416E8137FC2; Fri, 13 Jul 2001 18:37:49 -0400 (EDT) Received: (from dgilbert@localhost) by office.tor.velocet.net (8.11.4/8.9.3) id f6DMbnx04296; Fri, 13 Jul 2001 18:37:49 -0400 (EDT) (envelope-from dgilbert) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15183.30780.779907.874814@trooper.velocet.net> Date: Fri, 13 Jul 2001 18:37:48 -0400 To: Matt Dillon Cc: David Gilbert , Thierry Herbelot , Alfred Perlstein , hackers@FreeBSD.ORG Subject: Re: Swapping in diskless ? (was :Re: [hackers] Re: getting rid of sysinstall) In-Reply-To: <200107132227.f6DMR8071313@earth.backplane.com> References: <20010712143205.D4589@sneakerz.org> <3B4E1C69.A6DC0397@herbelot.com> <15182.63564.476492.390695@trooper.velocet.net> <3B4F3A22.EF2AC90A@herbelot.com> <15183.17942.995110.382797@trooper.velocet.net> <200107132227.f6DMR8071313@earth.backplane.com> X-Mailer: VM 6.92 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>>>> "Matt" == Matt Dillon writes: Matt> Right, you only need swap to be able to flush dirty pages. Matt> Clean code (and even clean data) pages are simply dropped and Matt> reloaded from the disk image later on if needed again. With Matt> careful program management you can run without swap. Matt> Also, do performance testing with dynamic-linked verses Matt> static-linked binaries. Static-linked binaries may look larger, Matt> but they have a much lower dirty-page overhead then the Matt> dynamically linked equivalent. It depends on the situation but Matt> it is definitely worth testing. Is it not possible (or has nobody done it) to swap with the current diskless boot? Of all people, I would have expected Matt to be able to help :). I have quite a few systems netbooting using etherboot floppies (incidentally running 3.4) ... and they use NFS swap just fine. I would really like the same thing with the PXE boot. Is it possibly as simple as making pxeboot ignore the swap DHCP tag? Does anyone here hack pxeboot? Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message