How to speed up boot process under Windows Vista or Windows 7
Welcome, Guest. Please login or register. Did you miss your activation email?


Britec Computer Tech Help Support Forums  « Tutorials « Tutorials and How-to « How to speed up boot process under Windows Vista or Windows 7
Pages: [1]
  Print  
Author Topic: How to speed up boot process under Windows Vista or Windows 7  (Read 3080 times)
Britec
Administrator
Hero Member
*****
Posts: 3497



View Profile
« on: March 25, 2011, 04:59:18 AM »

How to speed up boot process under Windows Vista or Windows 7

ATTENTION: The guide only works if you use HDD (NOT a SSD!).

To get started you need the Windows Performance Tools Kit. Read here how to install it:

If you are a Windows 7 User:
Make sure that EnablePrefetcher and EnableSuperfetch registry settings are not disabled and that the Superfetch service (sysmain) is running and set to start automatically.
 
If you are a Windows Vista User:
Make sure that EnablePrefetcher registry setting is not disabled and the ReadyBoost service is running and set to start automatically.
 
Now open a command prompt with admin rights ( http://windows.microsoft.com/en-US/windows7/How-do-I-run-an-application-once-with-a-full-administrator-access-token ) and run the following command:
 
Code:
xbootmgr -trace boot -prepSystem -verboseReadyBoot

Now your PC will be restarted 6 times. After the second reboot the MS defragmentation program is running and is placing the files into an optimized layout, so that Windows will boot up faster (for the description read what ReadyBoot is). The last Reboots are training of readyBoot. After the training is finished, you'll notice a huge improvement in startup.
 
Note! DON'T USE OTHER DEFRAGMENTATION PROGRAMS AFTER THE OPTIMIZATION, USE ONLY THE INCLUDED MS TOOL, BECAUSE EVERY TOOL PLACES THE FILES AT A DIFFERENT OFFSET ON YOUR HDD, BECAUSE ALL TOOL THINK THEY KNOW IT BETTER!
 
Background:
 
With Windows XP, MS implemented a prefetcher which loads data into the RAM, when the CPU was busy, starting services, drivers, so that they are already loaded when they are needed in later stages of the boot process.
 
With Vista, MS improved this prefetcher and named it ReadyBoot:


Quote
Windows Vista uses the same boot-time prefetching as Windows XP did if the system has less than 512MB of memory, but if the system has 700MB or more of RAM, it uses an in-RAM cache to optimize the boot process. The size of the cache depends on the total RAM available, but is large enough to create a reasonable cache and yet allow the system the memory it needs to boot smoothly.

After every boot, the ReadyBoost service (the same service that implements the ReadyBoost feature just described) uses idle CPU time to calculate a boot-time caching plan for the next boot. It analyzes file trace information from the five previous boots and identifies which files were accessed and where they are located on disk. It stores the processed traces in %SystemRoot%\Prefetch\Readyboot as .fx files and saves the caching plan under HKLM\System\CurrentControlSet\Services\Ecache\Parameters in REG_BINARY values named for internal disk volumes they refer to.

The cache is implemented by the same device driver that implements ReadyBoost caching (Ecache.sys), but the cache's population is guided by the ReadyBoost service as the system boots. While the boot cache is compressed like the ReadyBoost cache, another difference between ReadyBoost and ReadyBoot cache management is that while in ReadyBoot mode, other than the ReadyBoost service's updates, the cache doesn't change to reflect data that's read or written during the boot. The ReadyBoost service deletes the cache 90 seconds after the start of the boot, or if other memory demands warrant it, and records the cache's statistics in HKLM\System\CurrentControlSet\Services\Ecache\Parameters\ReadyBootStats, as shown in Figure 2. Microsoft performance tests show that ReadyBoot provides performance improvements of about 20 percent over the legacy Windows XP prefetcher.
 

 

If you remember XP days, their was a tool called BootVis. The optimization is similar to this here, but the difference is, that is only starts the integrated MS defragmentation program for a better HDD layout, because XP doesn't have ReadyBoot.
 
To see the improvement in time, run those 2 commands:
 
Code:
xperf -i bootPrep_BASE+CSWITCH_1.etl -o 01_summary_start.xml -a boot
xperf -i boot_BASE+CSWITCH_1.etl -o 02_summary_end.xml -a boot

To determine the boot time, open the XML files and look at the value bootDoneViaPostBoot. This value (-10000 = 10seconds) shows you the time, which Windows needs to boot completely.
 
In the file 02_summary_end.xml it should be much lower.
 

I hope this small tutorial helps you to make your Windows start faster.

Source:

MagicAndre1981 how-to-speed-up-boot-process-under-windows-vista-or-windows-7/
« Last Edit: April 12, 2011, 02:05:29 AM by Britec » Logged



MagicAndre1981
Newbie
*
Posts: 4


View Profile
« Reply #1 on: April 11, 2011, 03:38:15 PM »

Again, don't copy my guides !

http://www.msfn.org/board/index.php?showtopic=140262
Logged
BJseal91
Hero Member
*****
Posts: 699



View Profile
« Reply #2 on: April 12, 2011, 12:30:58 AM »

Welcome to the forum
you are welcome here and if you have good post please feel free to add them here

credits also go to MagicAndre1981 for contributing to the information

however it was Britec's post and he has taken the time to put it up on the forum all we are doing is adding the page that is all over the web to our website for our members to learn we are a friendly community here and go out our way to help each other out espcially Britec

but does it really matter where the information come from at the end of the day it is one post out of hundreds but it is here for its members so they don't have to
go all over the place for information and at the end of the day it is a small tweak lets face it you probly got it off microsoft or off someone elses page

please remember it is all to help others it does not matter where the information comes from and if we see something we will use it as quotes for quickness.

regards

Bradley
« Last Edit: April 12, 2011, 12:34:03 AM by BJseal91 » Logged
Britec
Administrator
Hero Member
*****
Posts: 3497



View Profile
« Reply #3 on: April 12, 2011, 01:57:37 AM »

Well said Bradley... MagicAndre1981, fisrt off sorry for not putting a link to your post at the bottom.
But in any case is this not the original source for your info? http://technet.microsoft.com/en-us/magazine/2007.03.vistakernel.aspx?pr=blog

Does this mean that you copied his idea and typed it up in your own way? This is the world wide web full of info, I dont take credit for all my tutorials but this is what the web is for spreading the knowledge and helping others. Does it matter where the knowledge comes from?...NO

My little forum is here to help people not to compete with the big guys like http://www.msfn.org and if that means that getting info from a source that has the answer to fix someones problems, then I will use that info.

I am here to help people not to cry over a post that someone has copied, I have articles copied all the time and videos copied am I bothered?...NO get over yourself
the article was basic any way, I just could not be arsed to type it up myself and you done a great job and copying and typing it up so thanks.

Rant over

Brian
Logged



Britec
Administrator
Hero Member
*****
Posts: 3497



View Profile
« Reply #4 on: April 12, 2011, 02:07:47 AM »

Sorry got me at a bad time  Laugh anyway posted a source link for you to keep you happy Wink Dont want the copyright police on me Laugh
Logged



MagicAndre1981
Newbie
*
Posts: 4


View Profile
« Reply #5 on: April 12, 2011, 04:25:38 AM »

however it was Britec's post and he has taken the time to put it up on the forum all we are doing is adding the page that is all over the web to our website for our members to learn we are a friendly community here and go out our way to help each other out espcially Britec

he copied my guide, nothing more. Now he added the source and that's ok. You can post it if you like it, but never simply copy it, ALWAYS link to the original source.

 Embarrassed Embarrassed Embarrassed Embarrassed Embarrassed
Logged
tmy
Hero Member
*****
Posts: 673



View Profile WWW
« Reply #6 on: April 12, 2011, 05:07:05 PM »

 Azn MagicAndre1981,
welcome to the forum hope you enjoy the friendly non formal style and can relax and share your knowledge with others and get help from members and guests alike. I must just say that Brian has done more to encourage and help people get their heads around the very often snobby attitude  found on computer forums than anyone else I know and that has to be recognized and the point made.

I think as already mentioned the web is full of info that's the whole point it's a resource, all Brian did was collate the info and display it in a more relaxed form, I really do wonder who the original author was of the material, you claim to be the author but in reality that would appear to be a little bit of a fudging of the truth.

Brian has added a credit to you for the article which I hope your now accepting and can move on. With the huge endless amount of information available on the web we have to be extremely careful of what we claim is a exclusive piece of writing, I hope you can be 100% sure of your exclusive right to the article and not guilty of rewriting it in a slightly different manner. Take care


 Wink


tmy



  Bye
« Last Edit: April 12, 2011, 06:53:12 PM by tmy » Logged

www.stannic.com.au  Home Computing Services And Repairs
BJseal91
Hero Member
*****
Posts: 699



View Profile
« Reply #7 on: April 12, 2011, 11:41:50 PM »

tmy;
Thank you for your input Wink

we have all made our points and also welcome MagicAndre1981 to the forum

but if we are talking about who owns the copyright guess what it is Microsoft as they wrote
the program in the first place Smiley

I hope MagicAndre1981 fills welcome and that we can all be together and help each other and do guides to what we fill will help people

Kind Regards

BJseal91

P.S Don't worry Brian you will not have the copywrite police on your back you will have microsoft taking you all the way Laugh

and also thanks for all your help the other day Smiley
Logged
simplymehere
Newbie
*
Posts: 1


View Profile
« Reply #8 on: May 26, 2011, 07:41:59 PM »




Can you help me please? I'm running this command but system giving me this error...

C:\Windows\system32>xbootmgr -trace boot -prepSystem -verboseReadyBoot
'xbootmgr' is not recognized as an internal or external command,
operable program or batch file.

need help... Thanks in advance..
Logged
m3gtrtopdriver
Newbie
*
Posts: 1


View Profile
« Reply #9 on: April 25, 2012, 11:44:56 AM »

Thanks very much mate Smiley
Logged
Pages: [1]
  Print  
 
Jump to: