hiberfil.sys . . .

S

SeaJay

My fiberfill.sys file has major fragments in it, that defragging can't
remove...
Is the hiberfil.sys file deleteable?
I mean if I delete the file, will by system be in trouble, or will Windows
re-create it?
Thanks!
SeaJay
 
C

Chris Priede

Is the hiberfil.sys file deleteable?

Disable hibernation under Power options in Control Panel. The file will be
recreated when you re-enable it.
 
H

Homer J. Simpson

Is the hiberfil.sys file deleteable?
Disable hibernation under Power options in Control Panel. The file will
be recreated when you re-enable it.

Personally, I use SysInternal's PageDefrag.

If that's gonna take too long (it requires a reboot), I just disable
hibernation, defrag the whole partition, and then re-enable it. Odds are
the file will be recreated with much less fragments than the original had.
 
N

NoNoBadDog!

Homer J. Simpson said:
Personally, I use SysInternal's PageDefrag.

If that's gonna take too long (it requires a reboot), I just disable
hibernation, defrag the whole partition, and then re-enable it. Odds are
the file will be recreated with much less fragments than the original had.
You are aware that you are defragging useless, stale data? The hibernation
file is created every time the computer enters into hibernation, and is
overwritten with the data currently in memory and cache. There is
absolutely no reason to defrag the hiberfil.sys, as it will not be used for
the next cycle...you are deefragging information that is going to be
completely overwritten on the next hibernation, and that data may or may not
be fragmented.

Waste of time to defrag the hiberfile.sys...

Bobby
 
R

Richard In Va.

Hello SeaJay,

I've pasted a portion of one of my responses to an earlier post of a similar
question.
Some of the as already been mentioned by the response by others.
Some of this may not pertain to you question.
Consider what feels comfortable to you and discard the rest...
" "
The hyberfil.sys file can be completely eliminated by going to
Start>Settings>Control Panel and selecting "Power Options. In the
Power Options window, select the Hibernate tab. Uncheck the "Enable
Hibernation " check box. The file will go away on it's own during your next
boot.
You can always recheck this box if you change your mind later. You might
want to go to
<Start> <Help And Support> and search for topics on "Hibernation" as well as
"Suspend" (modes) because they are both related and provide a means for a
faster system start-up.

In a nut-shell, the "hiberfil.sys" file contains a record of what is
currently residing on your RAM memory as well as the state of your computer.
Installed hardware and open applications just to name a few. When you boot
up from hibernation mode. the OS can read this file and get running alot
faster as apposed to a cold boot when it has to look around for installed
hardware, installing drivers and so-on and so-on. Nothing is lost during a
power service outage when hibernating. Therefore, great for laptops that
get
plugged in-and-out all the time. Suspend mode has no such file, everything
stays in RAM which depends on power. Not so great for laptops running on low
batteries.

If you never use hibernation mode, completely shutting your computer down
when your through, you might consider disabling it and leaving it disabled.
I believe it is normally enabled when you install the operating system. As
others have said, you can always re-enable it later if you decide to use the
hibernation mode of shutting down.
It will be up to you to remember how to turn it back on.
But then you can always repost when/if that time comes.

Hope this is helpful...!
Best regards,

Richard in Va.
++++++++++++++++++++++++++++
 
H

Homer J. Simpson

You are aware that you are defragging useless, stale data? The
hibernation file is created every time the computer enters into
hibernation, and is overwritten with the data currently in memory and
cache. There is absolutely no reason to defrag the hiberfil.sys, as it
will not be used for the next cycle...you are deefragging information that
is going to be completely overwritten on the next hibernation, and that
data may or may not be fragmented.

Waste of time to defrag the hiberfile.sys...

I realize that the file is absolutely worthless once the system is back up
and running, but put it this way:

I've seen the hibernate file get split into thousands of fragments (my
record so far, >7600). Going into and coming out of hibernation took
minutes (2-3) of heavy disk activity. After defragging, with the hibernate
file now contiguous, hibernating takes maybe 15-20 seconds.

If the file's heavily fragmented, it doesn't matter if it gets rewritten
from scratch every time--it's still going to get recreated using the same
fragmented disk space. I can *absolutely* quantify the difference in
measurable time. You're free to believe otherwise.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top