MSFN Forum: How to speed up boot process under Windows Vista or Windows 7 - MSFN Forum

Jump to content


  • 31 Pages +
  • « First
  • 20
  • 21
  • 22
  • 23
  • 24
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

How to speed up boot process under Windows Vista or Windows 7 Rate Topic: -----

#421 User is offline   eki91 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 28-February 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 February 2012 - 09:05 PM

i think he quotting it from other source,..
i decided to pm sarf2k4(the one who post it)
this how the reply goes..

Hi,

kindly refer to this blog post of mine about WPT,

http://sarf2k4.blogs...oolkit-wpt.html

My laptop has been very slow at booting lately and running WPT won't do any good as well, this problem mainly lies on windows update I believe, but I didn't say that u should stop windows update, maybe there's something going on with the original win7 home premium bundled with this machine.

I've verified about the changing registry in for the wpt to work, but i've confirmed that it's a fake wpt optimization, usually, after u format the pc or installed a full windows update after the format, u would run the wpt, but as the time goes by, the wpt stopped working, even for me and i dont think there's a solution to make the wpt optimizes ur laptop even with the registry fixes

hope this information helps

he said about try to defrag 1~2 times bfore doing the boot trace in the blog...

This post has been edited by eki91: 01 February 2012 - 09:55 PM



#422 User is online   MagicAndre1981 

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

Posted 02 February 2012 - 07:19 AM

does it work? Does using defrag.exe solves it?

#423 User is offline   JimmyBoy 

  • Group: Members
  • Posts: 3
  • Joined: 02-February 12
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 02 February 2012 - 09:16 AM

Hi,

Im wondering if anyone would be able to help me out?

Ive been following the guide at:
http://www.msfn.org/...yresume-issues/

I run this code, and let it finish.
xbootmgr -trace standby -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP



I then run this code to create a summary.xml file
xperf /tti -i standby_BASE+CSWITCH+DRIVERS+POWER_1.etl -o summary_sleep.xml -a suspend


which always results in this error message and an empty .xml file

C:\Temp>xperf /tti -i standby_BASE+CSWITCH+DRIVERS+POWER_1.etl -o summary_sleep.
xml -a suspend
xperf: warning: applying restriction of access for trace processing
                33288636 Events were lost in this trace.  Data may be unreliable
.
                This is usually caused by insufficient disk bandwidth for ETW lo
gging.
                Please try increasing the minimum and maximum number of buffers
and/or
                the buffer size.  Doubling these values would be a good first at
tempt.
                Please note, though, that this action increases the amount of me
mory
                reserved for ETW buffers, increasing memory pressure on your sce
nario.
                See "xperf -help start" for the associated command line options.


C:\Temp>



I read somewhere you may need to increase the pagefile size, which I have done, increasing it from 2047 (Windows default) to 8192 - this made no difference. I also read that you need to turn UAC on (I had it off at first), but this also made no difference for me. I also read you may need to increase buffer sizes, but I dont know how to do this? I am running on a Crucial 64GB Real SSD, connected to SATA 6GB connection using AHCI.

A brief history:

I am trying to locate what is possibly causing my PC to be slower at sleep/startup than it should be. After a lot of faffing around and getting nowhere I have done a complete reinstall of windows 7 x86 Enterprise and just have the bare essential drivers installed - LAN, Audio, AHCI, ACPI and nVidia graphics card drivers (all the latest drivers). In this configuration, I timed my sleep/resume times (using a goold old fashioned stopwatch!) and found that my sleep times were averaging 12-15 seconds (Hybrid sleep) and my resume times were 5-7 seconds. This is what I am using as a benchmark for future tests.

Now I install my TV card (Blackgold BGT3595) and as soon as I install the drivers for this card (latest drivers from manufacturers website) I see a delay in my sleep/resume times. Sleep times are now 17-31 seconds and resume times are 12-21 seconds - a big difference in comparison to the times before these drivers where installed.

I would really like to have the summary .xml file for me to identify exactly where the problems lie, and also so I could use as evidence to provide to Blackgold incase it turns out it is deffinately related to thier drivers, then the information in the summary .xml file could be of use to them in determining where the problem lies, and hopefully coming up with a solution.

The .etl file that is generated is 779MB and would be too large (I think) to send to them so the summary.xml file is my best bet I think, but as I say above, I cannot create the summary .xml file for some reason.

I can open .etl file and view the contents, but I have no clue in what I am doing and how to interpret the information displayed to me.

I can provide a quick snapshot here of Driver Delays, does this look normal or wrong ?
Posted Image

Also, on a side note, I noticed in the power settings where you can define what the power buttons do, before I installed the TV Card drivers I had a "Power Button" option, but after installing the drivers I had a "Power Button" and "Sleep Button" options. I found this a little confusing I just thought I would mention in here for consistency.

Thanks in advance for any help!!

#424 User is offline   eki91 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 28-February 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 February 2012 - 09:47 AM

View PostMagicAndre1981, on 02 February 2012 - 07:19 AM, said:

does it work? Does using defrag.exe solves it?


nop..still not working,.

#425 User is online   MagicAndre1981 

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

Posted 02 February 2012 - 11:51 AM

View PostJimmyBoy, on 02 February 2012 - 09:16 AM, said:

Now I install my TV card (Blackgold BGT3595) and as soon as I install the drivers for this card (latest drivers from manufacturers website) I see a delay in my sleep/resume times. Sleep times are now 17-31 seconds and resume times are 12-21 seconds - a big difference in comparison to the times before these drivers where installed.


I think you should ask this the support of your TV card manufacture. The trace whould also only show the driver as cause. And this is what you already know.

You can try to disable the TV card most of the time and use devcon.exe to enable it via script when you need the TV card.

View Posteki91, on 02 February 2012 - 09:47 AM, said:

nop..still not working,.


ask cluberti if he has an idea.

#426 User is offline   JimmyBoy 

  • Group: Members
  • Posts: 3
  • Joined: 02-February 12
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 02 February 2012 - 12:07 PM

View PostMagicAndre1981, on 02 February 2012 - 11:51 AM, said:

View PostJimmyBoy, on 02 February 2012 - 09:16 AM, said:

Now I install my TV card (Blackgold BGT3595) and as soon as I install the drivers for this card (latest drivers from manufacturers website) I see a delay in my sleep/resume times. Sleep times are now 17-31 seconds and resume times are 12-21 seconds - a big difference in comparison to the times before these drivers where installed.


I think you should ask this the support of your TV card manufacture. The trace whould also only show the driver as cause. And this is what you already know.

You can try to disable the TV card most of the time and use devcon.exe to enable it via script when you need the TV card.



It's been an ongoing thing for the last month or so, and BlackGold say they are not aware of any issues with the driver relating to sleep/resume functions. I was hoping I could analyze the .xml file to 100% confirm that it is the BlackGold drivers causing the issue and not say a conflict in drivers, for example my nVidia drivers may have an issue with the BlackGold TV Card installed or some other random events that are causing my problem. If I could identify a problem with my BlackGold drivers in the .xml file then I have some proof of my problem, and could send the .xml to BlackGold for them to look over and see what they make of it. But as I say, I cannot create the summary .xml file and do not understand why not, would anyone be able to advise me what I may be doing wrong ?

#427 User is online   MagicAndre1981 

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

Posted 02 February 2012 - 12:25 PM

the xperf error should only occur if you have a slow HDD or not enough RAM. The normal xperf allows you to use a higher Buffer value, but xbootmgr doesn't support this :(

You can use ProcessMonitor, go to sleep and resume Windows. Now stop the ProcessMonitor log and filter for duration. Do you see the driver involved there?

#428 User is offline   JimmyBoy 

  • Group: Members
  • Posts: 3
  • Joined: 02-February 12
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 03 February 2012 - 07:00 AM

View PostMagicAndre1981, on 02 February 2012 - 12:25 PM, said:

the xperf error should only occur if you have a slow HDD or not enough RAM. The normal xperf allows you to use a higher Buffer value, but xbootmgr doesn't support this :(

You can use ProcessMonitor, go to sleep and resume Windows. Now stop the ProcessMonitor log and filter for duration. Do you see the driver involved there?


I only have 1x2GB of RAM installed (long story, but 2x2GB causes system instability! :( ), could this be a possible cause for the error I get?

Where can I find this ProcessMonitor, is it part of the SDK that I downloaded ?

Thanks for your help.

#429 User is online   MagicAndre1981 

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

Posted 03 February 2012 - 07:32 AM

You can get Process Monitor from here:

http://technet.micro...ernals/bb896645

#430 User is offline   allee687 

  • Group: Members
  • Posts: 2
  • Joined: 08-February 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 February 2012 - 04:44 PM

hi,MagicAndre1981 I would be so grateful if you would look at my xml file,I run the
xbootmgr -trace boot -prepSystem -verboseReadyBoot,after that i see no improvements on startup...
I can't figure out why my boot is so slow.

thanks in advance!

#431 User is online   MagicAndre1981 

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

Posted 09 February 2012 - 05:17 PM

your boottime is ok:

- <timing bootDoneViaExplorer="30078" bootDoneViaPostBoot="46978"



30s to the desktop and 36s to boot completely.

The AVG driver causes a 2s delay during boot:

<pnpObject name="Avgldx64" type="Driver" activity="Load" startTime="4959" endTime="7367" duration="2408" prePendTime="2408" /> 
  <pnpObject name="\REGISTRY\MACHINE\SYSTEM\ControlSet001\services\Avgldx64" type="unknown" activity="unknown" startTime="4963" endTime="7367" duration="2404" prePendTime="2404" /> 



Also the AVG services take 5s to start:

<serviceTransition name="avgfws" group="" transition="start" totalTransitionTimeDelta="1107" 
  <serviceTransition name="avgwd" group="" transition="start" totalTransitionTimeDelta="3705"



so try to update AVG.

#432 User is offline   allee687 

  • Group: Members
  • Posts: 2
  • Joined: 08-February 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 February 2012 - 06:00 PM

View PostMagicAndre1981, on 09 February 2012 - 05:17 PM, said:

your boottime is ok:

- <timing bootDoneViaExplorer="30078" bootDoneViaPostBoot="46978"



30s to the desktop and 36s to boot completely.

The AVG driver causes a 2s delay during boot:

<pnpObject name="Avgldx64" type="Driver" activity="Load" startTime="4959" endTime="7367" duration="2408" prePendTime="2408" /> 
  <pnpObject name="\REGISTRY\MACHINE\SYSTEM\ControlSet001\services\Avgldx64" type="unknown" activity="unknown" startTime="4963" endTime="7367" duration="2404" prePendTime="2404" /> 



Also the AVG services take 5s to start:

<serviceTransition name="avgfws" group="" transition="start" totalTransitionTimeDelta="1107" 
  <serviceTransition name="avgwd" group="" transition="start" totalTransitionTimeDelta="3705"



so try to update AVG.




ok, thanks a lot !

#433 User is offline   Kgarnet 

  • Group: Members
  • Posts: 2
  • Joined: 01-March 12
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 01 March 2012 - 05:31 PM

Hi Andre,
I've been having major slow booting times for my computer. Windows 7 32-bit RTM. I cannot update to sp1 either because of the 80070005 error to which i have not found a solution for yet either. I was going to do a nuke wipe and reinstall the OS from the scratch up but I wanted to run this option first.

#434 User is online   MagicAndre1981 

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

Posted 01 March 2012 - 05:52 PM

hmm, I can't find the superfetch service in the service list.

Run sfc /scannow to detect missing and corrupt files. Can you now start the Superfetch service?

#435 User is offline   Kgarnet 

  • Group: Members
  • Posts: 2
  • Joined: 01-March 12
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 01 March 2012 - 07:45 PM

I ran sfc /scannow to fix abunch of corrupted files prior to the last trace. Superfetch is in regedit but not in services.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters
EnableBootTrace 0
EnablePrefetcher 3
EnableSuperfetch 3

Weird that I can't find superfetch in services. I'll run another sfc /scannow
Also tried to install sp1 but a 0x80070057 error came out of it. Still no luck there.

UPDATE:
Ran another sfc /scannow. it said it found errors and it was going to fix upon reboot. After reboot, superfetch was still not found. Also disabled startup files and services for a clean boot. Superfetch still not found.

This post has been edited by Kgarnet: 02 March 2012 - 08:04 AM


#436 User is online   MagicAndre1981 

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

Posted 02 March 2012 - 08:07 AM

please create a topic in the "Windows 7" section and attach the zipped CBS.log.

#437 User is offline   GrofLuigi 

  • GroupPolicy Tattoo Artist
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,275
  • Joined: 21-April 05
  • OS:none specified
  • Country: Country Flag

Posted 02 March 2012 - 12:05 PM

View PostKgarnet, on 01 March 2012 - 07:45 PM, said:

Superfetch still not found.
It's called SysMain in the registry.

GL

#438 User is offline   geekster51 

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

Posted 04 March 2012 - 08:53 AM

Looking for some help.

I noticed that my boot times seemed longer than usual.

Checked the event log and found that on between Jan 26 and Jan 2,7 2012, my boot times went from approx 70,000 ms to 150,000 ms.

No record of my having made any major changes on that date. I have Windows Updates set to manual, and I installed the January updates on Jan 13.

I checked registry and Prefetch and SuperFetch parameters are set to 3; SuperFetch service is started.

One thing I did notice is that prior to Jan 27, the BootPrefetchInitTime and BootPrefetchBytes values (as reported in Event Log) had non-zero values. After January 26, both of those parameters were zero.

Can anyone help me understand what those parameters mean, and (more importantly) what couldh ave caused them to be zero (I think those parameters being zero on the same date that my boot times doubled might be related to the reason my boot times went from 70 sec to 150 sec).

Thanks!

#439 User is online   MagicAndre1981 

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

Posted 04 March 2012 - 11:23 AM

have you run the command in the first post? Did you see an improvement?

#440 User is offline   geekster51 

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

Posted 04 March 2012 - 04:25 PM

MagicAndre1981:

Thanks for your response!

I have not yet installed (and run) the Windows Performance Tools Kit.

I am running Windows 7 64-bit, and was a bit concerned about running xbootmgr .... having seen some posts from others who also have Windows 7 64-bit and reported BSOD.

Was hoping to get an understanding of what the BootPrefetchInitTime and BootPrefetchBytes parameters (from Event ID 100 record) mean and perhaps figure our why/how those values suddenly went to zero on the same day that my boot time doubled (from 70 sec to 150 sec).

But the only prefetching (and superfetching) that I am aware of are based on the values of these keys:
EnablePrefetcher and EnableSuperfetch
in this registry setting ...
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\MemoryManagement\PrefetchParameters\

... and both were set to 3 on my PC.

Do you know what the BootPrefetchInitTime and BootPrefetchBytes parameters from the Event ID 100 record mean, and what might cause them to change from positive values to consistently be zero? I (or something I installed) must have disabled some kind of boot prefetching, but I cannot figure out what.

This post has been edited by geekster51: 04 March 2012 - 04:27 PM


Share this topic:


  • 31 Pages +
  • « First
  • 20
  • 21
  • 22
  • 23
  • 24
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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