A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 7 » Windows 7 Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

hyberfil Question



 
 
Thread Tools Rate Thread Display Modes
  #16  
Old July 23rd 17, 06:47 PM posted to alt.windows7.general
Rene Lamontagne
external usenet poster
 
Posts: 2,549
Default hyberfil Question

On 7/23/2017 11:16 AM, Mayayana wrote:
"Rene Lamontagne" wrote

| Ha, Paul was exactly right as usual.
| Your answer is the usual bull**** when you don't know Anything about
| Windows 10'
|

?? I'm sorry to bother you with links and answers.
I'll try to keep your view in mind in the future. You
do realize you're in a Win7 group?

I had no problem with Paul's answer, but a command
line isn't for everyone. The Windows GUI is mostly
self-explanatory. If someone knows how to get to
Control Panel they can figure out most things.
Command line incantations require that one either
memorize them or keep a listing somewhere. It's
more work. That's why Windows came *after* DOS.
It's supposed to be an improvement. So if one wants
to offer command line solutions I figure it makes
sense to also offer the GUI solution, so that people
can help themselves and not just memorize commands.



OK, I searched that article and could not find the hibernate mention in
sleep advanced so after much looking I went to my Sons PC with Windows
10 and yes there it is! in sleep as directed.
So looking further I find hibernate Active in his but deleted in mine.
So I guess that changes the menu options also.
Yes, I realize I am in Windows & newsgroup.

Anyway I guess I owe you an Apology. I'll try and look closer next time
before I respond. :-)

Rene




Ads
  #17  
Old July 23rd 17, 06:54 PM posted to alt.windows7.general
Rene Lamontagne
external usenet poster
 
Posts: 2,549
Default hyberfil Question

On 7/23/2017 12:47 PM, Rene Lamontagne wrote:
On 7/23/2017 11:16 AM, Mayayana wrote:
"Rene Lamontagne" wrote

| Ha, Paul was exactly right as usual.
| Your answer is the usual bull**** when you don't know Anything about
| Windows 10'
|

?? I'm sorry to bother you with links and answers.
I'll try to keep your view in mind in the future. You
do realize you're in a Win7 group?

I had no problem with Paul's answer, but a command
line isn't for everyone. The Windows GUI is mostly
self-explanatory. If someone knows how to get to
Control Panel they can figure out most things.
Command line incantations require that one either
memorize them or keep a listing somewhere. It's
more work. That's why Windows came *after* DOS.
It's supposed to be an improvement. So if one wants
to offer command line solutions I figure it makes
sense to also offer the GUI solution, so that people
can help themselves and not just memorize commands.



OK, I searched that article and could not find the hibernate mention in
sleep advanced so after much looking I went to my Sons PC with Windows
10 and yes there it is! in sleep as directed.
So looking further I find hibernate Active in his but deleted in mine.
So I guess that changes the menu options also.
Yes, I realize I am in Windows & newsgroup.

Anyway I guess I owe you an Apology. I'll try and look closer next time
before I respond. :-)

Rene



Sorry Windows 7 newsgroup. not &

Rene



  #18  
Old July 23rd 17, 07:32 PM posted to alt.windows7.general
SteveGG
external usenet poster
 
Posts: 366
Default hyberfil Question

Thanks for the best answer to my simple question.

Thanks to others also.
  #19  
Old July 23rd 17, 09:12 PM posted to alt.windows7.general
mike[_10_]
external usenet poster
 
Posts: 1,073
Default hyberfil Question

On 7/23/2017 9:03 AM, Mayayana wrote:
"SteveGG" wrote

| Getting rid of it wasn't the question, BUT whether it serves some
| purpose other than in hibernation. Does it speed up other things ?

Sleep is leaving the current setup in RAM.
Hibernate puts it into a file. The point is to
leave everything as-is rather than needing
to close up all current work and then reboot
later. How could it be possible for software
to start up more quickly by accessing an
outdated snapshot of the system?

Here's a non-script-requiring explanation from
the horse's mouth:

http://webcache.googleusercontent.co...&gbv=1&ct=clnk

No magic. Just a backup of current config.


Back when I worried about such things, I did some googling and experiments.
You can easily come up with a situation where you need something
like suggested above. For many of us, Hibernate is all about making
the computer available for more total on-hours between charges.

One article suggested that the energy consumed to hibernate the system
state out to hard drive and read it back in would sleep the computer for
many hours. That calculation is extremely sensitive to how much memory
is in use and how much energy your hard drive consumes while
saving/restoring
all that system state.

If you have your system setup to hibernate every time you close the lid,
you're probably wasting battery energy.

If you have a ligtweight startup where you don't load a lot of programs,
you may find that the time difference between a boot and coming out of
hibernation may not be significant.

I believe there's a mode that sleeps the computer until the battery
reaches a certain level, then hibernates. I expect that works fine
with a new battery. With an old battery, starting up the system to do
the hibernate may cause the system to shutdown before it's complete.

I always close/save files when I'm done using them and disable
hibernation. If I'm not going to actually edit a file, I open it
in read-only mode (veiw in total commander). Shutting down the system
doesn't lose any data.

On windows 10, I believe the hibernation file has something to do
with fast startup...not exactly sure the precise name for the function.
If you disable hibernation, that mode no longer works.
Don't think that affects windows 7 tho.


  #20  
Old July 23rd 17, 10:54 PM posted to alt.windows7.general
J. P. Gilliver (John)[_4_]
external usenet poster
 
Posts: 2,679
Default OT: grammar (was: hyberfil Question)

In message , Paul
writes:
[]
shorten the amount of writes needed.


"amount of writes"? X
"number of writes", or "amount of writing".

Also "shorten": "reduce" would be better.

I suspect (because it happens to me too!) that your mind was revising
what you were going to say faster than your fingers could keep up - you
were thinking of something like "shorten the amount of time needed to
write", or "shorten the time needed to write".
[]
The system knows what memory is in usage, which is why

[]
"in usage"?!?

Sorry - couldn't resist. Your (Paul's) English is usually excellent. I'm
posting this really for the benefit of those on whom these _wouldn't_
have jarred!
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

"OLTION'S COMPLETE, UNABRIDGED HISTORY OF THE UNIVERSE
Bang! ...crumple." - Jery Oltion
  #21  
Old July 24th 17, 03:20 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default hyberfil Question

NY wrote:
"Paul" wrote in message
news
Mayayana wrote:
"SteveGG" wrote

| Does hyberfil.sys have any advantage other than that involving the
| hibernation functioning. e.g. - Can apps etc. access the file to load
| faster etc. Is there any reason to have hyberfil.sys if you never
| hybernate ?

I don't know about its possible uses, but I always delete it
because 1) I don't use hibernation and 2) It's a big space
waster.


From an Administrator command prompt, try:

powercfg /h off

That will delete hiberfil.sys , as well as
removing "Hibernate" from the shutdown menu.


Should

powercfg /h on

re-create the hyperfil.sys and add Hibernate to the Shutdown menu?

Even after rebooting, there is still no Hibernate option, only Sleep
(default) and then Switch User, Log off, Lock, Restart, Shutdown (all
those five are accessed through the button to the right of Sleep).
This is Win 7 Home Premium.

There is a hiberfil.sys which there wasn't before.

In Control Panel | Power, for the power plan that I'm using, I've gone
to Advanced Power settings and looked at Sleep | Allow Hybrid Sleep but
the battery and mains options are on and are greyed-out so I can't turn
them off.


I've had hibernation working in the past and I disabled it (powercfg /h
off) to free up some disc space, and now I can't enable it again.

It would be useful to be able to hibernate the PC's state to a disk file
rather than memory because the battery on my laptop has failed so if I
unplug the laptop it has to boot from "cold" because the memory dump of
the PC's state gets wiped.

Any other suggestions for things to try in enabling hibernation?


I got mine working again.

https://s13.postimg.org/4nkpnbnlz/wi...ates_again.gif

1) consolidate free space, so there is room for hiberfil.sys.
Using a file size which is 50% of RAM is the smallest file
the system supports for this purpose. 75% is a good default.
The 50% choice just barely fits on my C: so I didn't have a choice.

2) Create the hiberfile. In Admin command prompt:

powercfg -h -size 50

3) Check the states available later with

powercfg -a

4) Disable Hybrid Sleep using the power control panel
and the advanced options jazz.

5) After that, you should see a power-unsafe S3 Sleep
and the usual S4 Hibernate. If you don't do (4),
you are offered only Hybrid S3 Sleep, which combines
both functions, but is not suited to a laptop as it'll
drain the battery keeping the RAM running. Hybrid Sleep
isn't my favorite choice - it may be nice for a desktop,
a little less nice for a laptop.

HTH,
Paul
  #22  
Old July 24th 17, 09:16 AM posted to alt.windows7.general
Mike S[_4_]
external usenet poster
 
Posts: 496
Default hyberfil Question

On 7/23/2017 7:20 PM, Paul wrote:
NY wrote:
"Paul" wrote in message
news
Mayayana wrote:
"SteveGG" wrote

| Does hyberfil.sys have any advantage other than that involving the
| hibernation functioning. e.g. - Can apps etc. access the file to load
| faster etc. Is there any reason to have hyberfil.sys if you never
| hybernate ?

I don't know about its possible uses, but I always delete it
because 1) I don't use hibernation and 2) It's a big space
waster.

From an Administrator command prompt, try:

powercfg /h off

That will delete hiberfil.sys , as well as
removing "Hibernate" from the shutdown menu.


Should

powercfg /h on

re-create the hyperfil.sys and add Hibernate to the Shutdown menu?

Even after rebooting, there is still no Hibernate option, only Sleep
(default) and then Switch User, Log off, Lock, Restart, Shutdown (all
those five are accessed through the button to the right of Sleep).
This is Win 7 Home Premium.

There is a hiberfil.sys which there wasn't before.

In Control Panel | Power, for the power plan that I'm using, I've gone
to Advanced Power settings and looked at Sleep | Allow Hybrid Sleep
but the battery and mains options are on and are greyed-out so I can't
turn them off.


I've had hibernation working in the past and I disabled it (powercfg
/h off) to free up some disc space, and now I can't enable it again.

It would be useful to be able to hibernate the PC's state to a disk
file rather than memory because the battery on my laptop has failed so
if I unplug the laptop it has to boot from "cold" because the memory
dump of the PC's state gets wiped.

Any other suggestions for things to try in enabling hibernation?


I got mine working again.

https://s13.postimg.org/4nkpnbnlz/wi...ates_again.gif

1) consolidate free space, so there is room for hiberfil.sys.
Using a file size which is 50% of RAM is the smallest file
the system supports for this purpose. 75% is a good default.
The 50% choice just barely fits on my C: so I didn't have a choice.

2) Create the hiberfile. In Admin command prompt:

powercfg -h -size 50

3) Check the states available later with

powercfg -a

4) Disable Hybrid Sleep using the power control panel
and the advanced options jazz.

5) After that, you should see a power-unsafe S3 Sleep
and the usual S4 Hibernate. If you don't do (4),
you are offered only Hybrid S3 Sleep, which combines
both functions, but is not suited to a laptop as it'll
drain the battery keeping the RAM running. Hybrid Sleep
isn't my favorite choice - it may be nice for a desktop,
a little less nice for a laptop.

HTH,
Paul


Great writeup. Have you research removing files you don't need to free
up more space?

  #23  
Old July 24th 17, 09:17 AM posted to alt.windows7.general
NY
external usenet poster
 
Posts: 586
Default hyberfil Question

"FredW" wrote in message
...
Any other suggestions for things to try in enabling hibernation?


- How To Manage Hibernate Mode in Windows 7
https://www.howtogeek.com/howto/7564...-in-windows-7/


Ah, that answers the question in the first line: "Hibernate mode is not an
option on systems with 4GB of RAM or more." I bet the last time I had it
working was before I upgraded the RAM to 6GB. That's a bummer!

  #24  
Old July 24th 17, 09:25 AM posted to alt.windows7.general
NY
external usenet poster
 
Posts: 586
Default hyberfil Question

"FredW" wrote in message
...
Any other suggestions for things to try in enabling hibernation?


- How To Manage Hibernate Mode in Windows 7
https://www.howtogeek.com/howto/7564...-in-windows-7/


Ah, that answers the question in the first line: "Hibernate mode is not an
option on systems with 4GB of RAM or more." I bet the last time I had it
working was before I upgraded the RAM to 6GB. That's a bummer!

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\HiberFileSizePercent
ia 100 and HibernateEnabled is 1, so the registry settings are correct for
hibernation, but in Control Panel | Power | Advanced Power Options | Sleep,
Allow Hybrid Sleep is set to On for battery and mains, and the Off/On
control is greyed-out.

Not to worry. It was a nice idea to enable hibernation again for times when
I wanted to put the PC to sleep and then be able to unplug the power
(remember my battery is f*cked) without forcing a cold start, Ah well.

I really need a new laptop, for various reasons.

  #25  
Old July 24th 17, 10:00 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default hyberfil Question

Mike S wrote:
On 7/23/2017 7:20 PM, Paul wrote:
NY wrote:
"Paul" wrote in message
news Mayayana wrote:
"SteveGG" wrote

| Does hyberfil.sys have any advantage other than that involving the
| hibernation functioning. e.g. - Can apps etc. access the file to
load
| faster etc. Is there any reason to have hyberfil.sys if you never
| hybernate ?

I don't know about its possible uses, but I always delete it
because 1) I don't use hibernation and 2) It's a big space
waster.

From an Administrator command prompt, try:

powercfg /h off

That will delete hiberfil.sys , as well as
removing "Hibernate" from the shutdown menu.

Should

powercfg /h on

re-create the hyperfil.sys and add Hibernate to the Shutdown menu?

Even after rebooting, there is still no Hibernate option, only Sleep
(default) and then Switch User, Log off, Lock, Restart, Shutdown (all
those five are accessed through the button to the right of Sleep).
This is Win 7 Home Premium.

There is a hiberfil.sys which there wasn't before.

In Control Panel | Power, for the power plan that I'm using, I've
gone to Advanced Power settings and looked at Sleep | Allow Hybrid
Sleep but the battery and mains options are on and are greyed-out so
I can't turn them off.


I've had hibernation working in the past and I disabled it (powercfg
/h off) to free up some disc space, and now I can't enable it again.

It would be useful to be able to hibernate the PC's state to a disk
file rather than memory because the battery on my laptop has failed
so if I unplug the laptop it has to boot from "cold" because the
memory dump of the PC's state gets wiped.

Any other suggestions for things to try in enabling hibernation?


I got mine working again.

https://s13.postimg.org/4nkpnbnlz/wi...ates_again.gif

1) consolidate free space, so there is room for hiberfil.sys.
Using a file size which is 50% of RAM is the smallest file
the system supports for this purpose. 75% is a good default.
The 50% choice just barely fits on my C: so I didn't have a choice.

2) Create the hiberfile. In Admin command prompt:

powercfg -h -size 50

3) Check the states available later with

powercfg -a

4) Disable Hybrid Sleep using the power control panel
and the advanced options jazz.

5) After that, you should see a power-unsafe S3 Sleep
and the usual S4 Hibernate. If you don't do (4),
you are offered only Hybrid S3 Sleep, which combines
both functions, but is not suited to a laptop as it'll
drain the battery keeping the RAM running. Hybrid Sleep
isn't my favorite choice - it may be nice for a desktop,
a little less nice for a laptop.

HTH,
Paul


Great writeup. Have you research removing files you don't need to free
up more space?


I deleted my USN Journal. That should give you some idea
how desperate I was :-)

What was annoying me at one point was, there seemed to be
enough space, but the OS still said "No!" when I tried to
use the space. That meant going the extra mile, and giving
the partition a "shoe shine", just to teach it who is the
boss.

You see, that setup was never intended to run hibernation,
but in the spirit of "let's pretend", I did what was necessary
to make test materials out of it.

These partitions are kept small, as a form of discipline.
The intention is, it should never take more that ten minutes
to back up that sort of boot drive, and with no hiberfile,
there is about 35GB of slack (plenty). Putting a 32GB
hiberfil.sys on it, was a fairly tight fit. So at the moment,
it's close to full, and I can't wait to do powercfg /h off
the next chance I get.

I was really surprised it was that hard to enable
the hibernation feature again. I was thinking one
command, and I'd be done. But then, all computing projects
start that way (with a bad effort estimate, to kick
the project off).

It reminds me of a friend at work, who in a meeting,
when berating someone for how long it was taking
to get something done, would say "that would take,
like, three lines of code". It didn't matter what
the topic, that's the estimate that would pop out :-)
If he was in charge of Firefox development, it would
only have required three lines of code, which would
have saved them a fortune in development costs.

Paul
  #26  
Old July 24th 17, 04:46 PM posted to alt.windows7.general
Char Jackson
external usenet poster
 
Posts: 10,449
Default hyberfil Question

On Mon, 24 Jul 2017 09:17:09 +0100, "NY" wrote:

"FredW" wrote in message
.. .
Any other suggestions for things to try in enabling hibernation?


- How To Manage Hibernate Mode in Windows 7
https://www.howtogeek.com/howto/7564...-in-windows-7/


Ah, that answers the question in the first line: "Hibernate mode is not an
option on systems with 4GB of RAM or more." I bet the last time I had it
working was before I upgraded the RAM to 6GB. That's a bummer!


That can't be right. My primary laptop came with 8GB of RAM and
Hibernate worked fine. I've since upgraded it to 16GB and Hibernate
still works fine.

--

Char Jackson
  #27  
Old July 24th 17, 06:24 PM posted to alt.windows7.general
NY
external usenet poster
 
Posts: 586
Default hyberfil Question

"Char Jackson" wrote in message
...
On Mon, 24 Jul 2017 09:17:09 +0100, "NY" wrote:

"FredW" wrote in message
. ..
Any other suggestions for things to try in enabling hibernation?

- How To Manage Hibernate Mode in Windows 7
https://www.howtogeek.com/howto/7564...-in-windows-7/


Ah, that answers the question in the first line: "Hibernate mode is not an
option on systems with 4GB of RAM or more." I bet the last time I had it
working was before I upgraded the RAM to 6GB. That's a bummer!


That can't be right. My primary laptop came with 8GB of RAM and
Hibernate worked fine. I've since upgraded it to 16GB and Hibernate
still works fine.


I think it sounds weird as well. OK, it will take some time to write up to 8
or 16 GB to a disk file and to read it back into RAM again, but it will get
there in the end, and it's no reason to disable hibernation. I'd be inclined
to take the statement "Hibernate mode is not an
option on systems with 4GB of RAM or more." with a large pinch of salt,


  #28  
Old July 25th 17, 12:33 AM posted to alt.windows7.general
SteveGG
external usenet poster
 
Posts: 366
Default hyberfil Question

I have over 4 GB ram and no hiberfil.sys
  #29  
Old July 25th 17, 01:32 AM posted to alt.windows7.general
Stan Brown
external usenet poster
 
Posts: 2,904
Default hyberfil Question

On Sun, 23 Jul 2017 11:44:16 -0400, SteveGG wrote:

Getting rid of it wasn't the question, BUT whether it serves some
purpose other than in hibernation. Does it speed up other things ?


No.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://BrownMath.com/
http://OakRoadSystems.com/
Shikata ga nai...
  #30  
Old July 25th 17, 01:44 AM posted to alt.windows7.general
Good Guy[_2_]
external usenet poster
 
Posts: 3,354
Default hyberfil Question

On 25/07/2017 00:33, SteveGG wrote:
I have over 4 GB ram and no hiberfil.sys

and no brains or intelligence but this goes without saying!!!!!!!!!!!!!

--
With over 500 million devices now running Windows 10, customer
satisfaction is higher than any previous version of windows.

 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 03:07 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.