Not so in Lion/Mountain Lion. It's hogging resources and seems ever more prone to corruption. I think, among other things, Apple set the process priority too high -- perhaps because they're now coding for SSD storage. Spotlight can paralyze my 2 yo 27" iMac; sometimes a forced shutdown is my only option (which seems to corrupt the index -- so I pay back later).
Windows Process Explorer allows adjustment of process priority, but Mac Activity Monitor doesn't. There are ways to adjust mdworker priority by editing /com.apple.metadata.mds.plist attributes of LowPriorityIO and Nice, but these seem like risky system edits. On my currently too-slow MacBook running Lion I, will, however, experiment with the recommendations on this site:
Shortcuts I use to set up a new OSX user accountI think there's more than one bug with Spotlight in Lion/ML. For example, I think performance deteriorates over time. I need to restart my ML system much more frequently that Snow Leopard.
Set Spotlight indexer (mds, mdworker) to a lower processor priority:
sudo defaults write /System/Library/LaunchDaemons/com.apple.metadata.mds LowPriorityIO -bool true
sudo defaults write /System/Library/LaunchDaemons/com.apple.metadata.mds Nice -int 20
(there are several speedups on this page I'll try on the MacBook)
Apple needs to give lots of attention to Spotlight in its ML maintenance updates.
See also:
- Shortcuts I use to set up a new OSX user account (Gnarlodious)
- MDS and mdworker processes gone wild: Apple Support Communities
- Is mdworker Jeopardizing Your Resources? Run It at a Lower Priority | The Grey Blog
- Tutorial: Troubleshooting Spotlight | MacFixIt - CNET Reviews: A good collection of tips and fixes. I'm going to exclude my Aperture/Image folders from Spotlight indexing; I don't think Aperture's internal search uses Spotlight and I never need to find photos using Spotlight.
3 comments:
There I was reading your blog (which I subscribe to by RSS) and suddenly there was my name!
You did a great job on that page. Thanks for sharing it!
Also, interesting web site. I was tagged as Golem :-).
Post a Comment