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
1198 replies to this topic

#101
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

Hi,

the WinLogon Init phase takes too long:

RequestCredentials takes too long:

start: 23.331936128
stop: 644.723953709

Do you wait to long to enter the password?
Posted Image


How to remove advertisement from MSFN

#102
Prodeje79

Prodeje79

    Newbie

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

Hi,

the WinLogon Init phase takes too long:

RequestCredentials takes too long:

start: 23.331936128
stop: 644.723953709

Do you wait to long to enter the password?


The sign in screen does not come up until after you let it hibernate.
It is a black screen with a mouse arrow you can move around.
After 30 minutes of idling it hibernates. Once move mouse after that, the login screen comes up with the 4 user icons to choose from.

#103
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

You should make a complete dump when it's black and upload it and ask cluberti if he can look at it.
Posted Image

#104
jrglenn27

jrglenn27
  • Member
  • 1 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I received a critical error message saying my driver is causing windows to resume from standby to slowly. I have uploaded a 7zip file to my skydrive account. It contains the 2 error reports from the windows diagnostic program along with the boot, shutdown, standby, and hibernate logs. I went to my OEM Dell to get an updated driver and from what I found I have the most current one. I have spent a lot of time trying to figure this one out before I came upon your guide here. It impressed me so I have decided to join the site because if the help is all like yours the site is by far one of the best.
Thankfully,
Jeremy

P.S. Here is the link to access the files on my skydrive account: https://cid-1fea2dcab93c5516.skydrive.live.com/redir.aspx?resid=1FEA2DCAB93C5516!1397&Bpub=SDX.Docs&Bsrc=GetSharingLink&authkey=tcQuF0sZ0Kc%24

#105
Prodeje79

Prodeje79

    Newbie

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

You should make a complete dump when it's black and upload it and ask cluberti if he can look at it.


what do i need to do exactly to do this?

EDIT: OK I am following this... http://www.msfn.org/...g-memory-dumps/
installing net framework 4 and then debugging tools....

I basically will do that right cntrl + scroll twice when its at the black screen at bootup?

Edited by Prodeje79, 05 September 2010 - 01:05 PM.


#106
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

I received a critical error message saying my driver is causing windows to resume from standby to slowly. I have uploaded a 7zip file to my skydrive account.


Hi, follow my guide:

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

and speed up your Windows boot.

For the shutdown, the MS SQL Server service hangs too long. Also the event log and the AntiVir service take to long to stop.

For hibernation/standby, the Intel graphic driver sometimes takes to long to resume. Are you using the latest Intel driver?

André
Posted Image

#107
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

I basically will do that right cntrl + scroll twice when its at the black screen at bootup?


yes
Posted Image

#108
Prodeje79

Prodeje79

    Newbie

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


I basically will do that right cntrl + scroll twice when its at the black screen at bootup?


yes


ok its a 2gb file.
It will take forever to upload it :\

#109
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

zip it with 7-Zip into a 7z file (with Ultra compression). this will reduce the size o lot.
Posted Image

#110
supjack

supjack

    Newbie

  • Member
  • 11 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Update on my issue  

While working with MS support I found that if the value for ClearPageFileAtShutdown is 0 then the shutdown is speedy.  It seems that this value is given via a domain policy setting.  On the physical Win 7 PC's and the one other virtual Win 7 PC's (and all of the Win XP PC's) you can see this setting causes a little more time (slight) to shutdown.  On the this particular Win 7 PC (virtual running on vmware), if I edit the ClearPageFileAtShutdown value from 1 to 0, the shutdown process seems to be fixed.  However I did notice that if I added or removed software the setting reverts back to 1.  So at this point I'm closer to finding solution but its not 100%. I may just stop at this since we are trying to get a Win 2008 domain controller online to replace the the Win 2000 domain controller and the issue may not get fully addressed till the 2000 server is out of the picture. 

What I would like to understand in the mean time are the following entries found in the same location as the ClearPageFileAtShutdown reg key.

On 2 WinXP machines that I checked, there's two entries that look like the following:
ExistingPageFiles.......REG_MULTI_SZ....C:\pagefile.sys 1524 3048
PagingFiles.............REG_MULTI_SZ....C:\pagefile.sys 768 1536

On the Win 7 machines that I checked (1 phy & 1 virt) these show as:
ExistingPageFiles.......REG_MULTI_SZ....\??\C:\pagefile.sys
PagingFiles.............REG_MULTI_SZ....?\C:\pagefile.sys

MS support has not responded yet about the syntax of the values above. It may be that I'm missing something obvious.

#111
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

ok, yeah I can reproduce this when CleanPageFile is set. Why do you set this option?
Posted Image

#112
supjack

supjack

    Newbie

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

<br />ok, yeah I can reproduce this when CleanPageFile is set. Why do you set this option?<br />

<br /><br /><br />

Its a domain security policy setting pushed to the member PC's. At some point someone here checked off this setting, or the setting was included within a security script run against the server to tighten things down. The domain controller is so old I'm not exactly why or exactly when this was done. No real negative effect on the XP boxes though so I guess until now its been a non issue.

Still weird that on two other Win 7 boxes the shut down is not too bad (about 60 seconds). With the box in question, I've timed at about 13-14 minutes a couple of times.

#113
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

Still weird that on two other Win 7 boxes the shut down is not too bad (about 60 seconds).


even with this setting applied?
Posted Image

#114
supjack

supjack

    Newbie

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

<br />

<br />Still weird that on two other Win 7 boxes the shut down is not too bad (about 60 seconds).  <br />

<br /><br />even with this setting applied?<br />

<br /><br /><br />

Yes, right now I have two Win 7 guest OS installs on top of ESX 4.0, I also have 4 physical Win 7 installs (3 are new laptops). All of the Win 7 installs are domain members. Not one of the users of these systems has complained about shut down time so I checked to see the shut down time myself when I noticed things with this particular one. They do not shut down fast but the seemed to be not too bad, I guess thats why no one complained.

The XP boxes (about 40 of them), that are on the same domain that are effected by the same policy seem to shut down pretty quickly.

#115
roffer

roffer
  • Member
  • 1 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Hi Andre'

I am running Windows 7 Ultimate 64 bit and have consistent shutdowns that take a long time. I followed your directions and generated a trace. I am not sure what the culprit is, I didn't really see any entries in the trace that looked like the culprit but then again I am not very familiar with the various graphs included in the trace. Please let me know if you see anything that jumps out and thanks for all your help!

Trace File

Regards,
Ron

#116
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

Hi Ron,

the trace says, your Windows needs 21 seconds to shutdown:

shutting down the all running programs take 9 seconds.
shutting down the all services takes 6 seconds (tomcat and services.exe take a longer time)

the rest of the time is shutting down Windows itself.

André
Posted Image

#117
weirhouse

weirhouse
  • Member
  • 1 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I have a Toshiba R700 with the solid state drive running Win 7 Professional.

I ran xbootmgr -trace boot -traceflags base+cswitch+drivers+power -resultpath c:\RESULTS (a folder I'd created in advance)

System rebooted, I logged in, and instead of splash screen I got BSOD! Have tried it twice now after recovering in Safe Mode and terminating the xbootmgr command.

I did a BIOS update today, but haven't tried to run it again. The prior BIOS was from May 2010 so still not very old.

Also, the laptop was in a docking station/port replicator with external VGA monitor, bluetooth keyboard, external speakers - basically the way I have it set up when I use it. I assume that would be the way you'd want the trace to run so it reflected the setup being used on a regular basis.

I had managed to successfully run a trace using the same command a few days ago, but I had the latop sitting stand alone with just the power cord plugged in and no internet cable connected.

It's a company computer and has PGP Disk Encryption installed, so the first thing that comes up when I power on is the PGP login screen. From the time I enter the password to get to the desktop was about 2 minutes.

I shut off some services and changed some IE settings and the boot time for the same period came down to just over 1 minute.

Wanted to run another trace, but ran into the BSOD issue. I will try running again with the BIOS update and see if that does anything to fix it.

As I tell the guys at work, I only play a techie on TV, but not afraid to jump in and learn. Thanks for any tips or help.

#118
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

Remove the DRIVERS flag from the command line or remove all USB devices connected to your PC.
Posted Image

#119
Nimso

Nimso
  • Member
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I just installed Windows 7 Ultimate 64 bit onto an OCZ Revodrive SSD and it takes about 3.5 minutes to load windows. (Fresh install) Once Windows loads, everything runs really fast and works great. Shutting down only takes about 3 seconds.

System Specs:

Mobo: Gigabyte X58A-UD3R Rev2
CPU: Intel Core i7 950
RAM: 6GB Kingston HyperX DDR3 2000Mhz
Vid: EVGA 640-P2-N825-AR GeForce 8800GTS 640MB 320-bit GDDR3 PCI Express x16 HDCP Ready SLI
PSU: PC Power and Cooling S61EPS 610W
HDD: OCZ Revodrive 120GB
OS: Windows 7 Ultimate 64 Bit

here is my rapidshare link...

http://rapidshare.co...ERS_POWER_1.zip

thanks for the help!

#120
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

Ok, I've created a summary XML and looked what is the cause:

I can see that the PreSMSS Phase takes too long:

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

as you can see it takes 197547 seconds.

The PreSMSS subphase begins when the kernel is invoked. During this subphase, the kernel initializes data structures and components. It also starts the PnP manager, which initializes the BOOT_START drivers that were loaded during the OSLoader phase.
When the PnP manager detects a device, it loads and initializes the device’s drivers in the following sequence:
1. Detects a device.
2. Loads the drivers into memory and validates the driver signature.
3. Calls the DriverEntry function of the device driver. The driver code executes.
4. Sends an IRP_MN_START_DEVICE I/O request packet (IRP) to the driver, which notifies the driver to start the device. The driver code executes.
5. Sends the IRP_MN_QUERY_DEVICE_RELATIONS IRP to the driver to enumerate any child devices. The driver code executes.

The PnP manager repeats these steps for each enumerated child device. It continues to iterate through child devices until it has enumerated and initialized the full device tree.


So I looked which device takes too long and found this:

<phase name="bootStart" startTime="27" endTime="197216" duration="197189">
        <pnpObject name="PCI\VEN_197B+DEV_2363+SUBSYS_B0001458+REV_02\4+238ed369+0+00E1" type="Device" activity="Enum"
                   startTime="574" endTime="193416" duration="192841" prePendTime="0" description="[b]GIGABYTE GBB36X Controller[/b]" friendlyName=""/>

The GIGABYTE GBB36X Controller takes too long to start. This is the cause of the delay. Update all drivers:

http://www.gigabyte....spx?pid=3449#dl

André
Posted Image

#121
Nimso

Nimso
  • Member
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I just updated all of my drivers from Gigabytes website, and it is still taking the 3.5 minutes to load. Any other ideas?

#122
Nimso

Nimso
  • Member
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I walked away the last time that it booted and when I got back, it was scrolling some text. (black screen with white text) im assuming it was a disk check, but im not sure... i rebooted then and it started up how it usually does, 3.5 mins.

Edited by Nimso, 10 October 2010 - 07:27 PM.


#123
Nimso

Nimso
  • Member
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag
i just disabled gsata and usb 3.0 in the bios, and windows loaded in like 10 seconds.... way shorter... i can try to turn one on and see if its one, or both of them now...

**Edit** I just tested, and usb 3.0 works, but whenever i have sata 6g enabled, it does the long boot. i disabled usb3.0 and enabled sata 6g and it took 3.5 mins to load windows, the same as with usb3.0 and sata 6g enabled. it only loads in 10 secs when i have sata 6g disabled.

Edited by Nimso, 10 October 2010 - 07:55 PM.


#124
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

it only loads in 10 secs when i have sata 6g disabled.


ok, thanks for the feedback. Contact Gigabyte about this issue.
Posted Image

#125
BuckeyeInWi

BuckeyeInWi
  • Member
  • 3 posts
Andre,

First, thanks for all the time you spend on this. My Windows 7 installation started acting strangely after I moved My Documents to a secondary drive, so I made an image copy, wiped the boot partition and reinstalled. Because I have an Upgrade license, I did not activate on 1st install, shutdown and "upgraded" the original Windows 7 install. This seemed to work well except that the shutdown now takes 3:52 to 3:55 (m:ss).

Other than Windows and MS Updates, I installed Avast Free v5 and an AD1888 sound driver from the motherboard vendor in XP compatibility mode. The motherboard is PC Chips Goal 3+.

When I use xbootmgr -trace shutdown -noPrepReboot -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath D:\TEMP the result always shows 15 or 16 seconds to shutdown, instead of nearly 4 minutes. Here is the link to the trace:
http://cid-a79fe3f6b8b4fd21.skydrive.live.com/redir.aspx?resid=A79FE3F6B8B4FD21!102

My original upgrade of Windows 7 (from XP SP3) shutdown in approximately 1:10 to 1:40.

Any ideas?

Thanks again,
Buckeye

Edited by BuckeyeInWi, 11 October 2010 - 02:25 PM.






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

5 user(s) are reading this topic

0 members, 5 guests, 0 anonymous users



How to remove advertisement from MSFN