• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
MagicAndre1981

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

1,275 posts in this topic

loading the profile is slow.

post-70718-0-81423000-1374520765_thumb.p

0

Share this post


Link to post
Share on other sites

Is there a way to find out what in the profile is taking so long to load?

0

Share this post


Link to post
Share on other sites

I ran Process Monitor with Boot Logging enabled. There are 5 processes that take over 45 seconds to run. The ones that really concern me at the lsass.exe processes. Looking through the other link, I don't see anything that applies to me. Any idea as to why those processes would be taking so long?

post-323876-0-76101000-1374587857_thumb.

0

Share this post


Link to post
Share on other sites

I have no idea.

0

Share this post


Link to post
Share on other sites

On one boot today I got this

Background optimizations (prefetching) took longer to complete, resulting in a performance degradation in the system start up process:
Name : BackgroundPrefetchTime
Total Time : 39702ms
Degradation Time : 36964ms
Incident Time (UTC) : ‎2013‎-‎07‎-‎31T10:16:45.765200400Z

but the boot time was not unusual (sometime it takes 49s, other times around 69s), which doesn't seem to make much sense if this task took 39s, which was an degradation of 36s. Should I just ignore this task in future?

Windows has started up:
Boot Duration : 59575ms
IsDegradation : false
Incident Time (UTC) : ‎2013‎-‎07‎-‎31T10:16:45.765200400Z

Both these events were logged at 11:19:03, so I'm not sure what the Incident Time is referring to.

0

Share this post


Link to post
Share on other sites

because there is no proper documentation about the Eventlog entries, I can't comment the data. I only trust the ETL files.

0

Share this post


Link to post
Share on other sites

Hmm, it's crept up from 41s to 122s, (next boot 98s) now! I disabled most startup apps and now it's 81s but I still think that's too high. Obviously having apps loading is going to increase it from 41s without any loading but I shouldn't think it should triple!

I installed Comodo Firewall again yesterday so did the "xbootmgr -trace boot -prepSystem -verboseReadyBoot" after that but the 122s was immediately following that.

If you could check the boot trace for me I'd be grateful.

https://docs.google.com/file/d/0B1fDI89phEESTVU3YzZQWTNrRXc/edit?usp=sharing

0

Share this post


Link to post
Share on other sites

again the disk is busy and TVservice is slow to start. And you still haven't installed the performance updates.

0

Share this post


Link to post
Share on other sites

again the disk is busy and TVservice is slow to start. And you still haven't installed the performance updates.

Sure but it's the same disk that booted in 43s before and people have been booting from HDD for ages before SSD became popular and we were able to minimise boot times still, so I don't think the fact I'm using a HDD is the problem.

I'll check it with the TVservice disabled though to see how much that's adding and try the performance updates (after making a backup) although they're quite old aren't they, from 2011, so you'd think if they were that important they'd have been included in Windows Update by now.

0

Share this post


Link to post
Share on other sites

I moved my HDD to a SATAIII port to see if that would help.

I also disabled the TVService to test but strangely, I had a boot of 67s before doing this, then the next boot it was 84s and then 72s.

I've uploaded the traces for both (with TVService is _1.zip, without is _2.zip) along with the extracted summaries, if you take a look and see how they compare to previously please.

boot_BASE+CSWITCH+POWER_1.zip https://docs.google.com/file/d/0B1fDI89phEESOC1hVklTRVg1bFk/edit?usp=sharing

summary_boot (TVService).xml https://docs.google.com/file/d/0B1fDI89phEESNmc1QzVQN0daVGM/edit?usp=sharing

boot_BASE+CSWITCH+POWER_2.zip https://docs.google.com/file/d/0B1fDI89phEESRU91RHhWZE5IWGs/edit?usp=sharing

summary_boot2 (No TVService).xml https://docs.google.com/file/d/0B1fDI89phEESNmJsR1FaeldKY0E/edit?usp=sharing

0

Share this post


Link to post
Share on other sites

your post boot (running all tools at startup) is the issue because the HDD is again busy. I don't know how often I should repeat this again.

0

Share this post


Link to post
Share on other sites

As I've said before, I have barely anything running at startup, so that can't be the issue.

0

Share this post


Link to post
Share on other sites

you run a lot tools like NFS server, TeamViewer, RAMDisk, COMODO, MySQL Server at boot ;)

0

Share this post


Link to post
Share on other sites

you run a lot tools like NFS server, TeamViewer, RAMDisk, COMODO, MySQL Server at boot ;)

Ah, well they're running as services, hence my confusion ;)

Anyway, I looked at the xml and as far as I can tell, none of those are taking a long time to load but I don't pretend to understand how to interpret the summary properly so maybe I've misunderstood something. Does it show that any of those are causing delays?

0

Share this post


Link to post
Share on other sites

Well I did some more tests.

Starting with a boot time of 72s

0. Disabled Services: dnscrypt-proxy, MCEBuddy, NFS Server, No-IP DUC, SunRPC Portmap Daemon, TV Service - 67s

1. Disabled Classic Shell, LP Installer: 50s


2. Re-enabled Classic Shell - 56s

3. Re-enabled LP Installer: 52s


4. Re-enabled Services: dnscrypt-proxy, NFS Server, No-IP DUC, SunRPC Portmap Daemon - 52s

5. Re-enabled MCEBuddy - 62s


6. Disabled MCE Buddy, enabled DVDFab Passkey, Jitsi, Peerblock - 74s

7. Installed Avira Antivir - 140s

8. Ran verboseReadyBoot again - 130s

The numbers correspond to the summaries and zipped ETLs I've uploaded here: https://drive.google.com/folderview?id=0B1fDI89phEESMGdyUTl3a2pIaEU&usp=sharing

Clearly Avira Antivir is a big problem, so I might try uninstalling that and installing Avast again, as I did record a boot with that installed of only 53s.

EDIT: Yep, with Avast instead, after doing verboseReadyBoot again it's back down to 90s, which is reasonable. It's going to go up when I re-enable TVService and MPExtended but they just take a long while to start and it can't be helped, so I think this is about as good as I can expect.

Edited by doveman
0

Share this post


Link to post
Share on other sites

Hi!

Can you please have a look at this ETL :) I don't know how to read through it

I think I did every thing correctly (had to remove DRIVERS as it gave me a blue screen)

Edited by tony10987
0

Share this post


Link to post
Share on other sites

your Windows boots in 26s to the desktop and is fully booted in 50s:

- <timing bootDoneViaExplorer="26505" bootDoneViaPostBoot="59905" 

check if you need all those Lenovo tools at startup. Also try if disabling Kasperslky makes Windows faster (Kaspersky cause a lot of disk IO).

0

Share this post


Link to post
Share on other sites

your Windows boots in 26s to the desktop and is fully booted in 50s:

- <timing bootDoneViaExplorer="26505" bootDoneViaPostBoot="59905" 

check if you need all those Lenovo tools at startup. Also try if disabling Kasperslky makes Windows faster (Kaspersky cause a lot of disk IO).

Thanks!

Indeed, Kaspersky slows windows a LOT, but I can't find any better anti virus. However, it has a "postponed start up" option which helps gain a few seconds.

How do you create the XML from the etl? and where is the files saved? I've tried running the command but couldn't see any xml file.

Edited by tony10987
0

Share this post


Link to post
Share on other sites

the trace is saved in C:\temp. Open a cmd there and run the command I posted in the first post to generate the XML.

0

Share this post


Link to post
Share on other sites

I upgraded my hdd to a hybrid SSD and rebuilt my system and ever since resuming from hibernation has been horrible taking up to 2 min. However, booting takes ~20 seconds consistently.

I ran the performance tool and not really knowing what I'm looking for I can't see anything at first scan that seems obviously wrong.

Here is a link of my etl file for review:

https://dl.dropboxusercontent.com/u/5698994/hibernate_BASE%2BCSWITCH%2BDRIVERS%2BPOWER_1.zip

Any help would be greatly appreciated!

Thanks,

Jesse

0

Share this post


Link to post
Share on other sites

reading the hibernation file is slow:

hiberpageswritten="207248" hiberread="91739000" resume="2803000">

that are 91s. Disable hibernation, defrag the HDD and enable hibernation again. Does this improve it?

0

Share this post


Link to post
Share on other sites

This was a fresh install of windows. However, I tried your suggestion, de-fragmented my hd, rebooted and then tested going into hibernation, things are still slow. I next totally disabled hibernation and rebooted, re-enabled hibernation and tested, the restart from hibernation was still slow.

Thanks for any help

0

Share this post


Link to post
Share on other sites

update the firmware of the HDD and look if this improves it.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.