If it is a mechanical disk, Spotlight, mds_stores seriously affect the use of experience
This morning a boot, equipment slow to stand, casually open an application for a few minutes. With top view, the CPU has more than 90% remaining. So it's not a CPU shortage.
Because of their own Mac Pro 2012 old, with a mechanical disk, according to previous experience, should be disk read and write but to cause problems. But the boot, I opened a iterm, how can there be so much read and write?
By viewing the disk read and write through the activity monitor, it is found that mds_stores read and write very large.
By querying, Mds_stores is the background process of spotlight. This will be understood. Due to the extraction of several iphone backup files yesterday, the number of files is particularly large, about 10G in size. So today when the boot again, spotlight in order to query the data when the user can quickly display the search results, so need to index these files and other information. Mds_stores is the process of building information such as indexing in the background. When this information is created, these files need to be read and analyzed, and the write index will cause the disk to read and write non-large.
Considering their own is the mechanical disk, as well as the use of the process, there may be a lot of file updates, and the query is not much, so decided to shut down the spotlight function, and the mds_stores of the background process to shut down.
To close the spotlight command:
Cd/system/library/launchagents
sudo launchctl unload-w com.apple.Spotlight.plist
To close the Mds_stores command:
Cd/system/library/launchagents
sudo launchctl unload-w com.apple.Spotlight.plist
After the shutdown, the device will be smooth!
MAC OSX's Spotlight, mds_stores off