1
vote
1answer
23 views

How can I change the amount of data copied back into RAM when resuming in Linux?

Normally when I shut down my computer I hibernate. On the next boot I then resume. My problem is, that it seems that Linux just copies the least amount of data that is needed back into ram, because ...
2
votes
1answer
46 views

Pick which swap partition to use for Suspend to Disk

Is there anyway in Linux to pick which swap partition to use for Suspend to Disk? I have a setup with 2 swap partitions, one on an SSD and one on a HDD. I want the swap partition on the HDD to be used ...
0
votes
1answer
173 views

Use swap only for hibernation

I have a swap partition /dev/sda1. It is 2GB in size and i only want to use it for hibernating. My system has 4GB of RAM. When I am low on RAM the kernel starts swapping and I can't even switch to a ...
4
votes
1answer
168 views

What happens when you try to hibernate but there is not enough swap available?

I have a Linux box with a swap partition of size RAM + x. Suppose more than x of the swap is already in use. Now I try to hibernate. Will the kernel randomly kill sleeping and/or not sleeping ...
-1
votes
1answer
503 views

set up permanent ramdisk in ubuntu to not using ram when is the ramdisk empty

My laptop running Ubuntu 12.04 has 8GB RAM. I added following record to /etc/fstab tmpfs /media/ramdisk tmpfs defaults,noatime,mode=1777 0 0 What exactly does it mean? I have tested that I can ...
5
votes
1answer
89 views

Do locked pages get shredded from disk after resuming from suspend-to-disk?

Locked pages are sometimes used to store crypto keys like for Luks or for encfs and other sensitive things. But when doing hibernate (without swap drive encryption) they get stored to disk ...
22
votes
4answers
22k views

Can I hibernate Linux without a swap partition?

I hadn't set up a swap partition on my PC, because a) I have plenty of RAM (8 GB) and b) I have large harddrives that I didn't want to chop into tiny pieces, so my smallest partitions are 50 GiB, and ...