Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I have a system with 4gb of RAM and Intel i5 processor. I want to know how much memory I should allocate to SWAP. Will allocating more memory help increase the system performance.

In the past i have always allocated 4gb for SWAP.

share|improve this question

marked as duplicate by Eric Carvalho, Danatela, Rinzwind, psusi, Sneetsher Jun 4 at 22:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 10 down vote accepted

Swap is what is used when you run out of RAM.

RAM is fast. SWAP is SLOWWWWWW (being as its mechanical (hard disk) as opposed to ram (purely electronic)).

In the old days, you allocated double the amount of RAM you had to swap. These days its not such a hard and fast rule. 2-4gb is the usual.


Related Question:

  1. I have 16GB RAM. Do I need 32GB swap?
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.