Re: Relocating/Eliminating HIBERFIL.SYS for WinXP

From: David Jones (kk7gw@yahoo.com)
Date: 01/03/03


From: "David Jones" <kk7gw@yahoo.com>
Date: Fri, 3 Jan 2003 12:10:02 -0800

I partially stand corrected, after playing around on a
test system, hiberfil.sys is on whatever the boot drive
is, rather than C:

You miss a few things with your pseudocode though, albeit
your point is well taken:

Power options (aka, my laptop).

It's set to hibernate at 5% battery, as well as the
standard x hours.

What happens if there's not enough room on the drive when
a) 5% battery is hit
b) x hours hits?

Suspend will run it out of battery in both cases, and
what if I don't want shutdown? (On my laptop, booting
from hibernation is tremendously faster than booting cold)

Remember, I may not be around to see a warning prompt if
I leave the laptop somewhere, so asking me if I want to
shutdown fully doesn't work either.

I also know a few people that set their laptop to
hibernate when the lid is closed. Same questions apply,
should it suspend now? Chews up battery. Shutdown?
They might just be walking to a new meeting, and then
have the longer boot time.

Or I might have a scheduled task set, every Friday night
a machine hibernates. Whoops, no disk space. Suspend
chews up power, which is the reason it's set to
hibernate, and then I get to wonder why it shutdown all
the way on Monday.

Litanys of things like that pop to mind...all because the
space isn't reserved.

Oh, and about the boot time difference between hibernate
vs shutdown, check out all the "how can I make my
computer boot faster" posts, not to mention the 1000's of
FAQ posts and wonder if that would increase if the
machine shutdown because of lack of space vs hibernate.

Not that I disagree with you, but as a frequent laptop
user (with a not-so-fast disk even though it's 20GB), I
expect it to hibernate, not suspend or shutdown.

If the space really bugs people, why do they want to get
rid of it if they still want to hibernate? You'll need
the space when you hibernate, so why try to 'clear it up'
if you will?

(Also, why not just set your PF to something like 25 MB
on a 1 GB RAM system?)

I don't disagree with you here, but it's not quite as
simple as it seems to me.

>-----Original Message-----
>Yeah, unfortunately, on a larger memory system it is
eating up 5% of my
>main partition. (1GM,20Gdisk). Now if you combine that
with a "recommended 1.5X
>swap" (I actually run with 0, despite PERFOS.DLL bug
that causes it to fault
>under such circumstances), that'd use 7.5% of my disk
partition. It's not
>even placed out of the way, at the end of the disk, to
not fragment the free
>space and not waste inner track speed.
>
>Sigh...
>-l
>
>
>
>
>Roger Abell [MVP] wrote:
>> You pseudocode for this is a reasonable choice.
>> Apparently the design point was, if they want to be
>> able to hibernate guarantee that they can; and, no
>> vote was sufficiently strong for: if they want to be
>> able to hibernate if possible let there be that choice.
>>
>> --
>> Roger
>>
>> "linda w" <lindaw_tlinxorg@hotmail.com> wrote in
message
>> news:3E1505AD.4060700@hotmail.com...
>>
>>>I don't understand why it needs to reserve the space
in advance.
>>>
>>>I can easily see:
>>>If request hyber then
>>>if ! exist hyber && create(hyberfile)==false then
>>>error(insufficient room for hypernate file, suspending
instead)
>>>suspend;
>>>else
>>>hyper;
>>>
>>>I could even see settings "If hyper file cannot be
created, then issue
>>
>> warning and:
>>
>>>a) suspend
>>>b) shutdown
>>>or
>>>c) abort and ignore request
>>>
>>>Seems so simple, makes me wonder how much design,
thought or peer review
>>
>> goes
>>
>>>into new features.
>>>
>>>-l
>>>
>>>David Jones wrote:
>>>
>>>>Must be on C: because of the way the OS boots, and if
you
>>>>don't use hibernation, you can disable it (and reclaim
>>>>the space) from Control Panel->Power Options, and the
>>>>Hibernate tab.
>>>>
>>>>
>>>>
>>>>>-----Original Message-----
>>>>>Greets.
>>>>>
>>>>>Is it possible to either eliminate and/or relocate
the
>>>>>windows XP HIBERFIL.SYS on the C: drive to another
>>>>
>>>>drive?
>>>>
>>>>
>>>>>Is it really needed for the OS to function? I'm
assuming
>>>>>its for when the computer hibernates. Cannot we
disable
>>>>>this file?
>>>>>
>>>>>Thanks.
>>>>>Randolf.
>>>>>.
>>>>>
>>>
>>>--
>>>--
>>>L. A. Walsh Trust, Security, and OS Technology
>>>Professional Newbie in life
>>>Email: Apply "s/@.*$//;s/_/@/;s/x/x./" (sed commands)
to my From-address.
>>>
>>
>>
>>
>
>--
>--
>L. A. Walsh Trust, Security, and OS
Technology
> Professional Newbie in
life
>Email: Apply "s/@.*$//;s/_/@/;s/x/x./" (sed commands) to
my From-address.
>
>.
>



Relevant Pages

  • Re: Suspend works with Feisty kernel, not Gutsy
    ... If I boot with 2.6.20-16-generic from Feisty suspend and hibernate ... But with the Gutsy kernel 2.6.22-14-generic the screen goes blank, ... If I boot w/o xorg suspend ...
    (Ubuntu)
  • Re: Suspend and Hibernate not working on Dapper
    ... I properly installed if following the instructions and boot into the ... I tested serveral things on it and found the "hibernate" ... and "suspend" function didn't work. ... I presume you mean you did a clean install of Dapper Flight 4 and not ...
    (Ubuntu)
  • Re: Poor raid 1 performance?
    ... The obvious way to make it boot much faster again is ... to minimise the number of boots and to hibernate instead ... of shutdown when you do need to shut the system down. ... Improved read performance isnt the only way to fix that. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: MCE with SP2 reboot looks odd
    ... rather than the standard shutdown graphic. ... assigning hibernate or shutdown to your system's power button. ... Does this mean that MCE now doesn't reboot but just goes ... > into and out of suspend? ...
    (microsoft.public.windows.mediacenter)
  • A few stupid questions about MCE 2005
    ... televisionprograms, or can my computer automatically be awakened (from cold ... boot, suspend, hibernate) based on a set recording schedule? ...
    (microsoft.public.windows.mediacenter)