Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a 160GB SSD and 8GB of RAM. I don't expect to need swap much while my computer is on, but I would like to be able to hibernate. Is there any reason to have a swap partition larger than 8GB? Maybe 8.5GB?
I only use between 2gb and half the amount of ram for swap space on all my servers any more... It all really depends on what the server/machine is going to be doing.
Some feel one should not use swap on a ssd but since you desire hibernation, I'd think it unlikely you'd need 8G. My thinking would be it would be faster to power on than it would be to resume from hibernate. At least my VM's are that way.
Some feel one should not use swap on a ssd but since you desire hibernation, I'd think it unlikely you'd need 8G. My thinking would be it would be faster to power on than it would be to resume from hibernate. At least my VM's are that way.
You are missing an important advantage of hibernation. You can work from exactly that point on from where you hibernated the machine, all application windows are in the same place with the same content and doing things they were doing. This is simply not possible with a normal boot, AFAIK. Regarding the speed, my SSD reads (according to hdparm) with ca. 250MB/s, so reading 8GB would only require 24 seconds, add the kernel boot time and you may come to ca. 30-35 seconds for that. Now do a normal boot and then open all your applications to the point they were before the reboot, you will most likely spend much more time on that.
By the way, on my VMs I normally use neither hibernate nor shutdown, but the suspend option of Virtualbox (when i think about that it should be somewhat similar to hibernation).
Then the OP ought to test his SSD both ways. It may be that his thinking of the old hard drive and new ssd needs to be changed. He may feel he needs hibernate for speed. As you say it may be a point in time deal.
I suggest that you make the 16 GB Swap. Well, you have a lot of space anyway... Beside, Linux binaries mostly requires small amount of space, so this shouldn't be a concern.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.