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

#801
robe

robe
  • Member
  • 4 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Yeah, I saw that the big spike wasn't there now, weird. Makes me wonder if my system is unstable is some way? :blink:
What can I do about the registry issues? (ntkrnlmp.exe)

I'll check through startup tools in Autoruns, you've got any idea which ones is worth keeping except Avast AV?
But now I'm more concerned if there's anything wrong with my system.

Is it enough just to unplug the webcam to make Windows Image Acquisition service work ok? Or should I put the service on delayed start?

Edited by robe, 31 August 2012 - 10:42 AM.



How to remove advertisement from MSFN

#802
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

the WIA service should be started on demand. so removing the Webcam should prevent the service from starting.

Look at all those Asus tool. Do you need all of them?
Posted Image

#803
war59312

war59312

    Will's Blog

  • Member
  • PipPipPipPipPip
  • 932 posts
My computer is taking over 2 minutes to shutdown.

Sadly every time I try and trace I get this:

[2012/09/15-21:05:15.810] Registering for auto-run with a 120000 msec delay...
[2012/09/15-21:05:15.814] Completed auto-run change.
[2012/09/15-21:05:15.814] Registering for auto-run with a 1 msec delay...
[2012/09/15-21:05:15.814] Completed auto-run change.
[2012/09/15-21:05:15.826] Starting trace...
[2012/09/15-21:05:15.875] Couldn't start tracing session to 'C:\TEMP\shutdown_BASE+CSWITCH+DRIVERS+POWER_1_km_premerge.etl' (0x000000b7).
[2012/09/15-21:05:15.876] Unable to start trace.
[2012/09/15-21:05:15.876] Stopping trace...
[2012/09/15-21:05:16.240] Stopped kernel logger.
[2012/09/15-21:05:16.240] Couldn't find user-mode logger in active logger list.
[2012/09/15-21:05:16.240] Unregistering auto-run...
[2012/09/15-21:05:16.240] Completed auto-run change.
OK, this 1 worked: http://www.sevenforu...boot-trace.html after I did:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"DisablePagingExecutive"=dword:00000001
My shutdown trace: http://www.datafileh...d-4fc37a1d.html

Edited by war59312, 15 September 2012 - 08:00 PM.

Ad Muncher Usage Statistics for v4.73 Beta Build 30552/2275
Adverts removed by Ad Muncher: 2,200,586
Approximate bandwidth saved: 17,192 MB
Counter started: April 2, 2003

#804
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

According to the trace, your Windows shuts down in 14s and not 2 minutes:

- <timing shutdownTime="14329" servicesShutdownDuration="5000">

Posted Image

#805
war59312

war59312

    Will's Blog

  • Member
  • PipPipPipPipPip
  • 932 posts
Then it lies! Figures!

I just timed it with a stop watch, 3 times in a row, average of 2 minutes 6 seconds just for my computer to turn off.

Enter time it's stuck on "Shutting Down".
Ad Muncher Usage Statistics for v4.73 Beta Build 30552/2275
Adverts removed by Ad Muncher: 2,200,586
Approximate bandwidth saved: 17,192 MB
Counter started: April 2, 2003

#806
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

Did it also happen when you ran the trace?
Posted Image

#807
war59312

war59312

    Will's Blog

  • Member
  • PipPipPipPipPip
  • 932 posts
Yes indeed, happens every single time.

Will get another trace later in the week to be sure.
Ad Muncher Usage Statistics for v4.73 Beta Build 30552/2275
Adverts removed by Ad Muncher: 2,200,586
Approximate bandwidth saved: 17,192 MB
Counter started: April 2, 2003

#808
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

Do this and give me the new trace file.
Posted Image

#809
war59312

war59312

    Will's Blog

  • Member
  • PipPipPipPipPip
  • 932 posts
OK, I figured out my issue.

The issue is http://memory.datara...oftware/ramdisk which seems to have a bug.

My small 1GB RAM drive should be saving to my super fast SSD in a few seconds which it seems to be doing but the driver is taking too long to exit which causes shutdown to hang for 2+ minutes. :(

Going to see if there new version 4 makes any difference.
Ad Muncher Usage Statistics for v4.73 Beta Build 30552/2275
Adverts removed by Ad Muncher: 2,200,586
Approximate bandwidth saved: 17,192 MB
Counter started: April 2, 2003

#810
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

ok
Posted Image

#811
war59312

war59312

    Will's Blog

  • Member
  • PipPipPipPipPip
  • 932 posts
Well afraid version 4 makes no difference what so ever.

Guess I will be switching to a different product. Too bad.

OK I have started using this for my RAMDisk and no more shutdown issue and works perfectly for my needs: http://thessdreview....ftware/1834.htm

Edited by war59312, 22 September 2012 - 02:53 PM.

Ad Muncher Usage Statistics for v4.73 Beta Build 30552/2275
Adverts removed by Ad Muncher: 2,200,586
Approximate bandwidth saved: 17,192 MB
Counter started: April 2, 2003

#812
doveman

doveman

    Advanced Member

  • Member
  • PipPipPip
  • 354 posts

make a new boot trace


OK, I finally got round to doing this. The delay is still about 1m10s before the boot animation shows and then another 30s until the desktop shows. This is with the NoGuiBoot and Bootlog options disabled.

http://www.mediafire...kj1tts5jdumdd7b

#813
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

the trace still doesn't show any delays:

<timing bootDoneViaExplorer="30360" bootDoneViaPostBoot="68360" osLoaderDuration="2363" postBootRequiredIdleTime="10000" postBootDisturbance="28000"

so booting to the desktop takes 30s and your Windows is fully booted in 58s. The osLoader takes 2.3s to load and not 1minute. So I can see where you have the delay. The only thing which is a larger delay is that AntiVir service takes 14s to start.
Posted Image

#814
doveman

doveman

    Advanced Member

  • Member
  • PipPipPip
  • 354 posts

the trace still doesn't show any delays:

<timing bootDoneViaExplorer="30360" bootDoneViaPostBoot="68360" osLoaderDuration="2363" postBootRequiredIdleTime="10000" postBootDisturbance="28000"

so booting to the desktop takes 30s and your Windows is fully booted in 58s. The osLoader takes 2.3s to load and not 1minute. So I can see where you have the delay. The only thing which is a larger delay is that AntiVir service takes 14s to start.


OK, thanks for checking it anyway. Obviously whatever's causing the delay isn't caught by the trace.

#815
jeked

jeked
  • Member
  • 9 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Hi magicandre1981,

Im wondering if your still willing to have a look at start-up times etc. I have gone through your tutorial and the HDD optimisation you linked to and have made it a little faster but it is still very long time. I have narrowed the longest time down to the WinlogonInit and PostExplorerPeriod sections of the log generated but in the services are im unable to find much after the initial changes i made.

Before doing your tutorial i also went through my usual speed up routine which i have attached which hopefully didn't cause this problem but basically it uninstalls unneeded/unused software, checks for virus/trojan/etc and removes old drivers.

I have attached the before and after XML summaries but the etl's before is 480KB and after is 603KB.

What is it that you would need if you were going to look?

Best regards,
JohnC.

Attached Files



#816
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

I need the ETL file to see why WinLogonInit is slow. Compress it as 7z or RAR and upload it to your SkyDrive or Dropbox.
Posted Image

#817
jeked

jeked
  • Member
  • 9 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Hi and thanks for the response.

I have added to dropbox with the following links:
1. Pre-Fix:
https://www.dropbox....pre-boot-etl.7z

2. Post-Fix: <- Most current
https://www.dropbox....ost-boot-etl.7z

Please let me know if those links dont work as i have never used Dropbox share function...

Regards

#818
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

Restoring the network connections takes 125s and causes the long delay:

Attached File  WinLogonInt_RestoreNetworkConnections.png   29.09KB   4 downloads

So don't restore network connections all the time. Map them later via a CMD script with
NET USE /PERSISTENT: NO

Posted Image

#819
jeked

jeked
  • Member
  • 9 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Ill make the change ad re-trace, thanks for your help so far.

#820
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

ok, tell me the result.
Posted Image

#821
jeked

jeked
  • Member
  • 9 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Ok so much faster but still really slow....

I posted the new file at:
https://www.dropbox....ix1-boot-etl.7z

Let me know if you can help anymore or need anything else.

Much appreciated,
JohnC.

#822
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

Now your Windows boots in 66s to the desktop. It doesn't show the time when all startup apps are loaded:

<timing bootDoneViaExplorer="66092" bootDoneViaPostBoot="-1"

What I can see is that your HDD is busy all the time.

Posted Image

When I checked what causes the issue I can see that Defender/MSE causes a lot of disk activity. I always had this issue with MSE, so I don't use it any longer.

I can also see that the DNS client service causes some high cpu usage. Add -stackwalk profile after -trace flags to the command and give me the new file.
Posted Image

#823
jeked

jeked
  • Member
  • 9 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Do you know why it shows -1? I thought the number might be to high but that didn't make sense :P What does the -stackwalk profile command do and what would you recommend instead of MSE in that case if you don't mind me asking.

Also I'll post it up within the hour. Have to get access to laptop.

Edited by jeked, 09 October 2012 - 06:53 PM.


#824
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

-stackwalk profile captures the callstack. this is helpful to see which function of the DNS service causes the CPU usage.

The -1 is shown when Windows was still busy with running all startup applications when the trace was finished.

Try AVG or AntiVir as alternative.
Posted Image

#825
jeked

jeked
  • Member
  • 9 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Hi,

I just realised that i didnt send the post to you, so sorry to make you wait:
https://www.dropbox....ix2-boot-etl.7z

That is the latest etl file. I installed Avast for its low boot impact compared to a couple other before i got you second message about Avir and AVG. Ill check them as well after we sought out some more issues...

Any help you can give is awesome.

Regards





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

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN