Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Am about to upgrade to new SSD and thinking through partition migration process. Will I need SWAP with an SSD? I have 8GB RAM and an i5 processor.

share|improve this question
have a look at: and also have a search on AU with the term trim – Rinzwind Aug 21 '12 at 18:44
up vote 8 down vote accepted

With 8 GB RAM most likely swapping is not necessary, but you need swap if you have a laptop and want to use the hibernate option. You could also go for a swap file instead of a swap partition.

share|improve this answer

This is information on how to maximize performance of your SSD. Make sure to read the section about Swap and tmp, which explains whether swap is needed or not. And as January said, with 8GB RAM you probably won't need a swap.

Now that SSDs have moved into the realm of affordability, there's little reason not to use one for your next PC, if you're not already using one. But Linux, as with Windows, has spent decades being tuned for spinning platter drives and while performance is noticeably increased when using an SSD under Linux, there are a number of tweaks and filesystem changes you can do to make the most of your SSDs.

  • Filesystem layer
  • Scheduler
  • Swap and tmp

Linux is pretty good at only using swap if it really needs to, but even so if you're installing to an SSD and you have a mechanical hard drive in your system, be sure to put the swap partition on it instead of the SSD. If you've already installed Linux and allocated a swap partition on the SSD, you can simply set aside a partition on a spinning platter drive and edit your /etc/fstab swap entry to point to it instead. Read on

  • Applications
  • Partition alignment1

1Source:How to maximize SSD performance with Linux

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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