MSFN Forum: Trace Windows 7 boot/shutdown/hibernate/standby/resume issues - MSFN Forum

Jump to content


Windows 7 forum rules

If you have questions about customizing Windows 7 that are vLite-specific, please post them in the vLite forum, not here. If you have questions regarding the unattended installation of Windows 7, please post them in the Unattended Windows 7/Server 2008 R2 section.
  • 49 Pages +
  • « First
  • 31
  • 32
  • 33
  • 34
  • 35
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Trace Windows 7 boot/shutdown/hibernate/standby/resume issues

#641 User is offline   MagicAndre1981 

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

Posted 04 March 2012 - 10:41 AM

did you get an error message while running the command to create the XML?


#642 User is offline   MagicAndre1981 

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

Posted 08 March 2012 - 09:00 AM

View PostLenaud01, on 03 March 2012 - 12:09 PM, said:

did you see anything that could give me a even faster boot Andre? or performance overall


from the trace I can see that the System process causes some high CPU usage and the causing function is:

Quote

ntkrnlmp.exe! ?? ::FNODOBFM::`string'


Run this:

xbootmgr -trace boot -traceFlags BASE+CSWITCH+DRIVERS+POWER+LATENCY+DISPATCHER+PERF_COUNTER+PRIORITY+REGISTRY+FILE_IO+FILE_IO_INIT -stackWalk Profile+ProcessCreate+CSwitch+ReadyThread+Mark+ThreadCreate -resultPath C:\TEMP


this captures some more data (CSwitch, ReadyThread, CPU usage, threadcreate).

But you should still check the HDDs and your OCZ SSD. Also create a full back of the Systemdrive and install the 1.35 firmware, your 1.11 is a bit old:

http://www.ocztechno..._LE,_Agility_2/

#643 User is offline   Lenaud01 

  • Group: Members
  • Posts: 5
  • Joined: 29-February 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 March 2012 - 02:35 PM

I sent you the updated trace and updated the firmware on the SSD what would you like me to check on the drives? thanks Andre

#644 User is offline   MagicAndre1981 

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

Posted 08 March 2012 - 04:49 PM

1 thing I can see is that the service LANManagerService starts extremely SLOW. This is the service which you need to share files. Do you share files in your network? If not, set the starttype to "on demand/manual".

Also, do you run the HDD and SSD in IDE or AHCI mode? If IDE change to AHCI.

This post has been edited by MagicAndre1981: 08 March 2012 - 05:12 PM


#645 User is offline   leof 

  • Group: Members
  • Posts: 8
  • Joined: 09-March 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 March 2012 - 03:30 AM

Can someone please have a look at this tracefile: Tracefile
I have an SSD installed and disabled various services: search, prefetch, hybernate etc.
Thanks a lot!
Edit: Forgot to tell this PC is part of a domain.

This post has been edited by leof: 09 March 2012 - 03:47 AM


#646 User is offline   MagicAndre1981 

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

Posted 09 March 2012 - 05:49 AM

WinlogonInit takes too long (289seconds):

+ <interval name="WinlogonInit" startTime="10347" endTime="300105" duration="289757">



entering the password takes so long:

Attached File  Winlogoninit.png (12.14K)
Number of downloads: 9

so type in the password faster.

#647 User is offline   leof 

  • Group: Members
  • Posts: 8
  • Joined: 09-March 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 March 2012 - 09:04 AM

Thanks for looking into this!
I enter the password as soon as the Welcome screen displays. It stays black for minutes before that.

#648 User is offline   MagicAndre1981 

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

Posted 09 March 2012 - 10:16 AM

can you use Autologon from sysinternals and enter your account details + password to speed this up? Do you still see the delay?

http://technet.micro...ernals/bb963905

Do you sue a Domain account or local account?

#649 User is offline   leof 

  • Group: Members
  • Posts: 8
  • Joined: 09-March 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 March 2012 - 11:26 AM

I will try AutoLogon and report the results.
I use a domain logon.
I also inform you that a reboot doesn't take much time. Resume after Standby (not hybernate) doesn't take a long time either. Unless the Standby mode has been for a longer period, i.e. more than an hour or so. In that case the resume would take several minutes.

#650 User is offline   vicbyrd 

  • Group: Members
  • Posts: 5
  • Joined: 14-January 04

Posted 09 March 2012 - 11:45 AM

Hello,

I've been debugging a slow Windows 8 CP boot for days and can not figure it out. Symptoms are a 50 Second boot time. . .

It seems that StorPort.sys and WDF01000.sys are stalling the process but both are MS drivers so I can't disable to isolate the problem.

Boot Trace is here -

https://skydrive.liv...rive&Bsrc=Share

and System Summary is here -

https://skydrive.liv...rive&Bsrc=Share

Of course if there are any other problems that you see (I left the trace running for the full 120 seconds post boot) I would appreciate the comment!

Thanks a ton in advance,
Victor

This post has been edited by vicbyrd: 09 March 2012 - 11:46 AM


#651 User is offline   MagicAndre1981 

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

Posted 09 March 2012 - 01:05 PM

look like the USb 3.0 controller is the cause:

Attached File  USB_30.png (36.98K)
Number of downloads: 14

Attached File  USB_30_name.png (12.86K)
Number of downloads: 10

Which device have you connected to this USb3.0 controller?


Also, run WinSAT to calculate the Experience Index so that Superfetch is stopped. Currently the service runs which is not recommend for SSD drives.

#652 User is offline   leof 

  • Group: Members
  • Posts: 8
  • Joined: 09-March 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 March 2012 - 01:37 PM

I don't have any USB 3.0 device connected to any USB 3.0 port.
I ran WinSAT, but I already had the Superfetch service disabled.
I will test booting and resuming time again.
AutoLogon did not make any difference.

#653 User is offline   MagicAndre1981 

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

Posted 09 March 2012 - 01:47 PM

sorry, this was the reply to Victor (vicbyrd), not for you :blushing:

#654 User is offline   vicbyrd 

  • Group: Members
  • Posts: 5
  • Joined: 14-January 04

Posted 09 March 2012 - 02:53 PM

Magic,

I don't have any devices connected to the USB 3 ports but I will disable them (in BIOS) and see if that helps.
Thanks for the tip on running WEI - will do.

I'll report back in a few,
Victor

#655 User is offline   vicbyrd 

  • Group: Members
  • Posts: 5
  • Joined: 14-January 04

Posted 09 March 2012 - 03:15 PM

Magic,

Worked a treat! Disabled USB3.0 in BIOS and disabled ASMedia SUB 3.0 devices (both ports) in Device Manager. Reduced boot time to about 15 seconds.

BTW, in your previous reply, what table did you snapshot to show the offending drivers? I was not offered that view in xperfview.

Thanks - you 'da man,
Victor

#656 User is offline   MagicAndre1981 

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

Posted 10 March 2012 - 08:46 AM

View Postvicbyrd, on 09 March 2012 - 03:15 PM, said:

Worked a treat! Disabled USB3.0 in BIOS and disabled ASMedia SUB 3.0 devices (both ports) in Device Manager. Reduced boot time to about 15 seconds.


:thumbup You should also send this to Microsoft. Go to connect.microsoft.com, join the IE10 feedback, download the Feedback tool and install it on Windows 8 and tell MS the issue and send them the xbootmgr trace file.

View Postvicbyrd, on 09 March 2012 - 03:15 PM, said:

BTW, in your previous reply, what table did you snapshot to show the offending drivers? I was not offered that view in xperfview.


look at the "boot phases" graph and you see that SMSSInit/Session Int takes some time.

Attached File  xbootmgr_boot_phase.png (18.74K)
Number of downloads: 16

In my first post I wrote that Windows loads all not boot relevant drivers and starts all not boot relevant devices. So make selection in the bootgraph that covers the delay, right click and select "clone selection". Go to the "Generic events" graph and make a rightclick in the highlighted area and make a rightclick and select "Summary table". Now expand the "Microsoft-Windows-Kernel-PnP" and under "DeviceStart" you can see that gap in the Time:

Attached File  USB_30.png (36.98K)
Number of downloads: 13

To see which device it was, I opened the "System Configuration" under "Traces" and look in the PnP table and found which devices use those IDs:

Attached File  USB_30_name.png (12.86K)
Number of downloads: 7

This was all I did. Took my 5 minutes

@leof

have you made a new trace?

#657 User is offline   leof 

  • Group: Members
  • Posts: 8
  • Joined: 09-March 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 March 2012 - 05:38 PM

View PostMagicAndre1981, on 10 March 2012 - 08:46 AM, said:

@leof

have you made a new trace?

Why should I? Nothing has changed.

#658 User is offline   MagicAndre1981 

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

Posted 11 March 2012 - 08:47 AM

make a reboot trace, replace boot with rebootCycle in the command line and look at the difference. Maybe it is an network issue which causes the logon delay.

#659 User is offline   leof 

  • Group: Members
  • Posts: 8
  • Joined: 09-March 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 12 March 2012 - 06:43 AM

Hi Andre,
Discovered something: when I typed my password while the screen was black, nothing happened at first. But when finally my monitor lit up, the desktop was displayed in stead of the logon screen!
First thing I now did was replace the monitor cable. But maybe it's a monitor problem. I have a spare one so I will go on to experiment.
I will keep you informed how this develops. In the mean time I thank you for your attention!
Leo

#660 User is offline   vicbyrd 

  • Group: Members
  • Posts: 5
  • Joined: 14-January 04

Posted 12 March 2012 - 02:16 PM

Andre,

Thanks for the explanation of how you displayed the offending device on my machine. I've run thru the steps and now feel confident that I could troubleshoot a bad driver in the future. My machine has run flawlessly all weekend. Based on the # of reboots that one normally goes thru during a new OS install I'm guessing you saved me about 24 hours.

Thanks for all your help,
Victor

:thumbup

Share this topic:


  • 49 Pages +
  • « First
  • 31
  • 32
  • 33
  • 34
  • 35
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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