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

#451
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

the shutdown is slow because you enabled the option to clear the pagefile at shutdown.

<interval name="ZeroHiberFile" startTime="19593" endTime="48958" duration="29365" /> 

Change the data value of the ClearPageFileAtShutdown value in the following registry key to 0 under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

The boot trace is incomplete.

Add -postBootDelay 300 to the command line of the boot trace. This captures 500s after boot. Compress the ETL as 7z (ULTRA, LZMA2) and upload it.
Posted Image


How to remove advertisement from MSFN

#452
crashnburn4u

crashnburn4u

    Newbie

  • Member
  • 32 posts
  • Joined 04-August 10
  • OS:none specified
  • Country: Country Flag

all summaries don't look good. But I need the ETL files. Can you compress them as 7z (LZMA2/Ultra) and upload them?

In all cases the WinlogonInit (starting services, request password, connect network connections) is slow

WinlogonInit" startTime="23322" endTime="418517" duration="395195">

If you use a HDD run the optimization I linked in the first post and look if this improves it. And xbootmgr doesn't tell you why it only boots while docked. I can only see why it is slow and how to solve the slowness.


I'll try to upload when I have access to a better internet connection.

xbootmgr doesnt point out WHY an issue is happening, but CAN IT show a place in the Boot sequence where the system Locks up for a longer time.. and even fails?

Is there no way to trace where/ which driver/ file/ function is where a windows boot / shurtdown errors out? esp a Failed Bootup

#453
AllanFreelancer

AllanFreelancer

    Newbie

  • Member
  • 21 posts
  • Joined 08-October 11
  • OS:Windows 7 x64
  • Country: Country Flag

the shutdown is slow because you enabled the option to clear the pagefile at shutdown.

<interval name="ZeroHiberFile" startTime="19593" endTime="48958" duration="29365" /> 

Change the data value of the ClearPageFileAtShutdown value in the following registry key to 0 under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

The boot trace is incomplete.

Add -postBootDelay 300 to the command line of the boot trace. This captures 500s after boot. Compress the ETL as 7z (ULTRA, LZMA2) and upload it.


Hi again MagicAndre,

I followed your instructions on the shutdown recomendations and now it is faster

now with the boot report here it is the link to download it http://www.megaupload.com/?d=N5US3XQH

I appreciate your help in advance.

kind regards,
AllanFreelancer

#454
panolis

panolis

    Newbie

  • Member
  • 16 posts
  • Joined 30-September 11
  • OS:Windows 7 x64
  • Country: Country Flag
3ware 9650SE-8LPML causes EventID 41 (Kernel Power) when system hibernates

I have no idea. This is something for the Microsoft support.


At first: thank you for the hint with the hotfixes. KB2505454 solved the problem with the boot delay. :)

In the last few days I did some research about the kernel power error in the system log, when I try to hibernate the system. I organized an identical asrock mainboard, a second one from asus and a cpu for the case that there were some hardware problems. Then I tried a clean install with an ordinary 500 gb hard disk connected to a SATA port of the mainboard. Disabled windows update after install, added all the drivers for the mainboard and tested standby and hibernation. Both worked fine. After installing the 3ware driver the boot delay came up. KB2505454 fixed it. Standby and hibernation still worked fine. After that I decided to make a clean install with the SSD Raid Volume, disabled windows update and installed KB2505454. Standby works, hibernation did not whatever driver version I used:

- System 
  - Provider 
   [ Name]  Microsoft-Windows-Kernel-Power 
   [ Guid]  {331C3B3A-2005-44C2-AC5E-77220C37D6B4} 
   EventID 41 
   Version 2 
   Level 1 
   Task 63 
   Opcode 0 
   Keywords 0x8000000000000002 
  - TimeCreated 
   [ SystemTime]  2011-10-03T17:03:00.409213900Z 
    EventRecordID 330779 
    Correlation 
   - Execution 
   [ ProcessID]  4 
   [ ThreadID]  8 
   Channel System 
    Computer XYZ 
   - Security 
   [ UserID]  S-1-5-18 

- EventData 
  BugcheckCode 0 
  BugcheckParameter1 0x0 
  BugcheckParameter2 0x0 
  BugcheckParameter3 0x0 
  BugcheckParameter4 0x0 
  SleepInProgress true 
  PowerButtonTimestamp 0 

Before changing the mainboard in my system I remembered that there is one additional system with an Fujitsu Mainboard and a 2 port 3ware Controller (9650SE-2LP). It has Windows Server 2008 R2 Standard installed. I activated the hibernation mode at the command line with powercfg -h on, rebooted and tried to sitch to hibernation mode with rundll32.exe powrprof.dll,SetSuspendState at the command line. Same result as above.


Today I submitted a support request at LSI.

#455
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

xbootmgr doesnt point out WHY an issue is happening, but CAN IT show a place in the Boot sequence where the system Locks up for a longer time.. and even fails?

Is there no way to trace where/ which driver/ file/ function is where a windows boot / shutdown errors out? esp a Failed Bootup


xbootmgr shows why boot is slow, but not why boot failed.

now with the boot report here it is the link to download it http://www.megaupload.com/?d=N5US3XQH


the trace is still incomplete, but I can see that Avast is terrible slow (29s to start the service). primvirlaux hat the same slowdown with Avast. Do you use a Beta version? I can't information about version 6.0.1325 only 6.0.1289. Remove Avast and try other alternatives. Also set the FontCache3.0.0.0 service to "on demand" because this service causes 5s hang of the boot (you can see this in the picture, too). Do you need the Yota Access Service (Modems) service? if not, disable the service, too. this one takes 3s to start. The largest delay is caused by the Windows Search service. How large is your index? Try to rebuild the index and remove folders from the index.

What I can also see is a not correctly trained Prefetcher (you see a lot of cache misses (black)):

Attached File  Zwischenablage02.png   62.18KB   7 downloads

Run the optimization I linked in the first post. After doing the steps your Windows runs much faster.

3ware 9650SE-8LPML causes EventID 41 (Kernel Power) when system hibernates


ok, I thought the same, but I can't prove this idea. controllers (IDE, SATA, SCSI) and their drivers can often cause crashes and failures. Nice to hear that you figured this out. Maybe other users read this too and find the cause of their issue :)

Edited by MagicAndre1981, 10 October 2011 - 06:42 AM.

Posted Image

#456
AllanFreelancer

AllanFreelancer

    Newbie

  • Member
  • 21 posts
  • Joined 08-October 11
  • OS:Windows 7 x64
  • Country: Country Flag

now with the boot report here it is the link to download it http://www.megaupload.com/?d=N5US3XQH


the trace is still incomplete, but I can see that Avast is terrible slow (29s to start the service). primvirlaux hat the same slowdown with Avast. Do you use a Beta version? I can't information about version 6.0.1325 only 6.0.1289. Remove Avast and try other alternatives. Also set the FontCache3.0.0.0 service to "on demand" because this service causes 5s hang of the boot (you can see this in the picture, too). Do you need the Yota Access Service (Modems) service? if not, disable the service, too. this one takes 3s to start. The largest delay is caused by the Windows Search service. How large is your index? Try to rebuild the index and remove folders from the index.

What I can also see is a not correctly trained Prefetcher (you see a lot of cache misses (black)):

Attached File  Zwischenablage02.png   62.18KB   7 downloads

Run the optimization I linked in the first post. After doing the steps your Windows runs much faster.


Hi again MagicAndre,

here it is again the new boot report http://www.megaupload.com/?d=WNKRUJKD, I did your recomendations I changed my Avast Internet Security to Panda Cloud Antivirus Free and PC Tools as a firewall

after I did the optimization the system runs much faster as you told me, but with no antivirus installed yet, after that I installed the security programs as I mentioned before, but again my system is still slow at the boot time

Soluto software tells me that my system took 2.23 min to boot., so please analyze the report that I sent you and I'll be here waiting for your response.

By the way, I've no idea how to put the FontCache3.0.0.0 service to "on demand", could you please oriented me on this???

kind regards,
Allan

Edited by AllanFreelancer, 10 October 2011 - 09:41 PM.


#457
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

the trace was not successful. You only gave me the 2 temporary files. They are useless on my PC. Run the command with the -postBootDelay 300 parameter and let the countdown tick to 0 and don't press finish to interrupt this.

Start the service MMC snapin (services.msc) look for "Windows Presentation Foundation-Fontcache 3.0.0.0", double click it and set the start type to disabled. The service is only needed for WPF apps, but most tools don't use this.
Posted Image

#458
AllanFreelancer

AllanFreelancer

    Newbie

  • Member
  • 21 posts
  • Joined 08-October 11
  • OS:Windows 7 x64
  • Country: Country Flag

the trace was not successful. You only gave me the 2 temporary files. They are useless on my PC. Run the command with the -postBootDelay 300 parameter and let the countdown tick to 0 and don't press finish to interrupt this.

Start the service MMC snapin (services.msc) look for "Windows Presentation Foundation-Fontcache 3.0.0.0", double click it and set the start type to disabled. The service is only needed for WPF apps, but most tools don't use this.


Hi MagicAndre,

the process send me an error and attached is the screen capture, I tried three times and nothing successful, but here are the reports anyway.

http://www.megaupload.com/?d=JNTJAZFZ

kind regards,
Allan

Attached Files



#459
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

install the 3 hotfixes from here:

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

reboot and try again.
Posted Image

#460
AllanFreelancer

AllanFreelancer

    Newbie

  • Member
  • 21 posts
  • Joined 08-October 11
  • OS:Windows 7 x64
  • Country: Country Flag

install the 3 hotfixes from here:

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

reboot and try again.


Hi MagicAndre,

I already installed those three hotfixes, now how can I do???

I mean, they were installed one week before

kind regards,
Allan

Edited by AllanFreelancer, 12 October 2011 - 02:28 AM.


#461
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

Remove the WPT 4.6 and install version 4.8 from the Windows SDK for Windows 7 ad .Net Framework 4.0 and try it again.
Posted Image

#462
SonofNun

SonofNun

    Newbie

  • Member
  • 25 posts
  • Joined 13-October 11
  • OS:Windows 7 x64
  • Country: Country Flag
Hi, I'm new here. I was recommended here by someone from a Lenovo Forum. Ever since I installed Visual Studio 2010, my boot time went from ~45 seconds, to ~2 minutes and 30 seconds.

So I followed the instructions in the post, but could you help me decipher it?

Attached File  summary_boot.xml   112.29KB   4 downloads

Thanks,
SonofNun

#463
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

YOu Windows needs 2minutes to boot to the desktop and 2m59s to be booted completely

timing bootDoneViaExplorer="123681" bootDoneViaPostBoot="189181"

The .Net 3.0 Font Cache service also hangs for you. It takes 21s to start the service. The service TPHKSVC takes 8 s. The jhi_service, takes21 and the MSSQL Server Express takes 36s to start. I set the starttype of SQL Server to "manual/on demand" and start it if I need it in VS. So look if you need all the services.

If you use a HDD (no SSD), check the link in my first post and install the hotfixes for Windows 7 and run the optimization.

If this doesn't improve the boot, make a new trace and upload it.
Posted Image

#464
AllanFreelancer

AllanFreelancer

    Newbie

  • Member
  • 21 posts
  • Joined 08-October 11
  • OS:Windows 7 x64
  • Country: Country Flag

Remove the WPT 4.6 and install version 4.8 from the Windows SDK for Windows 7 ad .Net Framework 4.0 and try it again.


Hi again MagicAndre,

same error as always with WPT 4.8 as you recommended me.

hrere it is an image capture of it.

Attached File  same error report.png   52.96KB   6 downloads

and after installed the new version of WPT 4.8 I decided to optimize again the boot and it needed 55 mins to completly boot, but after a few reboots

Soluto software tells me that the last boot needed 3.17 mins to completley boot.

Attached File  14-10-2011 06-59-04 a-m-.png   65.58KB   10 downloads


kind regards,
Allan

Edited by AllanFreelancer, 14 October 2011 - 07:00 AM.


#465
SonofNun

SonofNun

    Newbie

  • Member
  • 25 posts
  • Joined 13-October 11
  • OS:Windows 7 x64
  • Country: Country Flag
Thanks for the help. After changing some services and installing the three hotfixes, my boot time is down to ~1min 20sec. Which is nice, but I would like to get it lower if possible.

Here is the xml file after all my tweaking:
Attached File  summary_boot.xml   108.01KB   4 downloads

Right now I am using Ultimate Defrag 3 to defragment my HDD.

Also, I thought I would provide a little info about my laptop.

2nd Gen Intel Core i5 2.3Ghz
4gb ram
320gb 7200 RPM HDD


Thanks agian,
SonofNun

#466
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

use the internal defrag tool. Run the optimization and if this doesn't improve the speed upload the compressed ETL file.

@AllanFreelancer

what is the starttype of the superfetch service?
Posted Image

#467
SonofNun

SonofNun

    Newbie

  • Member
  • 25 posts
  • Joined 13-October 11
  • OS:Windows 7 x64
  • Country: Country Flag

use the internal defrag tool. Run the optimization and if this doesn't improve the speed upload the compressed ETL file.


Internal defrag tool? You mean the one that comes with Windows 7? After Using Ultimate Defrag 3, my HDD is now 0% fragmented. Even Window says so.

Thanks,
SonofNun

[Edit]

Here is my most current Boot trace:
http://dl.dropbox.co...ERS+POWER_1.etl

Thanks again.

Edited by SonofNun, 15 October 2011 - 11:38 AM.


#468
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

yes, I mean the Windows included defrag tool. The prefetcher is broken, you have too many cache misses.

The service UleadBurningHelper takes 6s, service PwmEWSvc takes 6.5s, the SUService takes 4.5s to start. If you don't need both, disable them. Service UNS hangs completely. Also why do you need the SQLWriter service? Why have you installed SQL Server?

Also do you need all of the Lenovo tools? Check if you can stop some.

The Defrag tool places the files so terrible on the HDD, that the HDD is totally busy. Don't use such crap tools. Remove the tool and check the optimization topic I linked in the first post. Install the hotfixes and run the command I provided. If this doesn't fix it, remove Norton360 and use a different AV tool. Norton is really slow.
Posted Image

#469
SonofNun

SonofNun

    Newbie

  • Member
  • 25 posts
  • Joined 13-October 11
  • OS:Windows 7 x64
  • Country: Country Flag

yes, I mean the Windows included defrag tool. The prefetcher is broken, you have too many cache misses.

The service UleadBurningHelper takes 6s, service PwmEWSvc takes 6.5s, the SUService takes 4.5s to start. If you don't need both, disable them. Service UNS hangs completely. Also why do you need the SQLWriter service? Why have you installed SQL Server?

Also do you need all of the Lenovo tools? Check if you can stop some.

The Defrag tool places the files so terrible on the HDD, that the HDD is totally busy. Don't use such crap tools. Remove the tool and check the optimization topic I linked in the first post. Install the hotfixes and run the command I provided. If this doesn't fix it, remove Norton360 and use a different AV tool. Norton is really slow.



I don't know where Ulead came from, maybe Corel DVD movie factory? Either way, I don't use it so I'll remove it. I'll probably get rid of the Thinkvantage updater, but I like the Lenovo Power management, so I will probably just deal with that. What is the "Service UNS"? Do I need it? SQL Server installed when I installed Visual Studio 2010 (I take programming classes at my university). I don't need it, I don't get why it even affects the boot. I'll get rid of the Lenovo tools that I don't need.

Sorry about the defrag tool. I don't usually install things like that, but I was "tricked" into believing that it would do a better job than windows would. Though when I think about it, if I allowed Windows to do it, it would know best where things are and should be. When I installed the three hotfixes, I thought that the cmd line that you gave was specific only to Vista, so I'll give that a shot.

What do you suggest for an AV tool. Ever since version 4 of norton 360, I have been pleased with the performance. But if you say so . . . What do you think of Microsoft security essentials?

Thanks again for all your help,
SonofNun

#470
AllanFreelancer

AllanFreelancer

    Newbie

  • Member
  • 21 posts
  • Joined 08-October 11
  • OS:Windows 7 x64
  • Country: Country Flag

use the internal defrag tool. Run the optimization and if this doesn't improve the speed upload the compressed ETL file.

@AllanFreelancer

what is the starttype of the superfetch service?



Sorry to reply late MagicAndre,

these days I was very busy working, but here it is a screen capture of the Superfetch service

Attached File  superfetch.png   45.48KB   4 downloads

which according to the image you see that is set to "Automatically" I'm not sure if this is right as it is,

so you are the expert, please give me your opinion about it.

Also here it is the command line that I put on the Windows SDK command prompt

xbootmgr -trace boot -postBootDelay 300 -traceFlags BASE+CSWITCH+POWER -resultPath C:\TEMP

kind regards,
Allan

Edited by AllanFreelancer, 15 October 2011 - 03:07 PM.


#471
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

@SonofNun

disable the SQLWriter service and do the other tips and run the optimization. This should really help. Reply again if this makes Windows faster.

@Allan

try this:

http://social.msdn.m...d6-e466c07e1a2f
Posted Image

#472
SonofNun

SonofNun

    Newbie

  • Member
  • 25 posts
  • Joined 13-October 11
  • OS:Windows 7 x64
  • Country: Country Flag
After doing those things and ditching Norton for Microsoft Security Essentials, my boot time is now around 1 minute. I still would like to get it less if possible, but if not I will be satisfied with a minute.

#473
AllanFreelancer

AllanFreelancer

    Newbie

  • Member
  • 21 posts
  • Joined 08-October 11
  • OS:Windows 7 x64
  • Country: Country Flag

@SonofNun

disable the SQLWriter service and do the other tips and run the optimization. This should really help. Reply again if this makes Windows faster.

@Allan

try this:

http://social.msdn.m...d6-e466c07e1a2f


Hi MagicAndre,

I think this time everything is ok and the files report as well, since no error pop up was found.

and here is the link with the files report http://www.megaupload.com/?d=7IKC1XA0

I'm not sure if the report is complete, but you tell me please

kind regards,
Allan

#474
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

After doing those things and ditching Norton for Microsoft Security Essentials, my boot time is now around 1 minute. I still would like to get it less if possible, but if not I will be satisfied with a minute.


can you give me the latest trace so tjhat I can look at it?

and here is the link with the files report http://www.megaupload.com/?d=7IKC1XA0


The Nanoservice hangs for 49s. What is this? Do you need it? If not stop it.

Also uninstall this SuperRAM tool, do you need this Advanced SystemCare and PC Tools? "PC tools" often causes issues and crashes and you are already running the Windows firewall. The PC tools damages the prefetcher completely. This generates the cache misses and slows down the boot. Also don't use a different defrag tool. Uninstall Perfect Disk and ONLY use the Windows integrated defrag tool. Also uninstall Soluto, only trust xbootmgr and not such an tool. Also uninstall C:\Program Files (x86)\PGWARE\PCBoost\PCBoost.exe. This is all crap.

Uninstall all those snakeoil tools and only use your Panda AV and the Windows firewall. This is enough. After removing all tools run the optimization again.
Posted Image

#475
SonofNun

SonofNun

    Newbie

  • Member
  • 25 posts
  • Joined 13-October 11
  • OS:Windows 7 x64
  • Country: Country Flag

can you give me the latest trace so tjhat I can look at it?


For some reason, I am getting the following error:
Attached File  error.png   29.56KB   2 downloads





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

3 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users


    Google (1)