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

slow Boot bootvis performance

  • Please log in to reply
1200 replies to this topic

#751
darthgrader

darthgrader
  • Member
  • 7 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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?


How to remove advertisement from MSFN

#752
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,951 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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.
Posted Image

#753
darthgrader

darthgrader
  • Member
  • 7 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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.

#754
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,951 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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.
Posted Image

#755
darthgrader

darthgrader
  • Member
  • 7 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Trace for SSD only attached.

#756
doveman

doveman

    Advanced Member

  • Member
  • PipPipPip
  • 365 posts
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.

#757
darthgrader

darthgrader
  • Member
  • 7 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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.co...SSD_1TB_3TB.zip

http://dl.dropbox.co...R_1_SSD_1TB.zip

http://dl.dropbox.co...POWER_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, 16 June 2012 - 06:29 AM.


#758
Steve00

Steve00
  • Member
  • 3 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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.

Posted Image

Here is xml summary_shutdown file:

Attached Files



#759
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,951 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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.
Posted Image

#760
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,951 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

http://dl.dropbox.co...R_1_SSD_1TB.zip

http://dl.dropbox.co...POWER_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:

Attached File  driver_delay.png   31.66KB   3 downloads

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.
Posted Image

#761
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,951 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

If anyone have any idea, shout it out.

Posted Image


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.
Posted Image

#762
doveman

doveman

    Advanced Member

  • Member
  • PipPipPip
  • 365 posts


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.

#763
Steve00

Steve00
  • Member
  • 3 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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.

#764
darthgrader

darthgrader
  • Member
  • 7 posts
  • OS:Windows 7 x64
  • Country: Country Flag


http://dl.dropbox.co...SSD_1TB_3TB.zip

http://dl.dropbox.co...R_1_SSD_1TB.zip

http://dl.dropbox.co...POWER_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:

Attached File  driver_delay.png   31.66KB   3 downloads

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.

#765
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,951 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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.
Posted Image

#766
Steve00

Steve00
  • Member
  • 3 posts
  • OS:Windows 7 x64
  • Country: Country Flag


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...

#767
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,951 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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
Posted Image

#768
fishmcfish

fishmcfish
  • Member
  • 5 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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.

#769
bphlpt

bphlpt

    MSFN Addict

  • Member
  • PipPipPipPipPipPipPip
  • 1,796 posts
  • OS:none specified
  • Country: Country Flag
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

Posted Image


#770
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,951 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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.
Posted Image

#771
bikeracer4487

bikeracer4487
  • Member
  • 3 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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.

#772
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,951 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

I can't see an attached file :unsure:
Posted Image

#773
bikeracer4487

bikeracer4487
  • Member
  • 3 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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...

Attached Files



#774
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,951 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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?
Posted Image

#775
bikeracer4487

bikeracer4487
  • Member
  • 3 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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...)





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

2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users



How to remove advertisement from MSFN