Sleep or hibernate

  • Thread starter Thread starter Jeff T.
  • Start date Start date
J

Jeff T.

What's the difference between sleep and hibernate? Does the computer
come on when you move the mouse or touch a key with both of them. When
running Superantispyware it give me choices: when it's done to shutdown
sleep or hibernate which should I choose if I'll be using it right away
and don't want to have to go through a startup
Jeff
 
Jeff said:
What's the difference between sleep and hibernate? Does the computer
come on when you move the mouse or touch a key with both of them. When
running Superantispyware it give me choices: when it's done to shutdown
sleep or hibernate which should I choose if I'll be using it right away
and don't want to have to go through a startup
Jeff

Sleep and hibernate, are states where the CPU is not running.
Their intention is to save power, while you're not using
the computer. And at the same time, to preserve the system
state (open programs) for you.

Sleep stores the session in RAM. This is a form of volatile storage.
If the AC power were to go off, the computer eventually runs out
of +5VSB to power the RAM. All your work (open files not saved) would be
lost.

Hibernate, stored the contents of RAM onto the hard drive, in hiberfil.sys
file. When a computer is restarted, after being in hibernation state,
the disk contents are read and put back into RAM. Then, the program
counter is loaded with the last used address, and the computer
picks up where it left off.

Hybrid sleep is available on some later OSes. It stored the session in
both RAM and disk. If the computer is not powered off, the RAM stuff
can be used directly. If the computer is powered off, the contents of
the hiberfil.sys are there.

*******

"Wake-up" is a separate issue.

Pressing the power button on the front of the computer, is
likely to always work. The power button is biased by +5VSB,
and if the ATX supply is getting any power at all inside,
it makes that voltage. The power button is not likely to be
gated off.

Wake on mouse or Wake on keyboard, require two things.
They need electrical power. Modern motherboards always
run the keyboard and mouse from +5VSB. On some keyboards
(like mine), I see a glowing LED which tells me when the
computer is off, the keyboard has power.

The second necessary step, is a visit to Device Manager.
Do "Properties" on the mouse and keyboard entries. There
should be a tab in properties, where it says "Allow this
device to bring the computer out of Standby". That should
be ticked.

In the BIOS, there is an entire page dedicated to power
related things. And wake functions (with the abbreviation
PME or Power Management Event) can be found there. If
the Device Manager entry was grayed out, you could
check the BIOS to see if something there is the issue.

PCI cards have an actual PME signal available to them. THat's
how a NIC (network) card is able to wake up the computer,
if a Wake On LAN packet is received. The chipset also has
PME, and the mouse and keyboard may eventually find their
way to driving such a signal. So a number of things have
waking capabilities. And other things do not - your hard
drive cannot wake the computer, if the hard drive is
having a bad day. It's the keyboard, mouse, touchpad,
NIC, Wifi (for the ones that are "Always On) and so on.

*******

You want "Sleep" for the situation you describe.
The Power Button is most likely guarantee to wake
it up. Whereas other HID devices, may need Device
Manager adjustments.

And you test Sleep, with the computer booted, and not
doing anything important. Make sure Sleep is working
properly, before trusting open files to it, so you
don't lose any work.

Occasionally, a computer with bad RAM, cannot sleep
properly. Or, it can be the chipset which does not
transition well, from fully powered, to sleep powered
state. For those computers, simply use hibernate,
as it's a more rock solid option. I think I've had
at least one computer here, which doesn't sleep properly.
So that one just hibernates if I want to take a break.

HTH,
Paul
 
What's the difference between sleep and hibernate? Does the computer
come on when you move the mouse or touch a key with both of them. When
running Superantispyware it give me choices: when it's done to shutdown
sleep or hibernate which should I choose if I'll be using it right away
and don't want to have to go through a startup
Jeff

I was trying to help the friend of the father of my friend. He's 93 and
still practicing law, but his secretary was away and my friend can't
help because he uses a Mac. He was trying to clean up some lawsuit
papers written in Word, and I pretty much failed to help him -- I
couldn't make things look right --, but he still took us out to dinner.

We came back to my car and when I was leaving his office I told him he
should use Hibernate, but his daughter said they couldn't risk the power
going off. I started to explain that that didnt' matter, but got
interrupted by something. Really, I'm 67 and if this guy is 93, he'd
benefit even more than I from Hibernate, because you don't have to
remember where you left off. So the question was, should I call his
daughter and try once more to convince her that Hibernate is safe and
she was thinking about Sleep?? I don't think she's the only one who
conflates the two. (Even Sleep is safe if you don't have any non-saved
work, don't mind using more electricity, and don't mind it much if the
power does fail and you have to remember what you want to run.)

I use Hibernate all the time (though in XP you have to set a setting
somewhere to enable Hibernate. I wonder why that is.), so that,
compared to Turn Off, it reminds me what I was doing (very important)
and I don't have to restart everything, especially things that don't go
back to exactly where I was. (Agent 1.93, for example.) Also most
Windows updates don't get installed unless you Turn Off, but they don't
send us updates for XP anymore anyhow. Also sometimes you have to
restart to make Windows work right, but since Mayayana recommended
Noscript, I've gone 6 weeks without Restarting, instead of the 10 days
that used to be the max. (I"ve been meaning to thank Mayayana but
waiting until I could formulate a related question. Thank you, M.)

Before Windows had Hibernate, I bought some program that did the same
thing. Didn't use it much because iirc the copying took so very long.
Now I have much more RAM but it doesn't take long.

Try it; you'll like it. I don't know why everyone doesn't use it.
 
I was trying to help the friend of the father of my friend. He's 93 and
still practicing law, but his secretary was away and my friend can't
help because he uses a Mac. He was trying to clean up some lawsuit
papers written in Word, and I pretty much failed to help him -- I
couldn't make things look right --, but he still took us out to dinner.

We came back to my car and when I was leaving his office I told him he
should use Hibernate, but his daughter said they couldn't risk the power
going off. I started to explain that that didnt' matter, but got
interrupted by something. Really, I'm 67 and if this guy is 93, he'd
benefit even more than I from Hibernate, because you don't have to
remember where you left off. So the question was, should I call his
daughter and try once more to convince her that Hibernate is safe and
she was thinking about Sleep?? I don't think she's the only one who
conflates the two. (Even Sleep is safe if you don't have any non-saved
work, don't mind using more electricity, and don't mind it much if the
power does fail and you have to remember what you want to run.)

I use Hibernate all the time (though in XP you have to set a setting
somewhere to enable Hibernate. I wonder why that is.), so that,
compared to Turn Off, it reminds me what I was doing (very important)
and I don't have to restart everything, especially things that don't go
back to exactly where I was. (Agent 1.93, for example.) Also most
Windows updates don't get installed unless you Turn Off, but they don't
send us updates for XP anymore anyhow. Also sometimes you have to
restart to make Windows work right, but since Mayayana recommended
Noscript, I've gone 6 weeks without Restarting, instead of the 10 days
that used to be the max. (I"ve been meaning to thank Mayayana but
waiting until I could formulate a related question. Thank you, M.)

Before Windows had Hibernate, I bought some program that did the same
thing. Didn't use it much because iirc the copying took so very long.
Now I have much more RAM but it doesn't take long.

Try it; you'll like it. I don't know why everyone doesn't use it.

On my main desktop using hibernate slows down the performance of the PC
progressively every time it is used until a full restart, so for me it
doesnt work properly, other machines work happily with no performance
drop, dont know why this is but it suits me not to use that machine
without a full startup! C+
 
Back
Top