• 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 Windows 7 boot/shutdown/hibernate/standby/resume issues

1,275 posts in this topic

Dropbox took an overly long time to upload, about an hour for 110 K file! Surely there is something faster than that! If I had compressed the file would I have been able to attach it to my message instead of using Dropbox?

0

Share this post


Link to post
Share on other sites

You have issues with loading the drivers at first stage of boot (PreSMSS - read the first post to understand what this means). This takes 45s in your case:


<interval name="PreSMSS" startTime="0" endTime="45375" duration="45375">

The Microsoft-Windows-VolumeSnapshot-Driver seems to take nearly 30s to start.

I see you use an OCZ-AGILITY3 with firmware 2.12. The latets version is v2.22. So update the frmware and look if this has an impact.

Also do you run your SSD in IDE or AHCI mode? And to which port have you connected it? To the Marvell 91xx SATA 6G Controller or to the Ports of your chipset? Try to fix this and it should fix the delays.

0

Share this post


Link to post
Share on other sites

Since it boots in 19 s with the two WD hard drives disconnected, I am wondering how the firmware of the OCZ drive could be an issue? Also, since it boots in 22 s with the addition of the 1 TB black WD drive, it seems the issue must be directly related to the addition of the 3 TB WD green drive!! With the OCZ and 3 TB drive the boot time jumps to the 95 s mark. No drives are currently connected to the Marvell controller. Connecting the 3 TB drive to the Marvell controller made no significant difference to the boot time. Neither did changing the respective ports of the other drives on the non Marvell ports. All drives are running in AHCI mode. The OCZ drive and th 3 TB drive are both Sata 6G drives and are both connected to those ports on the MB, although I did try other ports for the 3 TB drive to no avail.

0

Share this post


Link to post
Share on other sites

Make 3 traces with this command:

xbootmgr -trace boot -traceFlags BASE+CSWITCH+DRIVERS+POWER -stackwalk profile

Now run this command when you use the SSD only, when you have 1 WD connected and when you have both WD connected.

0

Share this post


Link to post
Share on other sites

Hi MagicAndre1981

I'm not sure this comes within the scope of this thread, so maybe there's another one you'd like me to take this to. The problem I have is Windows NOT going to standby for no apparent reason (Windows seems absolutely terrible at giving the user any useful information about what's preventing standby). It works half the time and then other times just doesn't, so it's not any devices that are preventing standby.

If I do powercfg - requests it shows

C:\Users\MediaPortal>powercfg -requests
DISPLAY: None.

SYSTEM:
[DRIVER] \FileSystem\srvnet
An active remote client has recently sent requests to this machine.

AWAYMODE: None.

but I've used the tweak to "Enable standby with remote opens" in Power Options and powercfg -requestsoverride shows

C:\Users\MediaPortal>powercfg -requestsoverride
[SERVICE]

[PROCESS]

[DRIVER]
\FileSystem\srvnet SYSTEM

I've got LogMeIn installed, which has an option at install to "Prevent standby when AC power is available". I'm not sure how it enforces that, but I unticked it anyway so that shouldn't be the problem. I also have TightVNC installed and both of these use mirror drivers but I don't think there's any reason why they'd prevent standby.

0

Share this post


Link to post
Share on other sites

Make 3 traces with this command:

xbootmgr -trace boot -traceFlags BASE+CSWITCH+DRIVERS+POWER -stackwalk profile

Now run this command when you use the SSD only, when you have 1 WD connected and when you have both WD connected.

http://dl.dropbox.com/u/84817323/boot_BASE%2BCSWITCH%2BDRIVERS%2BPOWER_1_SSD_1TB_3TB.zip

http://dl.dropbox.com/u/84817323/boot_BASE%2BCSWITCH%2BDRIVERS%2BPOWER_1_SSD_1TB.zip

http://dl.dropbox.com/u/84817323/boot_BASE%2BCSWITCH%2BDRIVERS%2BPOWER_1_SSD.zip

If attaching files actually works on this site, it is not obvious how! It says it will, the files are under 500 k, as required, the files show up in the required window, then nada!

Edited by darthgrader
0

Share this post


Link to post
Share on other sites

I have red almost every post in this subject, tried every tweak which I could find on the internet and nothing, reinstalled system several times, disabled every proccess (win and no win) which could be disabled, and still shut down time on win 7 on asus laptop is to long.

Basically, I have a problem with NtShutdownSystem interval, which lasts 67,5 seconds.

If anyone have any idea, shout it out.

17966622.jpg

Here is xml summary_shutdown file:

summary_shutdown.xml

0

Share this post


Link to post
Share on other sites

I'm not sure this comes within the scope of this thread, so maybe there's another one you'd like me to take this to. The problem I have is Windows NOT going to standby for no apparent reason

please start a new topic in the forum for your Windows version.

0

Share this post


Link to post
Share on other sites

http://dl.dropbox.com/u/84817323/boot_BASE%2BCSWITCH%2BDRIVERS%2BPOWER_1_SSD_1TB_3TB.zip

http://dl.dropbox.com/u/84817323/boot_BASE%2BCSWITCH%2BDRIVERS%2BPOWER_1_SSD_1TB.zip

http://dl.dropbox.com/u/84817323/boot_BASE%2BCSWITCH%2BDRIVERS%2BPOWER_1_SSD.zip

If attaching files actually works on this site, it is not obvious how! It says it will, the files are under 500 k, as required, the files show up in the required window, then nada!

With SSD only you have a delay in SMSS mostyl caused by the driver SiRemFil.sys:

post-70718-0-21324100-1339879143_thumb.p

This is the Silicon Image SATALink controller driver. So I asked this after your first post. The detection of the drives was slow, so connect the WD and the SSD to different SATA ports on your mainbaord. Tghe same delay is also present in all other traces.

0

Share this post


Link to post
Share on other sites

Basically, I have a problem with NtShutdownSystem interval, which lasts 67,5 seconds.

If anyone have any idea, shout it out.

17966622.jpg

Please run this command:

xbootmgr –trace shutdown -traceFlags BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER+POWER+PRIORITY+REGISTRY -resultPath C:\TEMP

it captures more data (also disk and registry calls). Maybe this shows me more details. Zip the trace upload it to SkyDrive,Dropboxand send me a link.

0

Share this post


Link to post
Share on other sites

I'm not sure this comes within the scope of this thread, so maybe there's another one you'd like me to take this to. The problem I have is Windows NOT going to standby for no apparent reason

please start a new topic in the forum for your Windows version.

Thanks, will do.

0

Share this post


Link to post
Share on other sites

Please run this command:

xbootmgr –trace shutdown -traceFlags BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER+POWER+PRIORITY+REGISTRY -resultPath C:\TEMP

it captures more data (also disk and registry calls). Maybe this shows me more details. Zip the trace upload it to SkyDrive,Dropboxand send me a link.

Any idea? I made another trace and process daemonu.exe from nvidia update seems to last till the end of shut down process. I disabled it, but still the same. If nothing can be done, I am going to install another OS (xp, or linux), to make sure problem is not windows 7 related.

0

Share this post


Link to post
Share on other sites

http://dl.dropbox.com/u/84817323/boot_BASE%2BCSWITCH%2BDRIVERS%2BPOWER_1_SSD_1TB_3TB.zip

http://dl.dropbox.com/u/84817323/boot_BASE%2BCSWITCH%2BDRIVERS%2BPOWER_1_SSD_1TB.zip

http://dl.dropbox.com/u/84817323/boot_BASE%2BCSWITCH%2BDRIVERS%2BPOWER_1_SSD.zip

If attaching files actually works on this site, it is not obvious how! It says it will, the files are under 500 k, as required, the files show up in the required window, then nada!

With SSD only you have a delay in SMSS mostyl caused by the driver SiRemFil.sys:

post-70718-0-21324100-1339879143_thumb.p

This is the Silicon Image SATALink controller driver. So I asked this after your first post. The detection of the drives was slow, so connect the WD and the SSD to different SATA ports on your mainbaord. Tghe same delay is also present in all other traces.

"Connect the WD and SSD to different SATA ports."

Here is the thing. The board has two Marvel SATA 3 ports, which it says not to use for the boot drive, two other SATA 3 ports. The two drives in question are SATA3 drives. If I connect them to SATA 2 ports (there are 4) it will slow down their performance in transferring data. (by the way, I have two internal SATA optical drives connected to two of those 4 SATA2 ports) I have already tried the WD 3 TB drive on the Marvel SATA 3 port that is not shared with the eSATA port and it had no effect on the boot time. Not even a minimal effect, none. I had the WD 3 TB drive on a SATA 2 port, which one I do not recall, and again it made no significant difference in the boot time. So the question then is, exactly what is it that you want me to try? I am happy to give it a go but I don't know what it is you think I should do here that I have not already done.

0

Share this post


Link to post
Share on other sites

I made another trace and process daemonu.exe from nvidia update seems to last till the end of shut down process. I disabled it, but still the same. If nothing can be done, I am going to install another OS (xp, or linux), to make sure problem is not windows 7 related.

send me the latest trace file, please.

Here is the thing. The board has two Marvel SATA 3 ports, which it says not to use for the boot drive, two other SATA 3 ports. The two drives in question are SATA3 drives. If I connect them to SATA 2 ports (there are 4) it will slow down their performance in transferring data. (by the way, I have two internal SATA optical drives connected to two of those 4 SATA2 ports) I have already tried the WD 3 TB drive on the Marvel SATA 3 port that is not shared with the eSATA port and it had no effect on the boot time. Not even a minimal effect, none. I had the WD 3 TB drive on a SATA 2 port, which one I do not recall, and again it made no significant difference in the boot time. So the question then is, exactly what is it that you want me to try? I am happy to give it a go but I don't know what it is you think I should do here that I have not already done.

normal HDD likes your WD are not slow-downed by SATA2. No normal HDD is so fast. Only SSDs reach the limits.

You can try to update the BIOS and load the default setting and try to install never AHCI drivers. If nothing helps, try a PCIe card which provides additional SATA ports.

0

Share this post


Link to post
Share on other sites

I made another trace and process daemonu.exe from nvidia update seems to last till the end of shut down process. I disabled it, but still the same. If nothing can be done, I am going to install another OS (xp, or linux), to make sure problem is not windows 7 related.

send me the latest trace file, please.

Reinstalled system, step by step, one update, then restart, another update, restart, driver by driver, app by app, restart after every installation.

Everything good now, shutting down in less then 20 seconds.

It seems that I had multiple wireless adapter drivers, so they caused conflict, but not really sure what was the problem.

Thanks...

0

Share this post


Link to post
Share on other sites

It seems that I had multiple wireless adapter drivers, so they caused conflict, but not really sure what was the problem.

nice to hear that you fixed it :):thumbup

0

Share this post


Link to post
Share on other sites

set the startyp to manual/on demand and not disabled.

Can you provide instructions or a link to an example? I'm having difficultly understanding your suggestion.

0

Share this post


Link to post
Share on other sites

I believe that he is asking you to set the Superfetch Service Startup type to "Manual" instead of "Disabled". You can do this manually by going to Computer Management -> Services and Applications -> Services -> Superfetch. In the Pulldown box for Startup type select Manual then click Apply and OK. Then reboot the system, maybe a couple of times, then redo your tests and see if that makes any difference. You can then go back into Services and see if indeed the Superfetch service was started, or if just allowing for the possibility that it could be started allows the system to perform correctly. I understand your concern about having the service running effecting the life of the SSD, but doing this test just to see if indeed it is the problem will not effect it's life enough to notice. You can always disable the service again after completing the test. Once we can find what is causing your problem, then we can try and figure out how to prevent it.

Cheers and Regards

0

Share this post


Link to post
Share on other sites

I believe that he is asking you to set the Superfetch Service Startup type to "Manual" instead of "Disabled". You can do this manually by going to Computer Management -> Services and Applications -> Services -> Superfetch. In the Pulldown box for Startup type select Manual then click Apply and OK.

yes, this is what I want you to do.

0

Share this post


Link to post
Share on other sites

So, I'm currently booting into Windows 7 Pro 64-bit w/ a P9x79 Deluxe mobo, an Intel i7 3930K CPU, 4x4GB DDR3-1600, and an OCZ Vertex 3 240GB SSD...but it generally stays on the Windows loading screen for 15-20 seconds or more, when many others are telling me that their UEFI computers boot up in <8 seconds and that the Windows loading screen barely has time to flash, and I can't for the life of me figure out what could be causing the delay. I created a thread over in the Tom's Hardware forums and when I wasn't having much luck, one of the other members referred me to your thread, so I was hoping maybe you might spot something I've missed. I've attached the xml file from the trace boot, please let me know if there's anything else that might help figure out what I'm doing wrong.

0

Share this post


Link to post
Share on other sites

I can't see an attached file :unsure:

0

Share this post


Link to post
Share on other sites

Gah! What the hell? I swear I double checked that before I posted... Okay, I'm attaching it again, and if for some reason there's no file, than it's also on pastebin here: http://pastebin.com/EPZcvRgF

EDIT: ah...you have to click that button after selecting it...skipped that step before...

summary_boot.xml

0

Share this post


Link to post
Share on other sites

ok, your Windows takes 23s to boot to the desktop and 25s to boot completely:


<timing bootDoneViaExplorer="23344" bootDoneViaPostBoot="35044"

The PreSMSS phase takes too long (10s):

<interval name="PreSMSS" startTime="0" endTime="10429" duration="10429">

I can see that the driver for the Intel SATA controller takes too long to load (4s) and scaning for the attached devices also takes too log

<pnpObject name="PCI\VEN_8086+DEV_1D02+SUBSYS_84EF1043+REV_05\3+11583659+0+FA" type="Device" activity="Enum" startTime="4602" endTime="8683" duration="4080" prePendTime="4080" description="Intel® C600 Series Chipset SATA AHCI Controller" friendlyName="" />

<pnpObject name="PCIIDE\IDEChannel\5+3a447424+0+0" type="Device" activity="Enum" startTime="1032" endTime="4541" duration="3509" prePendTime="0" description="IDE Channel" friendlyName="ATA Channel 0" />

<pnpObject name="PCIIDE\IDEChannel\5+3a447424+0+1" type="Device" activity="Enum" startTime="1033" endTime="4541" duration="3508" prePendTime="0" description="IDE Channel" friendlyName="ATA Channel 1" />

Which IDE devices do you still use?

0

Share this post


Link to post
Share on other sites

I'm unfamiliar with PreSMSS or how to speed it up. As for devices, I have 1 SSD, 3 HDD's, and a BluRay writer connected to the Intel SATA connectors (I don't use the Marvell connectors). Then I've got 2 USB 3.0 external HDD's (one is a dual enclosure), and a USB 2.0 external HDD (Seagate FreeAgent, which also seems to be slowing down the boot, if I'm reading the results correctly...)

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.