From owner-freebsd-questions Fri Aug 10 11:33:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.100.219]) by hub.freebsd.org (Postfix) with ESMTP id 6AEF237B409 for ; Fri, 10 Aug 2001 11:33:22 -0700 (PDT) (envelope-from martin@dc.cis.okstate.edu) Received: from martin (helo=dc.cis.okstate.edu) by dc.cis.okstate.edu with local-esmtp (Exim 3.13 #1) id 15VH60-00068C-00 for freebsd-questions@freebsd.org; Fri, 10 Aug 2001 13:33:20 -0500 To: freebsd-questions@freebsd.org Subject: Swap Space Philosophy Date: Fri, 10 Aug 2001 13:33:20 -0500 From: Martin McCormick Message-Id: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG A FreeBSD-powered server I recently set up has 1 gigabyte of RAM and a 8-gigabyte hard disk. My understanding of swap usage is that swapping is done when an application runs out of RAM. Since this system will be running applications like domain name service and dhcp service, I doubt that it will get close to running out of RAM any time soon, if ever. I allocated a swap space of 2 megabytes because fdisk requires Swap. This particular server will have a fairly light load, but I am asking whether FreeBSD uses swap in any unusual way that I haven't counted on. If I followed the usual rule of thumb, I would have wasted about 12% of the disk space for an event that probably won't happen. Martin McCormick WB5AGZ Stillwater, OK OSU Center for Computing and Information Services Data Communications Group To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message