File System seems slow/unresponsive: how to measure/test? I'm running a MacBook Pro, Mid 2010 model, that I recently upgraded to Mountain Lion. Around that time, or maybe shortly after, I began noticing some problems that I can only attribute to a general slowdown in accessing files on my hard drive. I have 8GB RAM, and rarely run out, so I don't think it's just a matter of paging vs not paging.

The evidence is reasonably convincing. For example, I'm a Java programmer and use NetBeans. The app I have configured takes over a minute on this machine to run, but only 30 seconds or so on a more-or-less identical setup on a much weaker machine: a late 2008 MacBook with only 4GB RAM. And what it's mostly doing is reading and processing several hundred files of various kinds.

So far, though, the evidence is entirely anecdotal. I'm looking for some kind of test I can run that will see whether my file system/HDD is performing as expected or whether it's something else entirely. Also something I could take to the Apple Store and say, "look this thing says there's a problem." Does such a thing exist?

Edit: another interesting difference. This Mac takes just shy of three minutes to reboot (that's desktop disappearing to desktop reappearing). The older MacBook I'm comparing against (also running 10.8.3) takes just over one minute.
The upgrade might have corrupted your Spotlight index - which would result in the computer constantly reindexing itself (or at least, seeming to). I've heard this is a common occurrence when upgrading through OS X - it happened to me when I upgraded to Lion.
You can destroy the Spotlight index by doing the following:

Go to System Preferences → Spotlight → Privacy and exclude your HD, reboot and then include it again. This should prompt Spotlight to reindex (having destroyed the old index). Source

If that doesn't work, try deleting the Spotlight index manually. This will force it to reindex.

In terminal run man mdutil - this will allow you to verify by using the manual function that this is a command related to spotlight.

Once satisfied run mdutil -i off, switching off the Spotlight index.

Run sudo rm -rf /.Spotlight-V100 This will delete the entire Spotlight cache.
You may prefer to rename it using sudo mv /.Spotlight-V100 /disabledspotlight - it will have the same effect, and gives you a backup.

Run mdutil -i on to restart indexing.

Leave for a few hours while it does its thing.


Some references as to the safety of doing this:

MacRumors Forum Thread: &quot;Is .Spotlight-V100 safe to remove?:
Apple Support Communities Thread: &quot;Removing/deleting Spotlight-V100?&quot;
the Apple Genius that helped me when I was having Spotlight issues.

This could be totally off, and not your problem at all - but on the other hand, it might help.