From owner-freebsd-hackers Fri Jul 13 15:27:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id B167437B403 for ; Fri, 13 Jul 2001 15:27:18 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.3/8.11.2) id f6DMR8071313; Fri, 13 Jul 2001 15:27:08 -0700 (PDT) (envelope-from dillon) Date: Fri, 13 Jul 2001 15:27:08 -0700 (PDT) From: Matt Dillon Message-Id: <200107132227.f6DMR8071313@earth.backplane.com> To: David Gilbert Cc: Thierry Herbelot , David Gilbert , Alfred Perlstein , hackers@FreeBSD.ORG Subject: Re: Swapping in diskless ? (was :Re: [hackers] Re: getting rid of sysinstall) 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> 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 :Thierry> I don't know : my application was "embedded" and used much :Thierry> less than the 128MBytes installed in the machines (thus no :Thierry> swap!) : :I'm currently running in this configuration ... and have noticed that :the system will allow clean pages (largely loaded from the :executable's binary) to be recycled, but this is not an ideal :position. : :Dave. : :-- :============================================================================ :|David Gilbert, Velocet Communications. | Two things can only be | Right, you only need swap to be able to flush dirty pages. Clean code (and even clean data) pages are simply dropped and reloaded from the disk image later on if needed again. With careful program management you can run without swap. Also, do performance testing with dynamic-linked verses static-linked binaries. Static-linked binaries may look larger, but they have a much lower dirty-page overhead then the dynamically linked equivalent. It depends on the situation but it is definitely worth testing. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message