Typically, the reason stated for disabling Windows indexing on an SSD is that "the seek times on SSD drives are so fast that you don't need indexing". That makes no sense to me and I'm beginning to wonder if I'm the only one. Here's why:
Here's how long it would take on an indexed hard drive:
- Time to seek to the index file: 15 ms
- Time to find the index entry for "rosebud" in it: (conservatively) 500 ms
- Time to read the file pathname listed on this index entry: (negligible, but let's say) 50 ms
- Time to seek to the discovered file: 15 ms
Total time: less than 1 second
Here's how long it would take on an unindexed SSD, assuming the correct file is happened upon after scanning "only" 20,000 of the files on the volume:
- Time to seek to 20,000 files: 0.1 x 20,000 = 2,000 ms
- Time to read contents of 20,000 files and look for a match: (optimistically) 1 x 20,000 = 20,000 ms
Total time: 22 seconds
Am I smoking something, or is everyone else?
- Finding a keyword in a file on an unindexed drive is not a matter of merely quickly seeking to a number of files. You also need to read the contents of each file to see if there is a match. Seek times of SSDs are a couple of orders of magnitude lower than hard drives, but their read speeds are better only by a factor of 2 or 3 (and sometimes not even that much). And you'll be doing much much more reading than you'll do seeking when you're looking for a keyword in file contents on an unindexed drive.
- More importantly, indexing is not a mechanism that quickens seek time to access a given file, it's a mechanism for quickening the discovery of which file to access. As the number of files you have to search through grows, even the lowliest indexed hard drive, will quickly beat out the fastest unindexed SSD RAID array on the planet.
Here's how long it would take on an indexed hard drive:
- Time to seek to the index file: 15 ms
- Time to find the index entry for "rosebud" in it: (conservatively) 500 ms
- Time to read the file pathname listed on this index entry: (negligible, but let's say) 50 ms
- Time to seek to the discovered file: 15 ms
Total time: less than 1 second
Here's how long it would take on an unindexed SSD, assuming the correct file is happened upon after scanning "only" 20,000 of the files on the volume:
- Time to seek to 20,000 files: 0.1 x 20,000 = 2,000 ms
- Time to read contents of 20,000 files and look for a match: (optimistically) 1 x 20,000 = 20,000 ms
Total time: 22 seconds
Am I smoking something, or is everyone else?
Last edited: