On mySimon: Holiday Gifts for Him
BNET Business Network:
BNET
TechRepublic
ZDNet

May 4th, 2007

Microsoft's hidden diagnostic tool unlocks Vista startup secrets

Posted by Ed Bott @ 8:51 am

Categories: Image Galleries, Windows Vista

Tags: Microsoft Windows Vista, Microsoft Windows, Tool, Microsoft, Ed Bott

In Focus » See more posts on: Hands On Vista, Vista

In researching a three-part series on Windows Vista start-up times here last month (Part 1, Part 2, Part 3), I spent hours with a stopwatch, documenting my experience with a handful of machines running a clean install of Windows Vista.

As it turns out, I didn’t need the stopwatch, because all the data was right under my nose all the time. Vista’s onboard monitors are constantly recording information about performance and storing it in the new, greatly expanded event logs. It’s an overwhelming amount of information, in fact, and none of the details are documented anywhere.

Vista boot time detailsTo get to the bottom of the mystery, I sat down with a group of Microsoft engineers for a free-wheeling hour-long conversation about Vista boot times and performance, with a special emphasis on learning how to troubleshoot problems that you might experience. I also collected data from 104 Windows Vista startups and crunched it down to find out just how long Vista really takes to start up.

It all starts with Vista’s Event Viewer program. I’ve put together an image gallery showing how you can access the same information on your system. so you can follow along. The key information is contained in the Diagnostics-Performance log, where event IDs 100-199 capture information about Boot Performance Monitoring. (The same log contains information about shutdown times and overall system performance, but for this project I chose to zero in exclusively on boot times.)

Want to see how your computer measures up? Click here for step-by-step instructions with detailed illustrations.

Every time you start your computer, Windows logs your boot time, starting as soon as the kernel loads (obviously, Windows can’t track the time it takes for your hardware to enumerate itself and for the BIOS to hand off control to the OS loader) and ending after every background service and process has finished loading and the system has been idle for at least 10 seconds. The total boot time is divided into two parts

  • MainPathBootTime measures the time it takes for the system to load all drivers and services that are critical to user interaction and get to the Windows desktop where the user can begin doing things.
  • BootPostBootTime includes all the other drivers and processes that aren’t critical to user interaction and can be loaded with low-priority I/O that always gives preference to user-initiated actions that execute using Normal I/O priority.

If you look in Event Viewer, you’ll see a separate value called BootTime, which measures the sum of these two values. (Subtract 10 seconds from this value to account for the idle time that indicates the boot process is completely done.) In addition, the logs are filled with clues that can help you figure out what went wrong and why a specific startup (or shutdown) took longer than normal.

Because the Event Viewer logs save their data in standard XML, I was able to capture this data from 104 startup events on four separate machines and crunch it down to these bullet points:

  • 35% of all starts took 30 seconds or less to return control to the user
  • 83% of all starts took 60 seconds or less to return control to the user
  • 70% of all starts completed all boot processes, including low-priority I/O activity, in two minutes or less
  • 94% of all starts completed all boot processes within three minutes

I’ve created a scatter chart using the data from these systems that makes the point visually and used that chart to kick off the image gallery.

Vista boot times scatter chart

In conversations with engineers at Microsoft, I learned that these values are consistent with what they’ve observed over millions of installations monitored via opt-in data collection programs, on an incredibly diverse array of hardware installations.

In a follow-up, I’ll explain what I learned about why some startups take longer than others and how you can diagnose and resolve startup problems on a Vista PC.

 

Ed BottEd Bott is an award-winning technology writer with more than two decades' experience writing for mainstream media outlets and online publications. See his full profile and disclosure of his industry affiliations.

Email Ed Bott

Subscribe to Ed Bott's Microsoft Report via Email alerts or RSS.

  • Talkback
  • Most Recent of 131 Talkback(s)
RE: Microsoft's hidden diagnostic tool unlocks Vista startup secrets
Question?

Why are "BootTime" and "MainPathBootTime"
prefered over "BootStartTime" and "BootEndTime"
in your article?

When I look at those statistics they seem to
relate more ... (Read the rest)
Posted by: mesamoo115@... Posted on: 01/09/08 You are currently: a Guest | | Terms of Use
Please, follow up ASAP!  CobraA1 | 05/04/07
Gee...it's just SOOO nice that MS uses our hardware and timeware to market!  nomorems | 05/04/07
HUH?  Jhaks | 05/04/07
No one understands nomorems  John Zern | 05/04/07
Huh huh?  LBean | 05/07/07
Well, but...  Ginevra | 05/07/07
Even tires are not all compatible  Cayble | 05/07/07
wow  Khyron | 05/07/07
22 years  Benchmarked | 05/07/07
Only not.  Hogleg | 05/07/07
Precisely  Sparhawk_z | 05/07/07
You're losing it, d00d!  M.R. Kennedy | 05/04/07
Message has been deleted.  No_Ax_to_Grind | 05/05/07
While he could have come across more maturely, he has a valid point.  HypnoToad72 | 05/05/07
Actually, in a communist...  msalzberg | 05/05/07
haha  Khyron | 05/07/07
Don?t mix apples with oranges  jason.mailley | 05/07/07
Actually it's not apples and oranges  maldain | 05/07/07
Silly argument  Ed BottZDNet Moderator | 05/05/07
Quality Feedback Agent... Is that a bad idea too?  Henry Miller | 05/05/07
You missed the "opt in" part  Ed BottZDNet Moderator | 05/05/07
Suspicious  Khyron | 05/07/07
Ed,  Cardinal_Bill | 05/06/07
Absurd  ShadeTree | 05/07/07
ShadeTree is correct  Ed BottZDNet Moderator | 05/07/07
OK,  Cardinal_Bill | 05/07/07
They are correct - God you people are paranoid  fr0thy2. | 05/07/07
That IS open source though, Ed  mdsmedia | 05/06/07
Not-for-profit = Good, For-profit = Evil?  M.R. Kennedy | 05/07/07
Gee...  aallord | 05/07/07
Actually it wouldn't be the first time  maldain | 05/07/07
Brain dead. Completely.  Cayble | 05/07/07
What a dim whit  hbashman@... | 11/07/07
Is the Opt-in hidden in another request?  I am Gorby | 06/07/07
Take another point of view  rhomp2002@... | 05/07/07
You don't understand  Ed BottZDNet Moderator | 05/07/07
Nothing new there  Yamust B. Kiddingme | 05/07/07
Invalid argument.  Dr. John | 05/07/07
Nicely put....  fr0thy2. | 05/07/07
Dr. John your so right....  fredfarkwater@... | 05/07/07
No point in arguing you're right as always  intrepi@... | 05/08/07
I don't get it...  msalzberg | 05/05/07
Here, I'll explain you  Fil0403 | 05/06/07
Good for who ?  intrepi@... | 05/07/07
It's a log file, people!  Dr. John | 05/07/07
Non-fan agrees  cjinsomniac@... | 05/07/07
FUD  Ed BottZDNet Moderator | 05/07/07
Best advice I've been given - I'll do it  intrepi@... | 05/08/07
Did you just read "1980"...  fr0thy2. | 05/07/07
This is not about paranoia it's about  intrepi@... | 05/08/07
Sorry - mis-typed 1984....  fr0thy2. | 05/07/07
I have a problem with how much !  intrepi@... | 05/07/07
So look at it for yourself  Ed BottZDNet Moderator | 05/07/07
I'm not sure as to where to look  intrepi@... | 05/07/07
Did you read this article and the gallery?  Ed BottZDNet Moderator | 05/07/07
RE: I can tell you confidently  GreyGeek | 05/07/07
RE: GreyGeek  ShadeTree | 05/07/07
Greygeek - Mulder and Scully will be by soon...  fr0thy2. | 05/07/07
GreyGeek is lost in the wilderness  Cayble | 05/07/07
Answer to the age-old question.  ubaz2 | 05/07/07
Have you even looked at the data...  fr0thy2. | 05/07/07
Log data or data that I haven't seen listed ?  intrepi@... | 05/08/07
read your license agreement  Khyron | 05/07/07
Thanks for articulating but I knew that  intrepi@... | 05/08/07
Do you have Outlook 2003/2007?  Grayson Peddie | 05/06/07
Like to ask you about task follow-up  intrepi@... | 05/07/07
Not observably faster  markrich | 05/07/07
Slow Vista Startup Times  ramnet@... | 05/07/07
look back  rfilessr | 05/07/07
Agree - it just sit back an laugh  fr0thy2. | 05/07/07
I agree  ballscrew bob | 05/07/07
Don't forget the hardware  donniebnyc@... | 05/07/07
Vista is self tuning ...  ShadeTree | 05/07/07
Get real !!  hbashman@... | 11/07/07
Speed Up PC with Vista  kchrisc@... | 05/07/07
vista works like a charm for me  SO.CAL Guy | 05/07/07
I have to disagree with both of you  intrepi@... | 05/07/07
Amen! & Great Job Ed  fr0thy2. | 05/07/07
If you say so ... I guess it must be true  intrepi@... | 05/08/07
Besides you?  ShadeTree | 05/10/07
And up steps ShadeTree...  Aragorn_z | 11/07/07
Use Vista - Like Vista - Machine is fast  fr0thy2. | 05/07/07
Schwerer Gustav ?  xmeshman | 05/07/07
There's a reason these kinds of statistics gathering tools are normally OFF  Resuna | 05/07/07
Old Coffee. . writers sound like car salesmen - hot air  Gene(ius):) | 05/07/07
This is not a waste of space, it's very serious  intrepi@... | 05/07/07
Might try another pseudo...  fr0thy2. | 05/07/07
Kinda off topic  DWeast1204 | 05/07/07
If the key you reffer to is on a COA sticker attached ....  ShadeTree | 05/07/07
What else is recorded - spyware related ?  intrepi@... | 05/07/07
Why?  ShadeTree | 05/07/07
shut up and get out.  ubaz2 | 05/07/07
Vista is faster for my machines. A LOT faster  Narg | 05/07/07
How are you comparing and what software ?  intrepi@... | 05/07/07
Sysmark 2007 confirms that Vista is slowwer then XP.  ShadeTree | 05/07/07
I can't help but wonder...  Louis.Ross@... | 05/07/07
It would actually boot slower.  ShadeTree | 05/07/07
Only not.  Hogleg | 05/07/07
Logs in XP  bunkport | 05/07/07
10 minutes!?  jguyp725@... | 05/08/07
Hi Shade,  30bob1 | 05/07/07
Hi Shade - oooops  30bob1 | 05/07/07
It comes up when you install Vista  Ed BottZDNet Moderator | 05/07/07
Thanks Ed,  30bob1 | 05/07/07
Windows XP also attempted to optimise ....  ShadeTree | 05/08/07
mmm...  jolumoar | 05/07/07
Wow, people  penile@... | 05/07/07
He was talking  despil | 05/08/07
Communism Theory  elm street | 05/09/07
When you are asked to send a report to microsoft about ....  ShadeTree | 05/08/07
Open Source is not Non-Profit  jbrinkman1966 | 05/08/07
Boot time  jguyp725@... | 05/08/07
So many trusting soles - nice to see  intrepi@... | 05/08/07
Microsoft Lawsuits  shershef@... | 05/08/07
Variables in Startup Times  JRobert345 | 05/08/07
PreFetch Database Files  tazinfo@... | 05/08/07
Vista just died, for 75% of the market.  spmtrapr@... | 05/09/07
Vista EULA and FUD  --GJ-- at csi ottawa dot ca | 05/09/07
That's one way to look at it  Ed BottZDNet Moderator | 05/09/07
no duh  pdm_pdq@... | 05/09/07
Vista, What A Joke!  luvalittle | 05/11/07
oh really it is very helpful  shoaibrupom@... | 05/13/07
oh really it is very helpful  shoaibrupom@... | 05/13/07
oh really it is very helpful  shoaibrupom@... | 05/13/07
Hidden diagnostic tool unlocks vista startup secrets.  dynacomp1@... | 05/22/07
Car & Drivers  Virt | 06/03/07
Purchased to use not tune  marpincan@... | 11/07/07
View event viewer  sohowv@... | 11/07/07
Search is your friend,,,  Ed BottZDNet Moderator | 11/08/07
Event viewer not found  reli052@... | 11/11/07
RE: Microsoft's hidden diagnostic tool unlocks Vista startup secrets  mesamoo115@... | 01/09/08

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

Click Here
advertisement

Recent Entries

advertisement

Archives

ZDNet Blogs

White Papers, Webcasts, and Downloads