Quantcast
Channel: Ubuntu Forums - Installation & Upgrades
Viewing all articles
Browse latest Browse all 26379

[ubuntu] Setting exact swap size in installer

$
0
0
In order to ensure hibernation works I've read that swap partition needs to be at least the same size as physical RAM. I just installed Ubuntu 12.10 using the default install where I don't set up the partitions myself (LVM and full disk encryption enabled) and ran the 'free -m' command and saw the following:
Code:

        total
Mem:    7985
Swap:    8087

Why did it choose a higher number? Is there a certain amount by which swap partition must be higher than physical RAM for things like hibernate to work, or if I did manual partition setup could I have set swap partition to be exactly 7985 instead of 8087?

I ask because for future installations on a different machine where I need to set up partitions manually during the installation (to have more partitions under root partition), how can I know how much to set the swap size (without it being too much, i.e. I could have set swap to be 10GB even though I know my RAM is only 7-8GB).

Viewing all articles
Browse latest Browse all 26379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>