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

#1001
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,027 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

loading the profile is slow.

 

Attached File  winlogon.png   325.73KB   1 downloads


Posted Image


How to remove advertisement from MSFN

#1002
kevin79

kevin79

    Newbie

  • Member
  • 11 posts
  • Joined 10-May 11
  • OS:Windows 7 x64
  • Country: Country Flag

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



#1003
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,027 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

http://social.techne...ogons-sbsl.aspx

 

You can alos try to do a bootlogging of ProcessMonitor:

 

i4x1H.png

http://superuser.com...e-logon-process


Posted Image

#1004
kevin79

kevin79

    Newbie

  • Member
  • 11 posts
  • Joined 10-May 11
  • OS:Windows 7 x64
  • Country: Country Flag

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?

Attached Files



#1005
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,027 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

I have no idea.


Posted Image

#1006
doveman

doveman

    Advanced Member

  • Member
  • PipPipPip
  • 383 posts
  • Joined 22-August 05

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.



#1007
doveman

doveman

    Advanced Member

  • Member
  • PipPipPip
  • 383 posts
  • Joined 22-August 05

the Resource Monitor shows the disk queue:

http://www.techrepub...ge-performance/

 

For me it just seems stuck on 0.01 or 1 whatever the graph is doing and even if it showed something useful, there's no logging or way to correleate the disk queue with what is happening at that moment on the system.



#1008
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,027 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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


Posted Image

#1009
doveman

doveman

    Advanced Member

  • Member
  • PipPipPip
  • 383 posts
  • Joined 22-August 05

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....dit?usp=sharing



#1010
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,027 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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


Posted Image

#1011
doveman

doveman

    Advanced Member

  • Member
  • PipPipPip
  • 383 posts
  • Joined 22-August 05

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.



#1012
doveman

doveman

    Advanced Member

  • Member
  • PipPipPip
  • 383 posts
  • Joined 22-August 05

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....dit?usp=sharing

 

summary_boot (TVService).xml https://docs.google....dit?usp=sharing

 

boot_BASE+CSWITCH+POWER_2.zip https://docs.google....dit?usp=sharing

 

summary_boot2 (No TVService).xml https://docs.google....dit?usp=sharing



#1013
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,027 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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.


Posted Image

#1014
doveman

doveman

    Advanced Member

  • Member
  • PipPipPip
  • 383 posts
  • Joined 22-August 05

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



#1015
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,027 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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


Posted Image

#1016
doveman

doveman

    Advanced Member

  • Member
  • PipPipPip
  • 383 posts
  • Joined 22-August 05

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?



#1017
doveman

doveman

    Advanced Member

  • Member
  • PipPipPip
  • 383 posts
  • Joined 22-August 05

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...aEU&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, 07 August 2013 - 09:29 AM.


#1018
tony10987

tony10987
  • Member
  • 2 posts
  • Joined 19-August 13
  • OS:Windows 7 x64
  • Country: Country Flag

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, 21 August 2013 - 03:26 AM.


#1019
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,027 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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


Posted Image

#1020
tony10987

tony10987
  • Member
  • 2 posts
  • Joined 19-August 13
  • OS:Windows 7 x64
  • Country: Country Flag

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, 21 August 2013 - 03:26 AM.


#1021
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,027 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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.


Posted Image

#1022
harakiro

harakiro
  • Member
  • 3 posts
  • Joined 08-September 13
  • OS:Windows 7 x64
  • Country: Country Flag

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.dropboxus...ERS+POWER_1.zip

 

Any help would be greatly appreciated!

 

Thanks,

Jesse



#1023
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,027 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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?


Posted Image

#1024
harakiro

harakiro
  • Member
  • 3 posts
  • Joined 08-September 13
  • OS:Windows 7 x64
  • Country: Country Flag

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



#1025
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,027 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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


Posted Image





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

3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users



How to remove advertisement from MSFN