I have never paid attention to this information before, because I used Ubuntu on my desktop and my laptop was always Windows. As Windows is getting dumb, I recently decided to convert a common system to Ubuntu, so I noticed the difference between suspension and sleep. here I mark it :... I have never paid attention to this information before, because I used Ubuntu on my desktop and my laptop was always Windows. As Windows is getting dumb, I recently decided to convert a common system to Ubuntu, so I noticed the difference between suspension and sleep. here we mark:
[Question] What is the difference between sleep and suspension?
Pending = Suspend To RAM (STR)
Sleep = Suspend To Disk (STD)
The memory is still working after being suspended, and all devices are stopped after being sleep.
The suspension speed is faster than the sleep speed and recovery speed.
Ubuntu suspends sleep
If a hard disk is suspended, the current state of the computer is loaded into the memory, that is, the hard disk stops power supply, but the memory still needs power supply. The advantage is that recovery is fast, but the disadvantage is that continuous power supply is required and the power will have to be restarted.
Sleep is to save the current state of the system to a sleep file on the hard disk, and then close all the devices. you can safely shut down the power supply and restart it next time, the files stored in the hard disk are automatically called and restored to the state before shutdown.
The advantage is that power supply is not required and sleep takes a long time. The disadvantage is that the recovery speed is slow (relative to suspension ).
It takes 2 or 3 seconds to resume a suspension. It takes more than 10 seconds to recover from sleep, which is slower than suspension but much faster than restart.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service