On TV.com: TOP 10 Shows CANCELED Too Soon
BNET Business Network:
BNET
TechRepublic
ZDNet

June 5th, 2008

Fixing Windows Vista, Part 5: Faster, smarter search

Posted by Ed Bott @ 6:25 am

Categories: Tips, Windows Vista

Tags: Microsoft Windows Vista, Index, Microsoft Windows Explorer, Windows Search, Microsoft Windows, Operating Systems, Microsoft Windows Vista (Longhorn), Software, Ed Bott

<– Continued from previous page

Managing search performance

Occasionally, I read a complaint about the performance hit that Windows Search causes on Vista systems. Invariably, when I look further into these cases, I find the cause is elsewhere. (You can see for yourself by using the Disk section of Resource Monitor, as I describe in part 3 of this series.) The reality is that the indexing service is specifically designed to back off when you use your computer for other activities, switching to low-priority I/O and allowing foreground I/O tasks, such as opening the Start menu, to execute first. When Windows Vista first builds its index after installation, or if you copy a large number of files to the system at once, the indexing can take a long time, but you shouldn’t notice any impact on performance.

To monitor the current status of the index, open the Indexing Options dialog box (the most convenient way to do this is to click Start, click Control Panel, and type index in the search box in the upper right corner of the Control Panel window. The status message at the top of the page tells you what’s going on with the index in real time. On my current system, the index is up to date, so I see this message:

Indexing complete in Windows Vista Indexing Options dialog box

If the indexing service is currently working on some files, you’ll see this message instead:

Indexing speed reduced in Windows Vista

That message indicates that the indexing service has backed off in response to your activity and is operating at a fraction of its normal speed. If the number of files to be indexed is big enough (if you copied a folder full of several hundred documents, for instance), you’ll see the indexing speed pick up dramatically if you keep your hands off the keyboard and mouse for a minute or so.

At any given time, the SearchIndexer service uses only a small percentage of available CPU resources. Using Task Manager or Process Explorer, you can see the status of the SearchIndexer process; if it’s actively engaged in indexing, you should see two additional child processes, SearchProtocolHost and SearchFilterHost. The indexing processes are used to create the index, but not to access it. Windows Explorer access the index directly, so even if the indexer is busy it shouldn’t affect the speed of a search operation. In normal operation, retrieving search results from even a very large index should take no more than a few seconds. If you see hang-ups in either Explorer or Outlook when performing a search, you’ll need to look at the operation of the program itself to find the problem. (Outlook 2007 add-ins, for example, can dramatically slow down the program, and because Outlook runs as a child process of Explorer.exe they can also affect Windows Explorer.)

If you’re impatient, you might want the search indexer to work at full speed after you copy or move a large number of files to an indexed location. There’s a group policy setting you can adjust to disable the “back off” logic, but it’s far easier in Vista to use the Windows Search Indexer gadget created by Microsoft developer Brandon Paddock. (The gadget works under the original version of Windows Search, but the Index Now feature requires Windows Search 4.0.)

Indexing status and control gadget for Windows Vista Sidebar

As you can see, the small, lightweight gadget shows how many files are currently being indexed. If no indexing is in process, the message displays the text “Index up-to-date.”) The four buttons along the bottom of the gadget allow you to control how indexing works. The button at the right side opens the Indexing Options control Panel. The group of three buttons on the left allow you to pause, restart, or accelerate indexing. The third (Index Now) button disables the back-off logic and allows indexing to proceed as a foreground task, which comes in handy when you want to quickly rebuild the index or add a large number of new files.

Next week, I’m going to begin a new series of tips for Windows Vista. As part of that series, I’ll explain how to tweak Search settings to match the way you work, and how to use searches more effectively. Stay tuned!

Pages: 1 2

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 157 Talkback(s)
Problem (?) with Vista/Home Server Searches
"Just to follow up...
Eric and I solved this via a private e-mail exchange. The index on the WHS machine had to be rebuilt. There are some other issues as well, which I'll write about later. Poste... (Read the rest)
Posted by: tim-jk Posted on: 10/06/08 You are currently: a Guest | | Terms of Use
agree  reverseswing | 06/05/08
Hey Ed  reverseswing | 06/05/08
Should be listed as an installed update  Ed BottZDNet Moderator | 06/05/08
An easier way,  rtk | 06/05/08
Nice, thanks!  Ed BottZDNet Moderator | 06/05/08
Actually...  Chustar | 06/05/08
The speed up indexing feature requires WS4  Ed BottZDNet Moderator | 06/05/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  reverseswing | 06/05/08
Just install the new version  Ed BottZDNet Moderator | 06/05/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  ambellalta | 06/05/08
XP search requires separate window  Ed BottZDNet Moderator | 06/05/08
Mobile version can't get to page 2  ZDNET_guest666 | 06/05/08
I'll forward to ZDNet ops people (nt)  Ed BottZDNet Moderator | 06/05/08
Update  Ed BottZDNet Moderator | 06/06/08
Problem (?) with Vista/Home Server Searches  EAR68 | 06/05/08
Answers  Ed BottZDNet Moderator | 06/05/08
Thanks, but need more help  EAR68 | 06/05/08
Just to follow up...  Ed BottZDNet Moderator | 06/06/08
Thanks for your series Ed  marks055@... | 06/05/08
I only wish...  Ed BottZDNet Moderator | 06/06/08
Yes I agree but the backup  tech_walker | 06/08/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  Williepr | 06/05/08
Google Alert "Ed Bott"?  martin23 | 06/05/08
Martin, you're confused wink  Ed BottZDNet Moderator | 06/05/08
How does it compare with Spotlight  davebarnes | 06/05/08
I have no idea  Ed BottZDNet Moderator | 06/06/08
A blessing or a bandage?  CobraA1 | 06/06/08
"All Programs" was always a poor solution, imho  cgdams | 06/06/08
agreed  CobraA1 | 06/06/08
The search feature ...  zenwalker | 06/06/08
a blessing  rtk | 06/06/08
Low priorities do not make heads magically move faster.  CobraA1 | 06/06/08
What you're missing...  Ed BottZDNet Moderator | 06/07/08
Define "negligible."  CobraA1 | 06/07/08
One serious shortcoming  ivo_z | 06/06/08
i agreed with MS.  magallanes | 06/06/08
Missed the point...  ivo_z | 06/06/08
Search is still broke  Madness80 | 06/06/08
Is there an iFilter for web.config files?  Ed BottZDNet Moderator | 06/06/08
Wrong  chessmen | 06/06/08
well duh!  notsofast | 06/06/08
Catch-22  Madness80 | 06/06/08
The reason is quite clear, i think...  cgdams | 06/06/08
You don't know who to use the tool  Heatlesssun1 | 06/06/08
Or make it faster  Ed BottZDNet Moderator | 06/06/08
I don't think so....  cgdams | 06/06/08
M$ copycat  exxtraz | 06/06/08
Apple showed who is faster  Snarfiorix | 06/06/08
LOL - that's funny....nt  socialism=nowhere | 06/06/08
That's because  frgough | 06/06/08
ummm, what about  rtk | 06/06/08
too funny  rtk | 06/06/08
Vista came out before Tiger?  frgough | 06/06/08
Of course not,  rtk | 06/06/08
A good search tool is a good thing  ThePrairiePrankster | 06/06/08
The Incredible But Useless Vista Search  chessmen | 06/06/08
It always amazes me....  cgdams | 06/06/08
It is not strange to be organized  ThePrairiePrankster | 06/06/08
No, that's not strange at all,  cgdams | 06/06/08
Install Copernic and you may change your mind  notsofast | 06/06/08
Agreed  Ed BottZDNet Moderator | 06/06/08
What Are You Searching For?  chessmen | 06/06/08
Interesting discussion...  ekcj | 06/06/08
Then you dont' have much on your computer  notsofast | 06/06/08
Opinion...I find Vista better and works great...never has a problem with  socialism=nowhere | 06/06/08
More Floss again from Ed Bott  ramnet@... | 06/06/08
Ken,  rtk | 06/06/08
Not Ken's Fault  X41 | 06/11/08
$795...wow. Ouch.  beoz | 06/06/08
A search that works well  frgough | 06/06/08
All I know is that indexing turned on  jimk_z | 06/09/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  Snarfiorix | 06/06/08
I guess I missed the point..what's so great  royalef | 06/06/08
Wrong  Ed BottZDNet Moderator | 06/06/08
Bingo! - nicely done Ed...user a computer seems be a problem too...nt  socialism=nowhere | 06/06/08
You ned to rethink this - disk i/o is a BIG issue  bperrybap@... | 06/06/08
I've studied carefully  Ed BottZDNet Moderator | 06/06/08
My Observations  bperrybap@... | 06/06/08
Here's what you're missing  Ed BottZDNet Moderator | 06/07/08
Performance management is broken  mthornton | 06/06/08
Again, i don't think so...  cgdams | 06/06/08
If only ...  mthornton | 06/06/08
Did you try Brandons gadget?  cgdams | 06/06/08
Search indexer is stuck  mthornton | 06/06/08
Minimal power settings  deowll | 06/06/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  akumudzi2@... | 06/06/08
TechRepublic Reports Poor Vista Sales  chessmen | 06/06/08
FUD  crypt2121 | 06/06/08
yeah, nice 5 month old article.  rtk | 06/06/08
That article doesn't say it's tanking.  beoz | 06/06/08
According to you and the media  deowll | 06/06/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  richard.schuch | 06/06/08
Because HP needs to write a control program for it  Ed BottZDNet Moderator | 06/06/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  richard.schuch | 06/06/08
How about talking to the right people...  cgdams | 06/06/08
better idea.  rtk | 06/06/08
Prefer X1  cookrd1@... | 06/06/08
X1 - 2 (too)  jfgeschmidtt | 06/06/08
X1 is fantastic!  ivo_z | 06/06/08
Sounds interesting  beoz | 06/06/08
A short list::  ivo_z | 06/07/08
I want an easy way to get to Advanced Search  hansonjb | 06/06/08
How about [Win]+[F]?  cgdams | 06/06/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  Lerianis | 06/06/08
great example  rtk | 06/06/08
google search  deowll | 06/06/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  smileyrob2 | 06/06/08
try typing *port...  cgdams | 06/06/08
Works just fine here  Ed BottZDNet Moderator | 06/06/08
Check your options  alaniane@... | 06/06/08
First secret is  rtk | 06/06/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  mthornton | 06/06/08
Gadget results  mthornton | 06/06/08
And what happens ...  Ed BottZDNet Moderator | 06/06/08
Indexer is stuck  mthornton | 06/06/08
Thunderbird not indexed  Ed BottZDNet Moderator | 06/06/08
"Thunderbird not indexed"  TimothyMcGowan | 06/14/08
You need iFilters  Ed BottZDNet Moderator | 06/15/08
Thank you Ed!  Speednet | 06/06/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  alaniane@... | 06/06/08
Advanced Search Syntax  Ed BottZDNet Moderator | 06/06/08
Thank you  alaniane@... | 06/06/08
Thank you Ed...another good article...nt  socialism=nowhere | 06/06/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  s0121@... | 06/06/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  alaniane@... | 06/06/08
In The Spirt Of Helping Those Who Love Vista Search  chessmen | 06/06/08
You must have missed this...  Ed BottZDNet Moderator | 06/06/08
What if you DON'T want  chaz15 | 06/06/08
Yes, you can turn it off  Ed BottZDNet Moderator | 06/06/08
then adjust the indexer options  rtk | 06/06/08
Good article,  GVC2031 | 06/06/08
Will be offered through Windows Update later  Ed BottZDNet Moderator | 06/06/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  atari8bit@... | 06/06/08
a bit strange point of view...  cgdams | 06/07/08
Actually...  klumper | 06/07/08
So long ZD-Net  No_Ax_to_Grind | 06/07/08
Why do you post that here?  Ed BottZDNet Moderator | 06/07/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  jyin@... | 06/07/08
Uses same search engine as Vista  Ed BottZDNet Moderator | 06/07/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  Ross Snowden | 06/07/08
Searching by file name only  MartyList | 06/08/08
Does a 5 part series make it worth the money?  Chad_z | 06/08/08
Bzzzzttt  Ed BottZDNet Moderator | 06/09/08
Vista Not Worth The Money  chessmen | 06/09/08
Uh, dude?  Ed BottZDNet Moderator | 06/09/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  Doctor Neutron | 06/10/08
Send me an email  Ed BottZDNet Moderator | 06/10/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  edwally | 06/11/08
Got a question there?  Ed BottZDNet Moderator | 06/11/08
RE: Windows Vista, Search [OFF] due to anomaly  RDrr | 06/18/08
Simple solution  The_Curmudgeon | 06/25/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  CFray@... | 08/20/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  batres | 08/26/08
Not in my experience  Ed BottZDNet Moderator | 08/26/08
RE: Fixing Windows Vista, Part 5: Faster, smarter search  tim-jk | 09/30/08
What problem are you talking about?  Ed BottZDNet Moderator | 09/30/08
Problem (?) with Vista/Home Server Searches  tim-jk | 10/06/08

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

Click Here
advertisement

Recent Entries

Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
advertisement

Archives

ZDNet Blogs

White Papers, Webcasts, and Downloads