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
  • 40
  • 41
  • 42
  • 43
  • 44
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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

#821 User is offline   jeked 

  • Group: Members
  • Posts: 9
  • Joined: 04-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 October 2012 - 07:30 AM

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 User is offline   MagicAndre1981 

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

Posted 09 October 2012 - 11:53 AM

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.

#823 User is offline   jeked 

  • Group: Members
  • Posts: 9
  • Joined: 04-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 October 2012 - 06:51 PM

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.

This post has been edited by jeked: 09 October 2012 - 06:53 PM


#824 User is offline   MagicAndre1981 

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

Posted 09 October 2012 - 11:31 PM

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

#825 User is offline   jeked 

  • Group: Members
  • Posts: 9
  • Joined: 04-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 October 2012 - 04:48 AM

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

#826 User is offline   MagicAndre1981 

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

Posted 10 October 2012 - 09:22 AM

Windwos still takes over 67s to boot to the desktop. I can see that the DNS client service reads the host file into a cache and this generate a heavy CPU usage (dnsrslvr.dll!LoadHostFileIntoCache and dnsrslvr.dll!Cache_RecordSetAtomic).

Do you use the host file to as ad blocker? How large is the host files?


Also the trace still shows MSE/defender as cause of a high HDD utilization.

#827 User is offline   jeked 

  • Group: Members
  • Posts: 9
  • Joined: 04-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 October 2012 - 11:36 AM

Regarding the MSE AND DEFENDER issue I'm T a loss as I have uninstalled MSE and didn't have defender running due to MSE so not sure ... I'll take a fresh look in the morning regarding both MSE and the hosts file but I don't use any ad blockers so should only be the default hosts file.

Thanks for help and be in touch soon (4:36am here).

EDIT #1:
Ok so i check my hosts file and i found why its so large. Spybot search and Destroy add hundreds/thousands of entries...should i remove these entries/spybot or would you recommend leaving that there?

Regarding the MSE/Defender issue im not sure as from what i can tell MSE is gone from my system and Defender isnt enabled.

EDIT #2:
On second look i found Defender still auto scanning and ON. Not sure how i missed it but will now re-time and post up ETL files a little later with the following command:
xbootmgr -trace boot -traceFlags BASE+CSWITCH+DRIVERS+POWER -stackwalk profile -resultPath C:\TEMP\6-Fix

This post has been edited by jeked: 11 October 2012 - 04:29 AM


#828 User is offline   MagicAndre1981 

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

Posted 11 October 2012 - 04:32 AM

ok, Remove Spybot search and Destroy, disable Defender (go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender set and DisableAntiSpyware to 1) and restore the original host file and make a new trace (with the stackwalk option)

#829 User is offline   jeked 

  • Group: Members
  • Posts: 9
  • Joined: 04-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 October 2012 - 04:34 PM

Ok, done and done...

https://www.dropbox....ix3-boot-etl.7z

#830 User is offline   MagicAndre1981 

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

Posted 12 October 2012 - 11:44 PM

the new trace shows that Windows boots a bit faster:

Quote

<timing bootDoneViaExplorer="54218" bootDoneViaPostBoot="162418"postBootDisturbance="98200"


the main issue is still the large time needed to to start all applications at Windows logon. Try to disable all unnecessary programs .

#831 User is offline   jeked 

  • Group: Members
  • Posts: 9
  • Joined: 04-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 October 2012 - 04:18 AM

View PostMagicAndre1981, on 12 October 2012 - 11:44 PM, said:

the new trace shows that Windows boots a bit faster:

Quote

<timing bootDoneViaExplorer="54218" bootDoneViaPostBoot="162418"postBootDisturbance="98200"


the main issue is still the large time needed to to start all applications at Windows logon. Try to disable all unnecessary programs .


This I don't understand as there are only 2 programs listed under msconfig to boot at startup and nothing in the startup folder... How would I go about searching out these other applications?

Thanks again,
Regards

#832 User is offline   MagicAndre1981 

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

Posted 13 October 2012 - 10:07 AM

?

You run dropbox, teamviewer, µtorrent, stardock fences, Synaptics tools, TightVNC,

Also how large is your Windows search index? The service takes 28s to init. Set the starttyp to manual and create a scheduled task which starts the service (net start WSearch), let me say 3min after logon. See if this helps.

#833 User is offline   Calippo 

  • Group: Members
  • Posts: 4
  • Joined: 15-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 October 2012 - 01:29 PM

Hi,

The start-up on my PC always feels slow, especially inbetween entering the password to log-on and the desktop. Running Windows 7 x64, 4GB RAM with an AMD Phenom II X3 720BE processor and an Asus motherboard.

I've enclosed the xbootmgr log, could you take a look at it and advise me how to improve it?

Thanks!

Dropbox

#834 User is offline   MagicAndre1981 

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

Posted 15 October 2012 - 01:40 PM

ok, your Windows boots in 57s to the desktop. I can see a long delay in the WinLogonInit phase.

Here it takes nearly 24 to start the Audio service:

serviceTransition name="AudioSrv" group="AudioGroup" transition="start" totalTransitionTimeDelta="23745" 



Attached File  Audio_service.png (84.51K)
Number of downloads: 10

So try to update the audio drivers for your Creative SB X-Fi.

#835 User is offline   Calippo 

  • Group: Members
  • Posts: 4
  • Joined: 15-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 October 2012 - 02:54 PM

View PostMagicAndre1981, on 15 October 2012 - 01:40 PM, said:

ok, your Windows boots in 57s to the desktop. I can see a long delay in the WinLogonInit phase.

Here it takes nearly 24 to start the Audio service:

So try to update the audio drivers for your Creative SB X-Fi.



Ok, I've fully removed the previous driver and updated with the latest driver I could find (the only alternative was a beta) and re-ran the test.

Here's the updated files:

http://db.tt/7Xu4sSh6

Thanks for your help with this, it's appreciated.

This post has been edited by Calippo: 15 October 2012 - 03:38 PM


#836 User is offline   MagicAndre1981 

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

Posted 15 October 2012 - 03:33 PM

you should do it. Otherwise I can't see when Windows is fully booted.

#837 User is offline   Calippo 

  • Group: Members
  • Posts: 4
  • Joined: 15-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 October 2012 - 03:53 PM

Yeah, realised I should do so the correct files are in my post above.

#838 User is offline   MagicAndre1981 

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

Posted 16 October 2012 - 01:20 AM

ok. the new boot traces shows that it is faster. Only 42s to the desktop, but it still doesn't show the end:

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



The Audio service now starts faster (only 1s).

But your disk is busy all the time. You also use MSE and this causes a high CPU and disk activity. Try a different tool like AVG, Avira or Avast. Also try the cleanup tools from Startup like the AMD CCC which is very slow to start. And do you need all logitech software right at boot? What is SABnzbd.exe? Do you need it?

I can also see that the prefetcher doesn't work perfectly. So follow my optimization guide I've linked in the first post. Install the hotfixes, reboot, run the new command to reboot the PC 6 times.

This should give you a large boost.

#839 User is offline   Calippo 

  • Group: Members
  • Posts: 4
  • Joined: 15-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 October 2012 - 04:37 AM

I'm not at home at the moment, so I won't be able to try your suggestions until later on.

View PostMagicAndre1981, on 16 October 2012 - 01:20 AM, said:

ok. the new boot traces shows that it is faster. Only 42s to the desktop, but it still doesn't show the end:

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



The Audio service now starts faster (only 1s).


The Creative drivers for Windows 7 have been a complete farce. Is the time to start this significantly worse than expected? I'm tempted to replace the card with another brand, this might be the tipping point.

Quote

But your disk is busy all the time. You also use MSE and this causes a high CPU and disk activity. Try a different tool like AVG, Avira or Avast.


I'll remove MSE and try Avira instead.

Quote

Also try the cleanup tools from Startup like the AMD CCC which is very slow to start. And do you need all logitech software right at boot? What is SABnzbd.exe? Do you need it?


AMD CCC and Logitech I use for gaming, neither of which are essential at the first point where the PC is booted. Do you think it would be best to use Task Scheduler to set these to open at boot with a delay?

SABnzbd.exe is a downloader program, having it run in the background is only a convenience. Same again with TS?

Quote

I can also see that the prefetcher doesn't work perfectly. So follow my optimization guide I've linked in the first post. Install the hotfixes, reboot, run the new command to reboot the PC 6 times.

This should give you a large boost.


Will do. Thanks for your help

#840 User is offline   MagicAndre1981 

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

Posted 16 October 2012 - 11:55 PM

the new times are ok. So the driver update was ok :)

For what do you use the CCC? 1 only use MSI Afterburner to reduce the fan speed. You can start it via task scheduler at 3 minutes after logon.

Have you done the optimization?

Share this topic:


  • 49 Pages +
  • « First
  • 40
  • 41
  • 42
  • 43
  • 44
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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