MSFN Forum: Trace why Windows 8 boots, shutsdown or hibernate slowly - MSFN Forum

Jump to content


  • 9 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Trace why Windows 8 boots, shutsdown or hibernate slowly

#21 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 12 September 2012 - 07:47 AM

boot is terrible broken. The prefetcher doesn't work as it should and your DISK is busy all the time:

Attached File  Win8_disk_IO_prefetcher_broken.png (12.85K)
Number of downloads: 14

What I can see is that the NOD32 service takes some CPU time and this causes the slow WinLogonInit phase:

Attached File  Win8_NOD32_service.png (48.02K)
Number of downloads: 14

So you should also run the boot optimization I've explained here:

http://www.msfn.org/...howtopic=140262

but it is better to sue the new Hybrid Boot / fast Startup feature of Windows 8:

http://www.msfn.org/...howtopic=152937


#22 User is offline   Traditore 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 11-September 12
  • OS:none specified
  • Country: Country Flag

Posted 12 September 2012 - 08:48 AM

Quote

So you should also run the boot optimization I've explained here:

http://www.msfn.org/...howtopic=140262

but it is better to sue the new Hybrid Boot / fast Startup feature of Windows 8:

http://www.msfn.org/...howtopic=152937



1) first I'll try setting NOD service to 'automatic(Delayed)' and see if it helps a bit. I would disable its autorun completely but as I remember it can't be started up via scheduler then, so I really need it autostarting in some way - delayed.

2) I'll do that optimization. Shouldn't I delete prefetch data or something so that OS builds up brand new prefetching?
P.S. Funny thing is that I also have 8Gb ReadyBoost on a flash and I can tell about applications startup faster but no effect on OS boot (if should be any I'm not sure but still...)

3) I don't have hybridBoot option though I'm using leaked final Enterprise OS. What the deal with it?

Thank you for all of your time!

This post has been edited by Traditore: 12 September 2012 - 09:20 AM


#23 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 12 September 2012 - 10:43 AM

you must activate hibernation (powercfg -h on) to see the "fast Startup" option in the power settings.

#24 User is offline   Traditore 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 11-September 12
  • OS:none specified
  • Country: Country Flag

Posted 12 September 2012 - 01:23 PM

View PostMagicAndre1981, on 12 September 2012 - 10:43 AM, said:

you must activate hibernation (powercfg -h on) to see the "fast Startup" option in the power settings.


oh, I have that, but I have never seen anything like hybridboot and as you already know my boot sucks...

#25 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 12 September 2012 - 01:29 PM

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

Attached File  fastStartup.png (53.01K)
Number of downloads: 9

Now Windows should use the new boot.

#26 User is offline   Traditore 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 11-September 12
  • OS:none specified
  • Country: Country Flag

Posted 13 September 2012 - 12:54 AM

View PostMagicAndre1981, on 12 September 2012 - 01:29 PM, said:

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?

This post has been edited by Traditore: 13 September 2012 - 01:00 AM


#27 User is offline   Aloha 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 393
  • Joined: 07-February 08
  • OS:none specified

Posted 13 September 2012 - 08:47 AM

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.

#28 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 13 September 2012 - 10:15 AM

View PostTraditore, on 13 September 2012 - 12:54 AM, said:

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.

View PostAloha, on 13 September 2012 - 08:47 AM, said:

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.co...-windows-8.aspx

#29 User is offline   Traditore 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 11-September 12
  • OS:none specified
  • Country: Country Flag

Posted 13 September 2012 - 05:51 PM

View PostMagicAndre1981, on 13 September 2012 - 10:15 AM, said:

View PostTraditore, on 13 September 2012 - 12:54 AM, said:

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

#30 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 14 September 2012 - 12:40 AM

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.

#31 User is offline   Traditore 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 11-September 12
  • OS:none specified
  • Country: Country Flag

Posted 14 September 2012 - 09:57 AM

View PostMagicAndre1981, on 14 September 2012 - 12:40 AM, said:

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

#32 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 14 September 2012 - 11:24 AM

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

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

#33 User is offline   Traditore 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 11-September 12
  • OS:none specified
  • Country: Country Flag

Posted 15 September 2012 - 06:45 AM

View PostMagicAndre1981, on 14 September 2012 - 11:24 AM, said:

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)"

This post has been edited by Traditore: 15 September 2012 - 11:26 AM


#34 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 15 September 2012 - 12:01 PM

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

#35 User is offline   Traditore 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 11-September 12
  • OS:none specified
  • Country: Country Flag

Posted 15 September 2012 - 01:20 PM

View PostMagicAndre1981, on 15 September 2012 - 12:01 PM, said:

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.

#36 User is offline   Traditore 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 11-September 12
  • OS:none specified
  • Country: Country Flag

Posted 15 September 2012 - 07:18 PM

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!

#37 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 16 September 2012 - 12:38 AM

And who have you fixed it?

#38 User is offline   Traditore 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 11-September 12
  • OS:none specified
  • Country: Country Flag

Posted 16 September 2012 - 08:45 AM

View PostMagicAndre1981, on 16 September 2012 - 12:38 AM, said:

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:)

This post has been edited by Traditore: 16 September 2012 - 08:49 AM


#39 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,968
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 16 September 2012 - 12:50 PM

View PostTraditore, on 16 September 2012 - 08:45 AM, said:

View PostMagicAndre1981, on 16 September 2012 - 12:38 AM, said:

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.

#40 User is offline   Traditore 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 11-September 12
  • OS:none specified
  • Country: Country Flag

Posted 16 September 2012 - 04:36 PM

View PostMagicAndre1981, on 16 September 2012 - 12:50 PM, said:

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


I will. Thanks again. Best regards!

Share this topic:


  • 9 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

5 User(s) are reading this topic
0 members, 5 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy