0

When installing Ubuntu unless you do a manual partition, you get roughly and x+.5 MB swap space, where x is the amount of ram present. At least this has been my experience. I that official Ubuntu documentation (https://help.ubuntu.com/community/SwapFaq) recommends having 2x ram for the swap partition and indicates that x is the minimum why aren't we defaulting to larger swap sizes, especially considering the relatively low expense of storage?

1 Answer 1

0

Relatively low price of storage? Pfft. I have 24GB of RAM and 120GB of SSD. I'd strongly mind if I lost 48GB of SSD to swap.

This question deals with the high-RAM views in the industry. Basically, if you have tons of RAM, it's unlikely you're going to need tons of swap unless you're dealing with very specific workloads that could force things into swap.

RAM+.5GB simply ensures there's more than enough to push all of RAM into swap at hibernate without too much of a fight. That should cover most behaviours.

If you're on a low-RAM system, you'll probably need more.

3
  • Yes, relatively low cost. Here's a link for a 256 GB pen drive: Dec 5, 2013 at 18:51
  • Sorry: Here's a link for a 256 GB pen drive:amazon.com/Flash-Drives-256gb-Memory-Sticks/dp/B00B4W34T2/…, I'd suggest looking into it if 24 GB is such a disaster for you. I understand that your HD is of the fancy type, but when I got my machine I think it cost me 30 bucks to go from 1TB to 2TB and the going rate on 120 GB SDD looks to be about 90 bucks... which isn't that much. So yes, relatively inexpensive. Pfft. Dec 5, 2013 at 19:00
  • I'm not taking about flash memory, though. I'm taking about high quality MLC.
    – Oli
    Dec 5, 2013 at 21:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .