- Joined
- Mar 11, 2010
- Messages
- 2,122
- Motherboard
- Gigabyte GA-P55M-UD4
- CPU
- i7-860
- Graphics
- 9800 GT
- Mac
- Mobile Phone
As most Unix-based file-systems, HFS+ also updates the 'access time' upon reading files (don't confuse this with change/modification time).
Just browsing a directory will cause these accesses (e.g for previewing the file), leading to lots of unnecessary disk writes...
And think of Time Machine...
On Linux, it's been reported to improve I/O performance by up-to-40% !
It also could prolong the life of your SSD...
Credits to: http://www.ocztechnologyforum.com/forum ... post379197
Here's how to do it on your OSX main partition...
Create a text file with the following contents:
Save it to your Desktop as com.lnx2mac.noatime.plist (If using TextEdit, don't forget to format it as 'Plain Text').
Edit: Attached the com.lnx2mac.noatime.plist text file... com.lnx2mac.noatime.plistJust save it to your Desktop and proceed...
In a terminal type the following commands:
$ sudo chown root:wheel ~/Desktop/com.lnx2mac.noatime.plist
$ sudo mv ~/Desktop/com.lnx2mac.noatime.plist /Library/LaunchDaemons/
$ sudo launchctl load /Library/LaunchDaemons/com.lnx2mac.noatime.plist
$ sudo mount | grep ' / '
You should see something like:
/dev/disk0s2 on / (hfs, local, journaled, noatime)
Enjoy !
Lnx2Mac
Just browsing a directory will cause these accesses (e.g for previewing the file), leading to lots of unnecessary disk writes...
And think of Time Machine...
On Linux, it's been reported to improve I/O performance by up-to-40% !
It also could prolong the life of your SSD...
Credits to: http://www.ocztechnologyforum.com/forum ... post379197
Here's how to do it on your OSX main partition...
Create a text file with the following contents:
Code:
<?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.lnx2mac.noatime</string>
<key>ProgramArguments</key>
<array>
<string>mount</string>
<string>-vuo</string>
<string>noatime</string>
<string>/</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Save it to your Desktop as com.lnx2mac.noatime.plist (If using TextEdit, don't forget to format it as 'Plain Text').
Edit: Attached the com.lnx2mac.noatime.plist text file... com.lnx2mac.noatime.plistJust save it to your Desktop and proceed...
In a terminal type the following commands:
$ sudo chown root:wheel ~/Desktop/com.lnx2mac.noatime.plist
$ sudo mv ~/Desktop/com.lnx2mac.noatime.plist /Library/LaunchDaemons/
$ sudo launchctl load /Library/LaunchDaemons/com.lnx2mac.noatime.plist
$ sudo mount | grep ' / '
You should see something like:
/dev/disk0s2 on / (hfs, local, journaled, noatime)
Enjoy !
Lnx2Mac