August 18, 2008

How do I… Use BootVis to improve XP boot performance?

  • Date: July 22nd, 2008
  • Author: Jim McIntyre

Optimizing the Microsoft Windows XP boot process is a continuous struggle.

————————————————————————————

Microsoft Windows XP was designed to optimize the boot process so that users can boot their machines and access the operating system as quickly as possible. For the most part, XP is successful. There is, however, almost always room for improvement, and BootVis.exe, a free Microsoft utility, can help you get the best boot performance possible from an XP system.

Editor’s note: BootVis.exe is no longer supported or available from Microsoft. However, you can download the application from the TechRepublic Downloads Library along with a PDF version of this blog post.

How the Windows XP boot process works

A main cause of slow boots with Windows NT/2000 was their method for loading drivers. Prior to XP, Windows versions loaded drivers sequentially. Windows XP, however, loads drivers concurrently. It also records which applications are launched during startup. This information is written to the C:\WINDOWS\Prefetch\Layout.ini file.

When the Layout.ini file is created, XP performs a partial defragmentation on the files listed in Layout.ini. This defrag process attempts to make the files listed in Layout.ini available in one contiguous area on the hard disk, allowing these files to be accessed, and the associated drivers to be loaded, more quickly. This process is run in the background approximately every three days.

There are four factors affecting the defrag process:

  • The system must be idle for XP to perform the defragmentation.
  • There must be enough free, contiguous disk space to contain all the files listed in the Layout.ini file.
  • The partial defrag performed by XP will not create the necessary contiguous disk space. That can be accomplished only by running a full defragmentation with the XP defragmentation tool or a third-party disk utility.
  • The XP defrag process will not use a third-party utility to perform the defragmentation. Any external tools must be run on their own.

BootVis, which Microsoft describes as a “performance trace visualization tool,” actually performs the same tasks as the XP boot process, except that BootVis allows the information obtained during a single boot to be used for optimization, rather than monitoring the system over a period of several days.

Download the file and then extract the BootVis.exe utility by double-clicking the archive file, selecting a location for the Bootvis.exe file, and clicking OK.

Opening BootVis and running a trace

To run BootVis, simply double-click the BootVis.exe file and the BootVis screen, shown in Figure A, should appear.

Figure A

Here is the BootVis main window.

The first step in tweaking or troubleshooting your boot process is to run a boot trace. Click File | New | Next Boot + Drivers Trace. The Trace Repetitions window, shown in Figure B, will prompt you for the number of repetitions (reboots and traces) to run. Go with the defaults and click OK.

BootVis will now provide you with a 10-second countdown before it reboots the system and performs the trace, giving you time to cancel the reboot and close any applications you might have left running. Click Reboot Now to bypass the countdown or Cancel to cancel the reboot.

Figure B

Select the number of reboots and driver traces for BootVis to run.

Once the system reboots, BootVis restarts automatically and provides individual graphs for the following system activity areas (This can take a few minutes, so be patient.):

  • Boot activity
  • CPU usage
  • Disk I/O
  • Disk utilization
  • Driver delay
  • Process creates

Reading the boot activity graph

The Boot Activity graph (shown in Figure C) breaks the boot process down into the following components:

  • Disk: The time required to detect all devices in the nonpageable device path. This entry can include any device from the CPU to the boot disk. This value should be around two seconds.
  • Driver: The time required to initialize devices.
  • Prefetching: The time required to read pages that are later used to initialize devices. This entry also includes Winlogon, services, the shell, and any applications loaded when the system boots.
  • Registry + Page File: The time required to read the registry and initialize the page file.
  • Video: The time spent setting the display mode and refresh rate. This time is affected by both the video BIOS and the video driver used.
  • Logon + Services and Shell: The time required to startWinlogon, any services, the shell, and any applications, such as firewall or antivirus software, that are run when XP starts.

Figure C

Here is the BootVis boot activity graph.

The components are displayed in the order in which XP calls them and are read from the bottom up. Each component’s bar begins at the point in the boot sequence when the component was called and the bar’s length reflects the time in seconds required to load the component. To determine the time required for any individual component activity, place the cursor over the title for the component.

To get the most important number, the time used to boot the system, place the cursor over the vertical line that crosses through all the components. This line represents the time the system took to boot. In the example in Figure C, the system required 33.84 seconds to complete the boot process.

One item of note, this boot time is dependent on the time it takes the user to enter the logon password, if one is required. Make sure to enter the password as quickly as possible when testing a system.

Optimizing the boot process

Now that you have an indication of how well the boot process is going, the next step is to optimize the system. To optimize your system boot, click Trace | Optimize System, and BootVis will present you with a 10-second countdown before rebooting. When the system reboots, the window shown in Figure D will appear, indicating that BootVis is using information gained from the previous boot and the current boot to optimize the system.

Figure D

BootVis is optimizing the system.

The next window, shown in Figure E, appears when BootVis actually begins to place the files specified in the Layout.ini file in the area of contiguous disk space created during the defragmentation process run prior to using BootVis.

Figure E

This shows BootVis organizing files on the hard disk.

When the window shown in Figure E closes, restart BootVis and run another boot trace by clicking File | Next Boot + Driver Trace. This will allow you to see how much improvement was gained from the optimization process.

Figure F shows the results on my test machine. After running the optimization, the boot time was reduced to 30.85 seconds — a difference of almost three seconds. As I mentioned earlier, this value is affected by the time it takes to enter a logon password, so enter the password as quickly as possible. While three seconds may not seem like a lot, I have seen this value change by as much as 10 seconds. And in today’s world, where we expect instant-on computers, every second counts.

Figure F

BootVis reduced my test machine’s boot time by nearly three seconds.

Identifying driver problems

Now that you know how to optimize a machine’s boot process with BootVis, let’s look at how to troubleshoot boot issues involving problem drivers. BootVis can identify drivers that cause problems during the boot process and will indicate them on the Driver Delay graph, shown in Figure G, with a red bar.

Fortunately, my test machine does not have driver issues. If it did, I would check the manufacturer’s Web site for the latest drivers.

Figure G

BootVis reports no driver delays on my test machine. If it did, they would have appeared in red.

BootVis can only do so much

BootVis tries to optimize the XP boot process as much as possible, but it can’t work miracles. If a machine loads antivirus, firewall, and/or e-mail programs when booted, BootVis can only do so much. Remember the phrase “Your mileage may vary,” and use BootVis within the context of how you use your system. This will help you achieve a compromise between a fast boot and a system propecia frontal you can work with as soon as it boots to XP.

Permalink • Print • Comment

What to do when styles don’t seem to match

  • Date: July 22nd, 2008
  • Author: Mary Ann Richardson

Sometimes, there may be variations in the appearance of your text, even if it carries the same style. Luckily, Word’s Reveal Formatting feature can help you ferret out any discrepancies.


Both of the headings on the page are formatted in the Heading 1 style, so why don’t they look alike? Rather than try to guess what the differences are, use Reveal Formatting and have Word figure it out for you. Follow these steps:

  1. Open the document.
  2. Select one of the two headings.
  3. Press Shift + F1.
  4. Click the Compare To Another Selection check box in the Reveal Formatting pane (Figure A).

Figure A

  1. Select the second heading.

Word will display the formatting differences in the task pane. In this example, the difference is that the second selection‘s propecia for women font size is slightly larger than the first (Figure B).

Figure B

Permalink • Print • Comment

Quickly move extra text onto its own slide in PowerPoint

  • Date: July 22nd, 2008
  • Author: Susan Harkins

Crowded slides are guaranteed to send your audience scrambling for the exits. Luckily, PowerPoint makes it easy to scoot excess text onto a new slide.


Sometimes, you just can’t fit everything you want one slide. If that text is in a placeholder, you don’t need to cut and paste part of the text into a new slide. In Outline mode, PowerPoint can push text along with just a few clicks.

First, display the Outlining toolbar by choosing Toolbars from the View menu and choosing Outlining. Next, click the Outline tab to display the presentation text in the Outline pane. Position the cursor at the end of the last line you want to keep on the current slide (Figure A).

Figure A

Then, press Enter and click Promote (the arrow at the top of the Outlining toolbar that’s pointing left). Doing so will insert a new slide for all the text you just split from the previous one (Figure B). Just enter a new title for the new slide and continue to adjust the text as necessary.

Figure propecia for receding hairline B

This method also works in PowerPoint 2007, but you don’t need the Outlining toolbar. Just press Enter at the appropriate spot to insert a new slide.

Permalink • Print • Comment

How to get the Office spell checker to ignore Internet addresses

  • Date: July 21st, 2008
  • Author: Susan Harkins

If your documents contain e-mail addresses or URLs, the spell checker will stop at every one, and that’s going to annoy you. Well… propecia for cheap I know it annoys me. You can inhibit this behavior by simply telling Office to ignore Internet addresses as follows:

  1. From the Tools menu, choose Options.
  2. Click the Spelling & Grammar tab.
  3. Check the Ignore Internet And File Addresses option.
  4. Click OK.

If you’re using Office 2007, do the following:

  1. Click the Office button and then click Word Options (or whatever application you’re using).
  2. Select Proofing in the left pane.
  3. Check Ignore Internet And File Addresses.
  4. Click OK.

This permanent change affects all documents.

Permalink • Print • Comment

Permanently set your flash drive’s default AutoPlay action

  • Date: July 16th, 2008
  • Author: Greg Shultz

Save some time and frustration by configuring Windows XP to bypass AutoPlay and automatically launch Windows Explorer when you insert your flash drive.

———————————————————————————————

If you have a USB flash drive holding various Microsoft Windows XP files, you may want to configure the drive to automatically open Windows Explorer rather than display the AutoPlay dialog box.

You can select the Open Folder To View Files In Windows Explorer and select the Always Do The Selected Action check box but that only configures the flash drive for one file type. Here’s how to configure your flash drive to open Windows Explorer for all file types at the same time:

  1. Insert your flash drive into the USB port.
  2. When you see the AutoPlay dialog box, click Cancel.
  3. Open My Computer, right-click your flash drive icon, and select Properties.
  4. In the Properties dialog box, select the AutoPlay tab.
  5. Perform the following steps for each item in the Content Type drop-down list:
    1. Select an item in the Content Type drop-down list.
    2. Choose Select An Action To Perform in the Actions panel.
    3. Select the Open Folder To View Files In Windows Explorer action.
    4. Click the Apply button.
  6. Click OK to close the Properties dialog box.

Now use the Safely Remove Hardware feature to remove your flash drive — wait a moment and plug it back in. You’ll see the AutoPlay progress appear momentarily, and then you should see Windows Explorer open to show the contents of the flash drive.

Note: This propecia for baldness tip is for both Windows XP Home and Professional.

Permalink • Print • Comment
« Previous PageNext Page »
Made with WordPress and an easy to use WordPress theme • Sky Gold skin by Denis de Bernardy