Date: Thu, 16 Aug 2007 20:13:19 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Nicholas Wieland <nicholas.wieland@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Swap size Message-ID: <20070817001319.GA18040@rot26.obsecurity.org> In-Reply-To: <098C8817-8D41-4D94-96E2-97D4310B0BAE@gmail.com> References: <098C8817-8D41-4D94-96E2-97D4310B0BAE@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070817001319.GA18040>