From owner-freebsd-questions@FreeBSD.ORG Fri Aug 17 00:13:20 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1D7516A41B for ; Fri, 17 Aug 2007 00:13:20 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 71DEB13C45B for ; Fri, 17 Aug 2007 00:13:20 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from rot26.obsecurity.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 1BA4B1A3C1A; Thu, 16 Aug 2007 17:11:47 -0700 (PDT) Received: by rot26.obsecurity.org (Postfix, from userid 1001) id A1252BA4A; Thu, 16 Aug 2007 20:13:19 -0400 (EDT) Date: Thu, 16 Aug 2007 20:13:19 -0400 From: Kris Kennaway To: Nicholas Wieland Message-ID: <20070817001319.GA18040@rot26.obsecurity.org> References: <098C8817-8D41-4D94-96E2-97D4310B0BAE@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <098C8817-8D41-4D94-96E2-97D4310B0BAE@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Swap size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2007 00:13:20 -0000 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 17, 2007 at 02:05:57AM +0200, Nicholas Wieland wrote: > I was reading tuning(7), and I found that I should size my swap =20 > double the size of my physical memory. > AFAIK that was true some years ago, when memory was not as cheap as =20 > now, and following that guideline I should set my swap to 2GB, which =20 > seems far too much for swap (at least to me ...). I will never need =20 > this much memory as 1GB RAM and 2GB swap. > Is it still correct ? 2GB is a reasonable amount of swap space, and unless you plan to turn your system on and leave it in the closet doing nothing, it will use more memory than you think. > How can I resize with bsdlabel if I already =20 > used all my disk space during install ? With a bit of work you can grow partitions (see growfs), but you cannot shrink them. Kris --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGxOgfWry0BWjoQKURAh/jAKCu5mo3wb/zeM3VkPhWaNsFbRy/QACfe/QD DHz+iFZeGJawjBlfVPwkb94= =smgb -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--