MagicAndre1981 Posted December 8, 2009 Posted December 8, 2009 (edited) 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:http://www.msfn.org/board/index.php?showtopic=146919 If you are a Windows 7 User:Make sure that EnablePrefetcher and EnableSuperfetch registry settings are set to 3 and that the Superfetch service (sysmain) is running and set to start automatically.Also install those Windows 7 hotfixes:http://www.msfn.org/board/index.php?showtopic=152622If you are a Windows Vista User:Make sure that EnablePrefetcher and EnableSuperfetch registry settings are set to 3 and the ReadyBoost service and that the Superfetch service (sysmain) are both 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:xbootmgr -trace boot -prepSystem -verboseReadyBootNow 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: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.Source:http://technet.microsoft.com/en-us/magazin...el.aspx?pr=blogIf 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:xperf -i bootPrep_BASE+CSWITCH_1.etl -o 01_summary_start.xml -a bootxperf -i boot_BASE+CSWITCH_1.etl -o 02_summary_end.xml -a bootTo 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. Edited July 25, 2011 by MagicAndre1981
Felipe Posted December 9, 2009 Posted December 9, 2009 After the training is finished, you'll notice a huge improvement in startup.How much of an improvement are we looking at ?
MagicAndre1981 Posted December 9, 2009 Author Posted December 9, 2009 for me it improves the startup from 60s to 35s. And this is a lot.
Felipe Posted December 9, 2009 Posted December 9, 2009 For those who'd like to try it as well, I've put them here : http://www.filedropper.com/windowsperformancetoolkit for easy access.
Felipe Posted December 10, 2009 Posted December 10, 2009 Startup went from 42s to 30s. Until now, that seems to be the fastest it can go.It did crash however when it ran an additional step after the 6. Something about the user, I haven't taken the time to look at it, wierd, because I'm an admin on my pc.I'll give it another run when I have more spare time.
MagicAndre1981 Posted December 10, 2009 Author Posted December 10, 2009 42s to 30 is also ok. You could make a trace and look for drivers or services which cause a slow start.
cloferba Posted December 12, 2009 Posted December 12, 2009 any way to do only one or 2 reboots?not 6 :si want to slipstream this function to my unattended windows 7
MagicAndre1981 Posted December 12, 2009 Author Posted December 12, 2009 no, more reboots are better. After the optimal placement of the files on your HDD, the prefetcher must learn to load them in optimal order. This takes several reboots.
tbusters Posted December 27, 2009 Posted December 27, 2009 I gave i a try but found a strange error:xbootmgr is an unknown format /file or assignmentand how do i know if my ready boost is running ( windows 7 ) enableprefetch was (3) so is running i gues
MagicAndre1981 Posted December 28, 2009 Author Posted December 28, 2009 which CPU architecture does your Windows have? Did you install the correct msi?
tbusters Posted December 28, 2009 Posted December 28, 2009 x64 I got the msi from x64 not the 32 and not the special for the processor i dont have
MagicAndre1981 Posted December 28, 2009 Author Posted December 28, 2009 Could you please post a screenshot of the error message?
tbusters Posted December 28, 2009 Posted December 28, 2009 ok now i get a different error (strange)The message is btw in dutch und ich glaube das sie das nicht lesen konnen (bad german)it now says >"-boot"is unrecognised <try some other commandsps is there a way to post pics on this forum without uploading them to a strange server?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now