Tuesday, November 22, 2011

Tips: 2 Swap and memory

One of the most critical setting is Linux's swap space. During the installation, you will need to create a swap partition.

What size should the partition be?

It depends on 2 things:
The size of your hard drive and the size of your RAM memory.

The less RAM you have, the more swap you will need. Usually you will want to set your swap space size to be twice the RAM size, with a maximum of 126 megs. This of course requires you to have a hard drive with enough free space to create such a partition.

If you have 32 megs of RAM, making the swap space 64 megs or even 128 megs is very important. You will need it. If you have 128 megs of RAM on the other hand, you won't need much swap because the system will already have 128 megs to fill before using swap space. So a swap partition of 128 megs or even 32 megs could be enough.

You can update/modify/add more later.

No comments:

Post a Comment