Sonntag, 2. Juni 2013

Mac OS X tuning tips


Here are some tips that made my 5 years old Mac Book Pro a lot faster.
Please note, that im using OS X 10.8.3 while reading this.
As the Mac OS X file system doesn‘t require defragmentation as the windows file systems do, I don‘t recommend using third party defragmentation tools.
I suggest you stick to the Mac OS X tools shown here. You will notice the difference, in speed gained.

If your'e, like me, using a Mac Book, make sure it's running with the power supply and not on battery.

1. Defragment the Hard Disk

Start the console.
In the finder, select: Applications -> Utilities -> Console

You can manually start the daily, weekly or monthly defragmentation jobs by typing:
-> sudo periodic daily
or
-> sudo periodic weekly
or
-> sudo periodic monthly
or all at once
-> sudo periodic daily weekly monthly

You will be asked to type the super user password each time.
Please wait until the defragmentation is done.
Don‘t be disappointed if it takes only a few seconds, because your Mac starts this jobs periodically on its own.

2. Repair the file Access Rights

Access rights, that are not set correctly can slow down your Mac.
But don‘t worry. Your Mac has the tools to correct the access rights.
Start the Disk Utility.
In the finder, select: Applications -> Utilities -> Disk Utility

In the disk utility window, select the volume and klick the button „Repair access rights“
Please wait until the job is done.

3. Repair volume

In order to repair damages on you (main) volume you open the „Disk Utility“.
To be able to repair and not just analyse the volume however, you have to start the disk utility in another way as described above. Shut down your Mac and start it again while holding the keys cmd+r (all together). A window, where you select the disk utility, will show up.
Select the volume and click „Repair Volume“ and wait until the job is done. This can take a while.
Don‘t bother if you get some minor errors at this time. On my Mac they disappered the second time i repaired the volume.

4. Reset Cache

Shut down your Mac, stating it again keeping alt+cmd+r+p (all together) pressed.
The second time your Mac "bounces up", you release the keys and your Mac will start all the way up.

Shut down your Mac and start it again. If you got some minor errors while repairing the access rights or the volume, you can try repeating those steps. I my case, my Mac generated no errors the second time and the gain in speed was significant!

Have fun!