I've been using this guide as my go-to for how to install Ubuntu onto my desktops, particularly the partition scheme:
However, I've realised my primary desktop setup has evolved to the point where I might want to modify it on a future reinstall. Specifically, I want to use a RAM disk setup. I've just upgraded to 16GB of RAM (which is way more than most of my tasks will require for ordinary memory) and I believe there are methods of making the disk dynamically resize according to the system's actual memory requirements (or am I thinking about the SWAP file?).
Therefore, is it still a good idea to have the SWAP partition set to twice the total RAM size (so a total of 32GB) as the guide says, if indeed the RAM disk can resize according to memory requirements? I'd rather save some of the SWAP for more HOME partition space. The HDD is 1TB.
I'm also going to ask a similar question about my Gigabyte BRIX 2807 micro desktop setup. I have a maximised 8GB of RAM, and again I'd like to use a fair portion of that for a RAM disk. I also have an SSD, so I'd like to optimise it's write life cycle. I'm going to follow this guide:
Therefore, considering my prior question, was it also a good idea to set the SWAP to 16GB or twice the RAM size? Should I resize the SWAP partition to account for both the envisioned RAM disk and the optimisation of the SSD's write life cycle? Or not, preventing me from having to reinstall?
The distro on each desktop is Ubuntu 15.04.