Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2004 22:19:30 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-stable@freebsd.org
Cc:        Rob <spamrefuse@yahoo.com>
Subject:   Re: using only swap file without swap partition: OK?
Message-ID:  <200411072219.30919.doconnor@gsoft.com.au>
In-Reply-To: <418DFD15.2010409@yahoo.com>
References:  <418DFD15.2010409@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart13749054.JJlMn8Tt8F
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Sun, 7 Nov 2004 21:16, Rob wrote:
> With 5.3 it has become much easier to add swap as a regular file,
> remove it later, or add a bigger or smaller one instead.
>
> The swap partition always causes me little headache: once the
> size is choosen at partitioning during install, it's fixed.
> I can't size it up or down anymore, unless I go fiddling with
> the partition table, which I desperately like to avoid.
>
> So, why not using swapfile without swap partition at all.
> Have it on a big partition with lots of space. If there's a
> problem with the space, I can easily move the swap elsewhere.
> A swapfile is so much more flexible.
>
> Is there a downside of not using swap partition, and have only
> swapfile instead?

You can't save crash dumps, and it is less efficient.

In general you don't need much swap if you have a reasonable amount of RAM,=
 so=20
it's not usually necessary to resize your swap when you get more RAM (unles=
s=20
you want to save crashdumps..)

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart13749054.JJlMn8Tt8F
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBjgvK5ZPcIHs/zowRAks1AJ9U0WoPgurIvtoXf10kqMpaWrNvtwCghRrj
lC145tMQp4M5/H97zkz0ALc=
=mc5M
-----END PGP SIGNATURE-----

--nextPart13749054.JJlMn8Tt8F--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411072219.30919.doconnor>