• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
MagicAndre1981

Trace why Windows 8 boots, shutsdown or hibernates slowly

371 posts in this topic

In the power saving options you should have an option to select fast startup

It IS selected, and it was all the time. Now, silly as I am, I tried to disable it, save changes, and then enabling again... and for the first time I saw what fast startup is. LOL? Now it's functioning.

And after boot optimization, disabling NOD and using windows defender, I got to 50 secs boot after restart. Is that OK?

Edited by Traditore
0

Share this post


Link to post
Share on other sites

Sorry for interrupting.

I thought enabling Hibernation was just something needed for the traces so I only did it on W8 RTM. I enabled it on W8 RP today and now it boots faster. I notice this after I have to shut down my computer and turn it on again. It takes around 25 seconds to boot into the desktop. Yet, I don't know why it isn't fast when I restart Windows.

0

Share this post


Link to post
Share on other sites

And after boot optimization, disabling NOD and using windows defender, I got to 50 secs boot after restart. Is that OK?

How do you shut the PC down? When Fast Startup is used you should see a text "shutting down PC ..." and next a black screen for a few seconds until the data are written to the hibernation file.

Yet, I don't know why it isn't fast when I restart Windows.

this is by design. Reboot is the old way

http://blogs.msdn.com/b/b8/archive/2011/09/08/delivering-fast-boot-times-in-windows-8.aspx

0

Share this post


Link to post
Share on other sites

And after boot optimization, disabling NOD and using windows defender, I got to 50 secs boot after restart. Is that OK?

How do you shut the PC down? When Fast Startup is used you should see a text "shutting down PC ..." and next a black screen for a few seconds until the data are written to the hibernation file.

When I "Shut down", the PC turns off in 10sec and boots to StartMenu/Desktop in about 20-30 secs. So I guess it works like you are saying.

But if I "Restart PC" then it takes about a minute to boot, so my questions are:

1) is 60-70-80 seconds boot after Restart OK? It's kinda equal or more then Windows7 boot times...

2) why does boot trace restart my pc instead of shutting down and booting so that we could trace FastStartup? some folk in this thread posted his results of 30secs FastStartup so I'm thinking if it's me who is doing something wrong or the PC:)

Thank you. I appreciate your help

0

Share this post


Link to post
Share on other sites

1.) I need a newer tarce which contains the optimization to know if the new value is ok

2.) You used the wrong command. I've posted a command to trace the fast startup. You must use this one and not the normal boot tracing command.

0

Share this post


Link to post
Share on other sites

1.) I need a newer tarce which contains the optimization to know if the new value is ok

2.) You used the wrong command. I've posted a command to trace the fast startup. You must use this one and not the normal boot tracing command.

yep, I was reading way not as thoroughly as I should, my fault! I ran the appropriate command and got this after boot: "Couldn't find kernel logger in active logger list. Couldn't find user-mode logger in active logger list.' and something about being unable to stop and finish the trace.

but here's my 'normal' boot after restart BootTrace I haven't seen it but PerformanceLog 'event 100' says I boot in 52sec

0

Share this post


Link to post
Share on other sites

the prefetcher is still broken. Every is black and those are misses.

Does the PC crash when you run the fast startup tracing? I

0

Share this post


Link to post
Share on other sites

the prefetcher is still broken. Every is black and those are misses.

Does the PC crash when you run the fast startup tracing? I

Never had any crash. Never. FastStartUp seems to work fine I wonder why trace won't work.

also what I notice is that C:\Windows\Prefetch\ReadyBoot folder is empty, only C:\Windows\Prefetch is filled, and there's the following in xbootmgr logfile: "Failed to save prefetcher data (C:\Windows\prefetch\ReadyBoot\ReadyBoot.etl.old) in cab archive (stage 1, error 0)"

Edited by Traditore
0

Share this post


Link to post
Share on other sites

Please check the permissions of the folder C:\Windows\Prefetch\ReadyBoot and add system back if it is gone.

0

Share this post


Link to post
Share on other sites

Please check the permissions of the folder C:\Windows\Prefetch\ReadyBoot and add system back if it is gone.

already guessed and did while waiting for your replies, and this is truly the issue... BUT! C:\Windows\Prefetch folder permissions reset after restart :o Having only my user account and Administrators as permitted to access. I tried adding SYSTEM full control, I tried enabling 'inheritance' from parent Windows folder - everything successfully applied, but was back to User+Admin after restart.

0

Share this post


Link to post
Share on other sites

managed to solve everything and now I'm all set with ReadyBoot working, creating Trace#.fx files after each restart. Going to run optimization again and that's it... Thank you very much for you help, your time, I wouldn't get to the solution without you!

0

Share this post


Link to post
Share on other sites

And who have you fixed it?

have played with permissions settings: set all C: drive to System and Administrators full control and enabled inheritance for sub-folders and files. Some system folders refused to accept new settings, but 'magically' ReadyBoot folder started to fill after restart.

Here is an excerpt from new boottrace:

<timing bootDoneViaExplorer="18843" bootDoneViaPostBoot="32443" osLoaderDuration="1552" postBootRequiredIdleTime="10000" postBootDisturbance="3600"

From ~90sec to 32 is awesome. ReadyBoot feature is wicked:)

Edited by Traditore
0

Share this post


Link to post
Share on other sites

And who have you fixed it?

have played with permissions settings: set all C: drive to System and Administrators full control and enabled inheritance for sub-folders and files. Some system folders refused to accept new settings, but 'magically' ReadyBoot folder started to fill after restart.

:thumbup

The values are fine now. But you should use the "fast Startup" as much as possible.

0

Share this post


Link to post
Share on other sites

The values are fine now. But you should use the "fast Startup" as much as possible.

I will. Thanks again. Best regards!

0

Share this post


Link to post
Share on other sites

hey so I have one problem with my windows 8 installation, thing is that I put it to shutdown and the shutdown screen is there for a small amount of time and it disappears, after which my PC is still turned on and it doesn't do pretty much anything. I don't hear the disk writing or anything. It's just turned on like that for some time and it shuts down then. Everything else works perfectly and booting is wicked fast. So can you help me out? I'll attach the XML files.

summary_shutdown.xml

summary_suspend.xml

0

Share this post


Link to post
Share on other sites

hmm, the trace says that the hibernation is written in 9.9s. So it should work.

Starting with Vista, MS removed the progress bar during hibernation ,so you only see a black screen and after Windows wrote the data, the PC simply turn off. I think you have no issue.

0

Share this post


Link to post
Share on other sites

Hello everyone and congratulations MagicAndre1981 for your work ;)

I have Windows 8 Pro x64 and while my laptop used to boot from fastboot very fast, i noticed now that it became a little bit slower. Again it is fast, but not as fast as before.

I made a trace for fastboot and everything seemed ok. I want to ask about 2 things.

First, at the hibernation xml, it shows

<suspenddevices start="14338835" duration="6979556">

The duration is a little big. The slowest of all is:

<device start="15065292" duration="6252899" name="ACPI_HAL\PNP0C08\0">
<driver start="15065360" duration="6252822" name="\Driver\ACPI" />

Every other duration seems logic.

Second, do you notice anything strange here at the boot xml?

<timing bootDoneViaExplorer="17606" bootDoneViaPostBoot="40606" osLoaderDuration="0"
postBootRequiredIdleTime="10000" postBootDisturbance="13000"
<interval name="SystemResume" startTime="47828" endTime="60990" duration="13161">
<interval name="WinlogonInit" startTime="60990" endTime="61791" duration="801">
<interval name="ExplorerInit" startTime="61791" endTime="65435" duration="3644">
<interval name="PostExplorerPeriod" startTime="65435" endTime="88435" duration="23000">
<interval name="TraceTail" startTime="88435" endTime="95878" duration="7443">

Thanks in advance ;)

Edited by jimdem
0

Share this post


Link to post
Share on other sites

well thanks for confirming that for me.. it's obviously then caused by my motherboard.. cause the same thing happened when I had win 7 installed and wanted to put my PC into hibernation. It's an ASRock N68C-S UCC. I've looked around in my BIOS to see if there is some option in it but I can't seem to find it. darn it -.-

0

Share this post


Link to post
Share on other sites

First, at the hibernation xml, it shows

<suspenddevices start="14338835" duration="6979556">

The duration is a little big. The slowest of all is:

<device start="15065292" duration="6252899" name="ACPI_HAL\PNP0C08\0">
<driver start="15065360" duration="6252822" name="\Driver\ACPI" />

Every other duration seems logic.

which motherboard do you use and do you use the latest BIOS?

Second, do you notice anything strange here at the boot xml?

<timing bootDoneViaExplorer="17606" bootDoneViaPostBoot="40606" osLoaderDuration="0"
postBootRequiredIdleTime="10000" postBootDisturbance="13000"
<interval name="SystemResume" startTime="47828" endTime="60990" duration="13161">
<interval name="WinlogonInit" startTime="60990" endTime="61791" duration="801">
<interval name="ExplorerInit" startTime="61791" endTime="65435" duration="3644">
<interval name="PostExplorerPeriod" startTime="65435" endTime="88435" duration="23000">
<interval name="TraceTail" startTime="88435" endTime="95878" duration="7443">

resume is a bit long. Look at the Resume entries in the hibernation.xml. My resume is 1s!

0

Share this post


Link to post
Share on other sites

I have a hp pavilion dv6 3150. The motherboard is hp motherboard 1448. I have already installed the latest bios version (several months ago) and there is no new version.

So, i looked at the resumedevices and i'm sending you only the longest entries (the others are less than 1us)

<resumedevices start="47838140" duration="842873">
<device start="48181104" duration="499405" name="PCI\VEN_1002&DEV_68C1&SUBSYS_1448103C&REV_00\4&e4d6fac&0&0018">
<driver start="48398585" duration="281922" name="\Driver\amdkmdap" />
<driver start="48181134" duration="203773" name="\Driver\ACPI" />
<driver start="48384908" duration="13676" name="\Driver\pci" />
</device>
<device start="48180940" duration="405076" name="ACPI\PNP0C0A\1">
<driver start="48180974" duration="405032" name="\Driver\ACPI" />
</device>
<device start="48181028" duration="227372" name="PCI\VEN_8086&DEV_3B3C&SUBSYS_1448103C&REV_05\3&11583659&0&D0">
<driver start="48181077" duration="202502" name="\Driver\ACPI" />
<driver start="48383580" duration="20445" name="\Driver\pci" />
<driver start="48404027" duration="4372" name="\Driver\usbehci" />
</device>
<device start="48181068" duration="222698" name="PCI\VEN_8086&DEV_3B34&SUBSYS_1448103C&REV_05\3&11583659&0&E8">
<driver start="48181107" duration="202585" name="\Driver\ACPI" />
<driver start="48383692" duration="15639" name="\Driver\pci" />
<driver start="48399332" duration="4433" name="\Driver\usbehci" />
</device>
<device start="48180936" duration="203107" name="ACPI\ACPI0003\2&daba3ff&1">
<driver start="48180965" duration="203074" name="\Driver\ACPI" />
</device>
<device start="48181181" duration="202794" name="ACPI\PNP0B00\4&277cfe7e&0">
<driver start="48181199" duration="202774" name="\Driver\ACPI" />
</device>
<device start="47855888" duration="199888" name="ACPI_HAL\PNP0C08\0">
<driver start="47855894" duration="199879" name="\Driver\ACPI" />
</device>
<device start="48056401" duration="124259" name="PCI\VEN_8086&DEV_3B44&SUBSYS_1448103C&REV_05\3&11583659&0&E1">
<driver start="48056482" duration="124173" name="\Driver\pci" />
</device>
<device start="48056389" duration="124045" name="PCI\VEN_8086&DEV_3B42&SUBSYS_1448103C&REV_05\3&11583659&0&E0">
<driver start="48056469" duration="123960" name="\Driver\pci" />
</device>
<device start="48056378" duration="123953" name="PCI\VEN_8086&DEV_3B64&SUBSYS_1448103C&REV_06\3&11583659&0&B0">
</device>
<device start="48056309" duration="123943" name="PCI\VEN_8086&DEV_D138&SUBSYS_1448103C&REV_11\3&11583659&0&18">
<driver start="48056413" duration="123832" name="\Driver\pci" />
</device>
<device start="48056410" duration="108221" name="PCI\VEN_8086&DEV_2448&SUBSYS_1448103C&REV_A5\3&11583659&0&F0">
<driver start="48056906" duration="107719" name="\Driver\pci" />
</device>

0

Share this post


Link to post
Share on other sites

can you compress the ETL file and upload it?

0

Share this post


Link to post
Share on other sites

hm, I had the same issue in WIndows 7 and the fix was to disable the hibernation file and defrag the HDD. Give this try

0

Share this post


Link to post
Share on other sites

Ok, i'll do it and tell you the results. ;)

Update: Ok i did that but nothing changed, The boot speed is exactly the same as before

Edited by jimdem
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.