Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Trace why Windows 8 boots, shutsdown or hibernates slowly

bootvis Performance Boot slow

  • Please log in to reply
350 replies to this topic

#226
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,092 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

- <timing bootDoneViaExplorer="46262" bootDoneViaPostBoot="109662" 

booting to the UI takes 46s and the system is booted in 90s. This is bad.

 

The first delay happen in the PreSMSS phase, where the ACPI driver takes long to init:

  <pnpObject name="\Driver\ACPI" type="Driver" activity="Init" startTime="4859" endTime="17021" duration="12162" prePendTime="12162" /> 
  <pnpObject name="ACPI_HAL\PNP0C08\0" type="Device" activity="Start" startTime="17022" endTime="19561" duration="2538" prePendTime="2538" description="Microsoft ACPI-Compliant System" friendlyName="" /> 

I see that loading the hwpolicy.sys happens here.

 

The boot process is slow because the HDD is busy for a longer time.

Looks like you need a SSD to improve the boot.


Posted Image


How to remove advertisement from MSFN

#227
j9900090

j9900090
  • Member
  • 3 posts
  • Joined 16-December 13
  • OS:Windows 8 x64
  • Country: Country Flag

Sorry to be a little simple MagicAndre, I do my best to read and follow whats going on, but I'm not exactly on your level!

 

What can I do about this? Are you just saying I need a new SSD (A new Hard drive basically?) If so Do you think that mine is just old and needs replacing (Its been working fine for ages and I've defragged and run the relevant HDD test on it from WD and Seagate one (I have 2 HDDs)) My PC used to boot in about 30secs then suddenly it takes 10mins to boot. Nothing has changed as far as I'm aware.

 

Else Can I reload the ACPI driver? Would that help?

hwpolicy.sys is this right? > Microsoft Windows Hardware Policy Driver system driver file

Can I just remove this driver and if so how?

Thanks in advance for putting up with nub questions

 

PS

booting to the UI takes 46s and the system is booted in 90s. This is bad.

OH yes!!!!! ;-)


Edited by j9900090, 22 December 2013 - 07:49 AM.


#228
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,092 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

I have no idea what the hwpolicy.sys does and why this is listed as ACPI.
 
You have so many programs to load, that a normal HDD is too slowly.
 
j9900090_DiskIO.png

 


Posted Image

#229
Thajjd

Thajjd
  • Member
  • 7 posts
  • Joined 26-November 13
  • OS:Windows 8 x64
  • Country: Country Flag

Still having the same problems with my laptop. Will reinstalling a fresh copy of windows 7/8 remove all the recent driver installations ?



#230
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,092 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

upload a new trace.


Posted Image

#231
flys

flys
  • Member
  • 1 posts
  • Joined 25-December 13
  • OS:none specified
  • Country: Country Flag

Hi Andre,

 

I bought a new SSD and installed Win8 on it, however it takes >5 minutes to boot. I uploaded a trace here:

https://skydrive.liv...826A9723A4!2463

I noticed a lot of "The IO operation at logical block address 1244e206 for Disk 0 was retried." events in event viewer. Also an error about "The shadow copies of volume \\?\Volume{7257efcf-6d40-11e3-be65-806e6f6e6963} were aborted during detection because a critical control file could not be opened." Could it be the SSD is bad? I uploaded the system log here:

https://skydrive.liv...826A9723A4!2644

 

Thanks!


Edited by flys, 25 December 2013 - 01:25 PM.


#232
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,092 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

In the HDD graphs I see that both drives are busy for a long time. I would connect them to a different SATA port and try different cables.

 

Disk_PreSMSS.png


Posted Image

#233
Thajjd

Thajjd
  • Member
  • 7 posts
  • Joined 26-November 13
  • OS:Windows 8 x64
  • Country: Country Flag

https://www.dropbox....ummary_boot.xml

 

Here is my latest summary boot!

The latest changes I did was to rollback the driver to a previous version but this did not help at all.



#234
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,092 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

starting the SATA controller is still slow:
 
 
- <phase name="bootStart" startTime="32" endTime="244183" duration="244151">
  <pnpObject name="PCI\VEN_8086+DEV_1E03+SUBSYS_15071043+REV_04\3+11583659+2+FA" type="Device" activity="Start" startTime="243" endTime="240511" duration="240267" prePendTime="240267" description="Intel(R) 7 Series Chipset Family SATA AHCI Controller" friendlyName="" />

Posted Image

#235
Thajjd

Thajjd
  • Member
  • 7 posts
  • Joined 26-November 13
  • OS:Windows 8 x64
  • Country: Country Flag

Yeah, not really sure what to do about that... Putting the computer in sleep mode or any other mode for that matter and then trying to reboot/wake it up leads to a freeze where nothing happens but the mouse is still usable though.



#236
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,092 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

connect your HDD to a different SATA port. Does this help?
Posted Image

#237
Thajjd

Thajjd
  • Member
  • 7 posts
  • Joined 26-November 13
  • OS:Windows 8 x64
  • Country: Country Flag

Sitting on a laptop, doing this might be hard!



#238
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,092 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

open the laptop, remove the HDD and insert it again. This helped for a friend of my.


Posted Image

#239
winstonl

winstonl
  • Member
  • 5 posts
  • Joined 28-December 13
  • OS:Windows 8.1 x64
  • Country: Country Flag

hi andre! i'm having a tough time figuring out what is slowing my computer as it is waking from hibernation. currently running windows 8.1 on a samsung laptop (ativ book 8) and when i awake it from hibernation, it takes a good 5-8 minutes before it is usable. 

 

this has only happened over the past few days and it was otherwise ok. didn't update any drivers/install anything during this time. so i'm wondering where is the problem. i've created the etl trace. would you be willing to help take a quick look? if you are, i'd upload it onto skydrive

 

cheers! and happy new year



#240
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,092 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

yes, upload it to the skydrive. But make sure you've used the 8.1 version of the WPT to capture the trace.


Posted Image

#241
winstonl

winstonl
  • Member
  • 5 posts
  • Joined 28-December 13
  • OS:Windows 8.1 x64
  • Country: Country Flag

yes, upload it to the skydrive. But make sure you've used the 8.1 version of the WPT to capture the trace.

http://sdrv.ms/1gcVwxk

thanks andre!

i'm suspecting it is something to do with the ATI drivers (the graphics card is a 8870M) but the weird thing is i haven't made any changes to it recently

 

cheers



#242
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,092 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

you read the XML correctly. It is the ATI card:

- resumecritical="61091598" hiberwrite="5897000" hiberpageswritten="157341" hiberread="6260000" resume="67596000">

Resume takes 67s and most time is spend on resuming the ATI card:

<device start="116757154" duration="59921764" name="PCI\VEN_1002&DEV_6821&SUBSYS_C0E6144D&REV_00\4&383e238c&0&0008">
  <driver start="116865644" duration="59813256" name="\Driver\amdkmdap" /> 

Your atikmdag.sys is version 8.01.01.1331. Try the 13.12 WHQL driver.


Posted Image

#243
winstonl

winstonl
  • Member
  • 5 posts
  • Joined 28-December 13
  • OS:Windows 8.1 x64
  • Country: Country Flag

you read the XML correctly. It is the ATI card:

- resumecritical="61091598" hiberwrite="5897000" hiberpageswritten="157341" hiberread="6260000" resume="67596000">

Resume takes 67s and most time is spend on resuming the ATI card:

<device start="116757154" duration="59921764" name="PCI\VEN_1002&DEV_6821&SUBSYS_C0E6144D&REV_00\4&383e238c&0&0008">
  <driver start="116865644" duration="59813256" name="\Driver\amdkmdap" /> 

Your atikmdag.sys is version 8.01.01.1331. Try the 13.12 WHQL driver.

 

thanks for reading it! the existing version was provided by Samsung, and that worked till the past few days when it started giving problems. and yet i did not make any changes to the drivers at all.

 

i've tried 13.12 but the issue does not resolve unfortunately.

 

would turning hibernation off be viable?



#244
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,092 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

try to disable the AMD before entering hibernation. Is it faster?


Posted Image

#245
winstonl

winstonl
  • Member
  • 5 posts
  • Joined 28-December 13
  • OS:Windows 8.1 x64
  • Country: Country Flag

try to disable the AMD before entering hibernation. Is it faster?

unfortunately when i disable the AMD card, the computer goes into some sort of safe mode, so it can't work out. this is driving me crazy haha



#246
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,092 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

try different/older ATI/AMD drivers.


Posted Image

#247
winstonl

winstonl
  • Member
  • 5 posts
  • Joined 28-December 13
  • OS:Windows 8.1 x64
  • Country: Country Flag

i reset the laptop back to factory settings, and reinstalled the same AMD drivers but this time, no hibernation issues haha

 

what lousy AMD drivers 

 

thanks andre for helping!



#248
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,092 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

nice to hear that you fixed it :)

 

 

 btw, Happy New Year :)


Posted Image

#249
hcw8

hcw8
  • Member
  • 6 posts
  • Joined 07-January 14
  • OS:Windows 8.1 x64
  • Country: Country Flag

I'm trying to use this trace to figure out why my PC cannot shut down or sleep or hibernate. It shuts the applications and the screen off but it will not shut the fans or the power button. 

 

_However_ it does reboot.

 

Unfortunately the shutdown trace is essentially a reboot so that works flawlessly. The standby trace reproduces the issue, which results in me needing to hard reset by holding down the power button. Unfortunately when I restart the ETL files are empty..

 

Any ideas on how I can overcome this?



#250
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,092 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

the tool is only useful to debug performance issues, not issues in why it doesn't sleep, shutdown or hibernate.


Posted Image





Also tagged with one or more of these keywords: bootvis, Performance, Boot, slow

3 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


    Mediapartner (1), Baidu (1)