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 why Windows 8 boots, shutsdown or hibernates slowly

bootvis Performance Boot slow

  • Please log in to reply
364 replies to this topic

#176
Aloha

Aloha

    Senior Member

  • Member
  • PipPipPipPip
  • 542 posts
  • Joined 07-February 08
  • OS:none specified
  • Country: Country Flag
Andre,
Isn't that RP already expired in January 2013?


How to remove advertisement from MSFN

#177
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

yes, I only wrote that I had the issue, too with one of the pre-Release versions.
Posted Image

#178
Aloha

Aloha

    Senior Member

  • Member
  • PipPipPipPip
  • 542 posts
  • Joined 07-February 08
  • OS:none specified
  • Country: Country Flag
In the other topic, I see someone is still using CP. It's older than RP. Why it doesn't expire yet?

#179
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

the version have expired. But you can use them for 1 or 2 hours before they crash.
Posted Image

#180
galskab

galskab
  • Member
  • 3 posts
  • Joined 25-June 13
  • OS:Windows 8 x64
  • Country: Country Flag
Hi, my laptop takes over 3 minutes to boot suddenly. Attached xml file.

etl file:
Attached File  system.png   84.7KB   7 downloads

Attached Files



#181
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

I need the ETL file. But I see a lot of CPU usage. You need to run a different command:

xbootmgr -trace boot -traceFlags BASE+CSWITCH+DRIVERS+POWER -stackwalk profile

Posted Image

#182
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

ok, Windows hangs while loading the registry hives:

ntkrnlmp.exe!CmpInitializeHive
ntkrnlmp.exe!CmpDoFindSubKeyByNumber

this time run this:
xbootmgr -trace boot -traceFlags BASE+CSWITCH+POWER+REG_HIVE+REGISTRY  -stackwalk profile+RegHiveInit+RegHiveDestroy+RegHiveLink+RegHiveDirty+RegQueryKey+RegEnumerateKey+RegEnumerateValueKey+RegDeleteKey+RegCreateKey+RegOpenKey

this traces Registry activity, too. And please,compress the file as 7z (LZMA2 with ULTRA compression ratio to reduce the filesize!) before uploading it.
Posted Image

#183
galskab

galskab
  • Member
  • 3 posts
  • Joined 25-June 13
  • OS:Windows 8 x64
  • Country: Country Flag
Thank you, sent you another PM. :)

#184
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

how large is the registry file SOFTWARE under C:\Windows\System32\config? Opening some keys takes some time.
Posted Image

#185
galskab

galskab
  • Member
  • 3 posts
  • Joined 25-June 13
  • OS:Windows 8 x64
  • Country: Country Flag

how large is the registry file SOFTWARE under C:\Windows\System32\config? Opening some keys takes some time.

~680 000 KB :)

The second largest file is COMPONENTS, which is ~36 000 KB.

#186
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

oh, I forgot your topic.

This is bad. Run RU (registry usage) from Sysinternals to see which key is soo large:

http://technet.micro...s/dn194428.aspx

ru -ct -v HKEY_LOCAL_MACHINE\SOFTWARE > D:\reg2.csv

now open the CSV and look which keys are the largest in size.

Edited by MagicAndre1981, 01 July 2013 - 10:53 PM.

Posted Image

#187
ElvenSpellmaker

ElvenSpellmaker
  • Member
  • 8 posts
  • Joined 03-March 13
  • OS:Windows 7 x64
  • Country: Country Flag

Hi there,

 

My Windows 8 loads really slowly and behaves generally terribly.

 

I have for ages checked the task manager and it often says things like 1.5MB/s - 100% Disk usage, which seems totally wrong...

The task manager is another thing that's slow, if I ask for it, it takes about a minute to appear and if I use CTRL+SHIFT+ESC multiple times, when it decides to show itself it shows two copies of the task manager, one full mode and one the stripped down mode...

 

I have tried to do the boot analysis as a beginning point to see what is going on and I get errors when I try to process the two ETL files that appear:

Using cmd as an Admin, I get the following output when I try to process the files into XML:

C:\temp>xperf /tti -i boot_BASE+CSWITCH+DRIVERS+POWER_1_km_premerge.etl -o summary_boot.xml -a boot
[1/2]    100.0%
[2/2]    100.0%
Execute: boot [0x80004005]

C:\temp>xperf /tti -i boot_BASE+CSWITCH+DRIVERS+POWER_1_um_premerge.etl -o summary_boot_um.xml -a boot
[1/2]    100.0%
[2/2][-]   0.1%
warning: EventSink {08bf3547-4cf4-4f28-9ea7-95267fb97af6} signaled an Invalid Event:
         Event#: 726252   (T#0:#726252)
         TimeStamp:  341361587, Process: 2172, Thread: 3292, Cpu:   2
         ProviderId: {30336ed4-e327-447c-9de0-51b652c86108}
         EventDescriptor: 0x2581 0x2581 0x01   0x00    0x10    0x04  0x8000000004010000
         UserDataLength: 0
[2/2]    100.0%
Execute: boot [0x8000ffff]

Then the generated XML files say:

 

For "boot_BASE+CSWITCH+DRIVERS+POWER_1_km_premerge.etl", the XML file has the following error: "Boot action failed: Could not locate ExplorerReady event or mark.".

For "boot_BASE+CSWITCH+DRIVERS+POWER_1_um_premerge.etl", the XML file has the following error: "Boot action failed: No disk IOs found.".

 

Any help would be much appreciated, thanks. =)



#188
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

this happens when not all data are captured. Looks like you have a HDD issue. Scan your HDD with a disk diag tool from the manufacture.


Posted Image

#189
pmania

pmania
  • Member
  • 1 posts
  • Joined 09-August 13
  • OS:Windows 8 x64
  • Country: Country Flag

I have dual boot Windows 8 and 8.1 and it is slow till it reaches desktop, it waits 3-4 minutes at the dual boot screen not much activity it seems. And suddenly some disk activity and second monitor goes power on.

I have removed the hibernate file with powercfg command. Maybe I should put it back, but I only have 4-5 gig free space left after installing Windows 8 SDK and the Windows Assessment and Deployment Kit. I installed all the stuff on the C:-drive. I also don't know how to check which boot mode I use the fast startup or hybrid boot, don't know how to check this. I am going to read some more about this.

 

I did a powercfg /h on

 

 

Attached Files


Edited by pmania, 09 August 2013 - 08:10 AM.


#190
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

PreSessionInit is slow:

<interval name="PreSMSS" startTime="0" endTime="242215" duration="242215">

I need the ETL file to see why this takes so long.


Posted Image

#191
Loers

Loers
  • Member
  • 4 posts
  • Joined 21-August 13
  • OS:Windows 8 x64
  • Country: Country Flag

Please help me, my laptop which has Windows 8 takes 140 seconds to shutdown , I just did a "recover to factory image" 2 weeks ago, everything was ok.

but now suddenyl the shutdown takes so long!

 

I tried a lot of things like enabling/disabling "Fast Startup" and enabling/disabling hibernate

(and by the way a hibernate takes the exact same duration 140 seconds) 

Also I did a pure system shutdown from CMD using "shutdown /s /t 0" to avoid hybrid shutdown.

bu all these steps did nothing and the shut down time is as it is 140 seconds.

The "WaitToKillServiceTimeout" is set to 5000ms (tried changing it to 3000ms and nothing changed)

Also the "ClearPageFileAtShutdown" is set to 0

 

I uplodad the .etl file and the .xml log here

http://www.mediafire...mbfak0/logs.zip

I noticed that the shutdwon time in the log is "70060" not 140000 or even around it , also the "NtShutdownSystem" is taking  65270!!

Thanks in advance :)



#192
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

the trace doesn't sow me why the kernel takes so much time to shutdown. Run this command instead:

xbootmgr –trace boot -traceFlags BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER+POWER+PRIORITY+REGISTRY -stackwalk profile+CSwitch+ReadyThread -resultPath C:\TEMP

Posted Image

#193
Loers

Loers
  • Member
  • 4 posts
  • Joined 21-August 13
  • OS:Windows 8 x64
  • Country: Country Flag

here is the ETL file it also genereated a CAB file
http://www.mediafire...6f0lto/log2.zip
I couldn't genereate the xml the command generates 0 kb xml file


Edited by Loers, 22 August 2013 - 04:17 AM.


#194
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

*do'h*

 

I posted a boot command, not shutdown. Sorry. Try this:

xbootmgr -trace shutdown -noPrepReboot -traceFlags BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER+POWER+PRIORITY+REGISTRY -stackwalk profile+CSwitch+ReadyThread -resultPath C:\TEMP

Posted Image

#195
Loers

Loers
  • Member
  • 4 posts
  • Joined 21-August 13
  • OS:Windows 8 x64
  • Country: Country Flag

Here it is :)
http://www.mediafire...vgr3b31ix/c.zip



#196
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

please update the driver RtsUVStor.sys (Realtek USB card reader driver) and look if this fixes it. I can see this causes a wait.


Posted Image

#197
Loers

Loers
  • Member
  • 4 posts
  • Joined 21-August 13
  • OS:Windows 8 x64
  • Country: Country Flag

There was an empty micro SD adapter in the SD slot, I just removed it and it is solve :D , now it shuts down in 10 seconds

Thanks a lot man :D



#198
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

ok, Windows waited for completion, but with an empty adapter this timed out and causes the delay.

 

nice to hear that you fixed it :)


Posted Image

#199
arman65

arman65
  • Member
  • 1 posts
  • Joined 27-August 13
  • OS:Windows 8 x86
  • Country: Country Flag

hello,my bootup windows is to slowly,plz see my result,tnx 

Attached Files


Edited by arman65, 27 August 2013 - 05:14 PM.


#200
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

your boot is a bit slow:

 

- <timing bootDoneViaExplorer="41563" bootDoneViaPostBoot="137863"

this means 41s to the UI and 127s to fully boot. 2 services seam to be slow:




 

  <serviceTransition name="AMD FUEL Service" group="" transition="start" totalTransitionTimeDelta="34521" firstCheckpointTimeDelta="0" processingTimeDelta="34521" container="Fuel.Service.exe /launchService (1900)" startedAt="23545" firstCheckpointedAt="23545" endedAt="58065" /> 
  <serviceTransition name="AntiVirService" group="" transition="start" totalTransitionTimeDelta="32149" firstCheckpointTimeDelta="35" processingTimeDelta="32114" container="avguard.exe (1924)" startedAt="23544" 

also running all startup tools is extremely slow and causes the longest delay:

 <interval name="PostExplorerPeriod" startTime="41563" endTime="137863" duration="96300">

so cleanup the startup programs


Posted Image





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

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users