I'm installing Ubuntu on my SSD and don't want to waste space on a swap partition because I have 16GB of ram, nor do I use hibernation. But as a precaution, would there be any drawbacks if I created a Swap on my 3TB storage drive that is shared with Windows 7?

  • With 16 Gb of RAM and normal desktop activities you will probably never use swap. You might use swap if you run a bunch of VM or some large multimedia type of applications. – Panther May 24 '15 at 0:35

You would not notice any difference unless you ran out of RAM. At that point, there would be a monumental slowdown no matter if you used SSD or HDD. (Unless you have one of those fancy PCI-SSD things that are new from Intel.) However, if you plan on hibernating your computer, then there would be a slightly faster performance increase on the SSD.

When editing /etc/fstab, remember to mount and partition correctly. Backup your windows partition when resizing with gparted.

Note: Hibernation is disabled by default, as it is not compatible with many computers.

  • I'm not hibernating since I can easily boot up in a couple of seconds with the SSD, Thanks! – The Hood May 24 '15 at 1:04

The amount of storage that you allow for the swap area to be created over is taken from the storage you allot your Ubuntu partition to reside in. This Ubuntu partition will be protected as long as you do not erase or destroy it through another booting from a live CD or through similar mechanism. So there will be no drawbacks when you share your HDD with other OS alongside Ubuntu.

  • I believe the OP was asking for the performance difference between SSD and HDD for swap. – waterlubber May 24 '15 at 0:57
  • @waterlubber: please notice the last line of the post which I believe he was concerned about too. my answer addresses that issue although a bit differently. since the swap area defined by Ubuntu will remain inaccessible to other OS in any case, there will be no drawbacks if the swap area is taken from a storage where another OS is installed. – ashubuntu May 24 '15 at 1:10
  • Alright. sorry. My bad! – waterlubber May 24 '15 at 2:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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