This one is simple and sure have some down sides, but during hibernation all your RAM is been copied to the HD. The larger your RAM the longer it takes to copy. Theorethically, by resizing the hibernation file, lets say by 50%, you can boost the hibernation process by 50% as well. For doing it open CMD 'as administrator' (type CMD in the search line, rightclick on CMD.exe and click 'Run as administrator') and type the following:
POWERCFG -H -Size 50
50 denotes 50%. You can change it to any number between 50 to 100 (100 is the normal size).
-
And how did you come to this determination?
-
Wouldn't it copy all of the used ram, leaving any unused as blank space?
-
FWIW, I have 4GB RAM and hiberfil.sys is only 3GB by defaultgood information though.
-
That much I agree with...
That doesn't make any sense. You need as much disk space for the hibernation as you have RAM in use, or else you won't be able to hibernate. If there's more disk space set aside for hibernation than there is RAM, the extra space should go unused. So, I can't see a way to gain anything by messing with the hibernation file size, and still be able to resume after hibernation.
If you want faster hibernation, then remove some RAM from the machine, or get a faster hard drive. -
I never use Hybernation.
I find it useless because I simply put the computer to sleep if I'm away for shorter periods of time, or just shut it off entirely if I'm away for longer periods. -
Does this break anything?
-
John Ratsey Moderately inquisitive Super Moderator
I've been using hibernation for years (I like the ability to turn on my computer and have applications already open wherever I left off) and have a couple of observations:
1. Although the hibernation file has a fixed size (which depends on the RAM but is, as already noted, smaller (I presume there is some compression of data), Windows only writes the active RAM contents to the hibernation file. So if you are only using 40% of physical memory then hibernation will take place much faster than if 80% of physical memory is being used.
2. Disk writing and reading will be improved if the hibernation file is in one contiguous block which should also be close to the start of a HDD where data transfer rates are fastest.
John -
With my 4GB machine only creating a 3GB hiberfil.sys, I decided to look into thisand it would seem tzurp is somewhat correct. It appears Windows 7 compresses memory before saving it to diskso this is why my 3GB hiberfil.sys can store 4GB of RAM. However, what tzurp neglects to mention is that reducing the size of hiberfil.sys might cause hibernation to fail when memory cannot be compressed to the desired size. If youre interested in the details, see http://download.microsoft.com/downl...EA-470B-A97E-CE7CE0D98DC2/HiberFootprint.docx.
I never shut off my computerIm either sleeping or hibernating. While coming out of hibernation does take some time, coming out of hibernation with 12 applications ready to do your bidding/your entire work environment ready to go is far faster than booting and reopening all 12 programs and their respective data files. -
In short:
and I suppose you lose your Windows session?
The default size apparently is 75%. -
Well, a Stop error is a panic of the Windows kernelso Id say yes.
-
That assumes you are not using an SSD
John -
"Stop Error" means BSOD, in other words, you'll loose everything that hasn't been saved, and possibly end up with some corrupt files on top of that. Not a good thing.
Exactly.
Speeding up hibernation and resume
Discussion in 'Windows OS and Software' started by tzurp, Jun 26, 2010.