Sunday, September 20, 2015

Optimizing SSD Access-Time (noatime)

Terminal commands:

echo '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
 "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
 <dict>
 <key>Label</key>
 <string>com.noatime</string>
 <key>ProgramArguments</key>
 <array>
 <string>mount</string>
 <string>-vuwo</string>
 <string>noatime</string>
 <string>/</string>
 </array>
 <key>RunAtLoad</key>
 <true/>
 </dict>
</plist>' | sudo tee /Library/LaunchDaemons/com.noatime.plist
sudo chown root:wheel /Library/LaunchDaemons/com.noatime.plist

Reboot

No comments: