hakan at koseoglu.org
Mon Aug 10 22:06:13 UTC 2009
On Mon, Aug 10, 2009 at 10:28 PM, Michael S. Mason<midnitemac at me.com> wrote:
> I have a new Dell Server that I am about to install Ubuntu 9.04 Server
> AMD64 onto. I have 4 GB's of RAM. My question? Is there any need for a
> SWAP partition with 4GB's of RAM?
It depends on what you are going to use it for. 4GB of RAM is not much
for a busy database application, plenty for a very light-weight static
page serving HTTP server.
Unless you're extremely short of disk, it is always useful to have a
swap file at least as big as your physical memory. Historic
recommendations are usually twice the amount of RAM. In reality if you
are swapping that much in and out, your server performance will be
quite severely effected.
In addition, some hibernation schemes can use swap partition.
Hakan (m1fcj) - http://www.hititgunesi.org
More information about the ubuntu-server