Before we begin checking Vista's disk activity, may I ask you a question: 'What
action are you prepared to take?' Would you be willing to: buy
another disk? Or alternatively, are you merely looking
for a cost-nothing solution such as a defrag?
For my part, I just wish to direct you
to the best and easiest course of action.
My first task is to focus on making a correct diagnosis. My second task is
to ask you to check Vista's WEI rating, I
am guessing that for a desktop machine, disk is not the lowest Subscore.
Thereafter we examine the tools in Vista's Reliability and Performance Monitor.
Even though you are investigating disk performance, I would start with
Memory! My reasoning is because it
is common for disk problems to be masked by memory bottlenecks. Thus you
are probably wasting time and money by changing the disk on a machine with only
512Mb of RAM. It would be better to buy another SIMM RAM chip, or at the
very least buy a RAM Key and use ReadyBoost.
Classic symptoms of Disk problems Files take ages to open or to save. The light corresponding to
the computer's hard disk is red for long periods. You may even hear a
whirring / clunking sound of disk activity when you save a file. Also,
remember to check the System Eventlog, what you are looking for are disk errors,
which are advanced warnings that a disk serious failure is immanent.
A good diagnosis will save you both effort and money, thus it's worth spending
time finding out what if anything is wrong with your machine's performance. What I recommend is
you improve Vista's performance by seeking bottlenecks. Begin with a trip
to the Control Panel --> System and Maintenance --> Performance Information -->
Check your Windows Experience Index. Is your Disk score the limiting
factor? Lower than Memory and lower than Processor?
Even old, relatively slow, disks with a speed of 4000 RPM should produce a
WEI rating of greater than 3.5, which is an acceptable disk speed for
Word-processing and email tasks. Modern disk with a speed of over 7000 RPM
are likely to produce a WEI of over 5. Such a high figure means that the
disk is not the bottleneck.
Think of
your machine's performance as an oil pipeline. Any constriction will reduce flow,
thus removing the tightest constriction will produce the biggest increase in
throughput. Indeed Vista's WEI (Windows Experience Index) works on this
principle, the
final rating is based on the weakest link and not the average of the 5 readings.
Guy
recommends: The Free IP SLA Monitor
The IP SLA Monitor offers so much more than just discovering network
bottlenecks, the real joy is learning about router traffic. See
how effortlessly this free monitor analyzes and displays the IP
statistics. The key to configuring this Monitor is selecting the data most
relevant to your network, for example, ping echo, DNS resolution times,
or HTTP statistics. As a result of a few hours of investigation is that you
can set alerts on key
indicators, then get on with the rest of your job.
The biggest change from XP's Perfmon is that Vista's 'Reliability and
Performance Monitor' has a summary sheet at its front end. Another key
difference is that there are two separate utilities, Performance Monitor (the
old perfmon) and the Reliability Monitor. While I love analysing the
Performance Monitor, my advice is to stick with the Summary chart. My
reasoning is that you should focus on the key questions. Is my machine
running slowly because of a disk bottleneck? If so, what can I do about
it?
Only resort to the Performance monitor and its zillions of counters if the
Summary sheet is inconclusive. Remember that
detailed performance monitoring is more productive on a server than a desktop.
If a desktop machine only has 512 Mb of RAM what ever the counters say, the
answer is always add more RAM. Therefore bite the bullet, order that
72-pin RAM SIMM, and get on with the rest of your life.
Resource Overview (Summary sheet)
Whether you are looking for a performance summary, or the low level detail,
begin along this path:
Start Orb
Control Panel -->
System and Maintenance -->
Performance Information -->
Advanced Tools -->
Reliability and Performance Monitor.
As we are concerned with Disk let us home in on the 2nd bar and the second
graph 'Disk'.
KB / sec and
% Highest Active Time To see these counters in action, it is best to launch a few
applications and then open or save files.
Image --> PID --> File --> Read
The detail under the Disk summary is particularly interesting (see screen
shot above). If you open a few applications or files, then you can see how
Vista multi-tasks the disk sub-system in real time. What the information
shows is which files are being accessed, and whether the operating system is
reading or writing from those files.
The Performance Monitor (perfmon) found in other Windows operating systems,
has now been moved inside Vista's Reliability Performance Monitor. It is
sufficiently hidden to encourage beginners to look at the summary sheet before
tackling the Performance Monitor. I have used Perfmon for years, and still
regard it as a black art. Difficulties include, so many counters that the
data is
confusing and, what do the values mean?
Two useful PhysicalDisk counters
To help you through the maze of counters, this is how I would begin a disk
analysis. From the diagram on the right, click on the big green cross,
scroll down to PhysicalDisk then expand the selection (double click). I
suggest that you add the two counters: % Disk Time and Current Queue Length.
When you analyze the resulting trace the biggest problem is distinguishing
spikes of normal activity, from underlying bottlenecks. If % Disk Time is
greater than 50% for long periods, then that is a sign of a disk problem.
Also any Queue Length greater than 2 is worrying. By all means investigate
other disk counters, but I do council you to keep your main goals in mind.
Is this a disk problem? If I am sure, what should I do to speed up the
machine?
Reliability Monitor
Once you have launched the Reliability and Performance Monitor, seek out the
Reliability Monitor in the left hand pane. One point of interest is the
System Stability Chart, in particular the index value (also known as the SSI).
See 9.22 on the chart below.
Underneath the index part of the chart, are details of any failures. Observe
two red xs opposite 'Miscellaneous Failure in the screen shot above. In fact,
tracing this record of failures is more informative than the raw SSI score.
Guy Recommends: SolarWinds Engineer's Toolset v10
The Engineer's Toolset v10 provides a
comprehensive console of utilities for troubleshooting computer problems. Guy says
it helps me monitor what's occurring on the network, and the tools
teaches me more about how the system literally operates.
There are so many good gadgets, it's like having free rein of a
sweetshop. Thankfully the utilities are displayed logically: monitoring, discovery, diagnostic, and Cisco tools.
Download your copy of the Engineer's Toolset v 10
A defrag would be the place to start. If the machine still runs slowly,
consider buying a bigger and faster disk adding more disks would enable you to
create a stripe set and thus speed up disk read / write. However, if you
have no money, is there any chance that the activity that causes the disk
bottleneck could be moved to another machine? For example printing, or
scanning. Once a disk gets to about 70% full there would be benefit in
weeding out unwanted files, deleting temporary files, and considering storing,
backups, or seldom used files to another machine.
Start Orb
Control Panel -->
System and Maintenance -->
Performance Information -->
Advanced Tools --> Open Disk Defragmenter.
Once you open the Disk Defragmenter all that you can do is 'Defragment Now',
or else schedule a defrag for a more suitable time. In Vista, unlike XP,
there is no GUI to analyse your disks and thus see whether they need
de-fragmentation. What is more there is no status bar to indicate how a
defrag is proceeding. When you read-up on Vista's defrag it won't be long
before you discover that there are a plethora of third party tools, which
provide all the features that you can think of any many that had not realized
were available. The only problem is that some cost more than Vista.
With defrag you go through stages, of: 1) This file moving is amazing.
2) I dare not do anything during a defrag (perfectly safe). 3) There is nothing
to this defrag. My final thought on this sequence is not to be lulled into
a false sense of security. If you do buy a defragger, make sure that it is
certified for Vista.
Defrag.exe in Vista
If you launch a cmd prompt, preferably with 'Run as administrator', then you
can issue the following command:
defrag /?
Here is the resulting information on defragging your machine. As you
will see, the command line executable gives much more control than the GUI
version.
<volume> Specifies the drive letter or mount point path of the volume to
be defragmented or analyzed.
-c Defragments all volumes on this computer.
-a Performs fragmentation analysis only.
-r Performs partial defragmentation (default). Attempts to consolidate fragments
only smaller than 64 megabytes (MB).
-w Performs full defragmentation. Attempts to consolidate all file
fragments, regardless of their size.
-f Forces defragmentation of the volume when free space is low.
-v Specifies verbose mode. The analysis output is more detailed.
Start Orb
Control Panel -->
System and Maintenance -->
Performance Information -->
Advanced Tools --> Generate a system health report
In particular, look out for these two tests:
SMART Predict Failure Check
Logical Disk Dirty Bit
Windows Vista Training
Train
Signal have an excellent
Windows Vista Training Course. As an MCT
trainer, I am a huge advocate of Train Signal’s products. What impresses is me is that they demonstrate everything that they teach and they stay away from traditional 'lecture-style' training. If
you are looking for a complete DETAILED coverage of Windows Vista, then I highly recommend that you give this course a try. I have reviewed their 18 hours of videos myself, and I guarantee that you will
not be disappointed!
This ebook will explain the workings of the registry. I thoroughly enjoy tweaking the registry, and I want to distill the best of my experiences and pass them on to you.
Each registry tweak has two aims; to solve a specific problem, and to provide general learning points, which help you to master regedit.
Over 60 pages ebook and PDF format
*
Guy
Recommends: Orion's NPM - Network Performance Monitor
Orion's performance monitor is designed for detecting network outages.
A network-centric
view make it easy to see what's working, and what needs your attention.
This utility guides you through troubleshooting by indicating whether the
root cause is faulty equipment or resource overload.