Speed up Mac OS X Leopard

by Stuart Bowness

After a year and a half of running Mac OS X Leopard things have become extraordinarily slow on my MacBook Pro. After a quick googling on the subject of how to speed up Mac OS X Leopard I have decided to write my own brief tutorial on a handful of things you can do to effectively increase the performance of OS X. This is meant as a programmer’s quick reference guide so if you are not technically savvy you may want to google “performance tune mac os x” for more verbose explanations.

14 Mac Performance Tuning Applications and Tips

  1. Disable Dashboard Widgets. Each dashboard widget you enable consumes both processing power and valuable memory. To disable widgets and speed up your mac follow these steps:
    • Open up terminal.app located in Applications > Utilities > Terminal
    • Copy this, paste it in the terminal and hit enter: defaults write com.apple.dashboard mcx-disabled -boolean YES
    • Then enter this: killall Dock
    • That’s it! Dashboard widgets are now disabled
  2. Run the Mac OS X disk repair utility location in Applications > Utilities > Disk Utility and then run repair disk permissions.  See this article on the repair functions of the disk utility.
  3. Download and run Monolingual to remove all the additional languages that are built into OS X by default and you are likely to never use. I removed everything except English, Spanish, German and French since those are core languages on websites I sometimes frequent.
  4. Download and run XSlimmer to remove all unnecessary PPC (PowerPC) code from Universal Binaries. Only use this if you are using an Intel based Mac. Additionally it is worthwhile noting that I had problems with Photoshop after slimming the application, so perhaps avoid using XSlimmer on CS3 or CS4.
  5. Download and run OnyX. Run the daily, weekly and monthly scripts. Clear out all log files.
  6. Removing unnecessary login items by going to System Preferences > Accounts > Login Items. Note that in order to actually remove a login item you need to select the item and then hit the minus button at the bottom of the preferences screen.
  7. Even though Mac OS X has a journaled filesystem that should automatically handle defragmentation on the fly, it doesn’t do a great job of keeping the drive from becoming fragmented. iDefrag solves these problems and more, by defragmenting and optimizing your Mac’s filesystem at boot time. All you have to do is restart your computer, run the iDefrag boot DVD and it will defragment the entire hard-drive. I noticed a substantial performance boost (I would say up to around 20%) after using this.
  8. Minimize by using the scale effect by going to System Preferences > Dock and changing the default from the Genie effect to the Scale effect. Also you can uncheck “animate opening applications” to boost performance.
  9. Ensure you have a minimum of 10% disk space available so that OS X can run effectively. If you don’t have this much space free try using GrandPerspective to determine what is using space on your hard drive and what you might be able to delete.
  10. Remove fonts that you don’t use. You can do this by going to the finder and removing fonts from your home folder > library > fonts.
  11. Turn off Universal Access by navigating to System Preferences > Universal Access and turn off anything you’re not using.
  12. Turn off Bluetooth by navigating to to System Preferences > Bluetooth.
  13. Turn off Internet Sharing by navigating to to System Preferences > Sharing > Internet.
  14. Check the Activity Monitor located in Applications > Utilities > Activity Monitor to see if there is anything running that is consuming processing or memory resources. This should go without saying.

4 Command Line Performance Tuning Tips

  1. You can speed up TCP connections by opening the terminal.app and typing pico /etc/sysctl.conf and adding the following lines to the file:
    net.inet.tcp.mssdflt=1460
    net.inet.tcp.sendspace=262144
    net.inet.tcp.recvspace=262144
    net.inet.udp.recvspace=74848
    net.inet.udp.maxdgram=65535
  2. You can speed up SSH connections by opening the terminal.app and typing pico ~/.ssh_config and adding the following lines to the file:
    host *
    controlmaster auto
    controlpath /tmp/ssh-%r@%h:%p
    It should be noted here that this may cause some glitches as I have run into some odd controlmaster errors after implementing this command. You can always try it and remove the code if it gives you problems.
  3. Disable dashboard by opening up the terminal.app and running the command:
    defaults write com.apple.dashboard mcx-disabled -boolean YES
    and then run killall dock to restart the dock.
  4. To optimize firefox’s tab/bookmarks/cache databases on OSX, close firefox, open terminal.app and run #cd ~/Library/Caches/Firefox/Profiles; for i in */*.sqlite; do sqlite3 $i VACUUM;done; cd ~/Library/Application\ Support/Firefox/Profiles; for i in */*.sqlite; do sqlite3 $i VACUUM;done;

11 Responses to “Speed up Mac OS X Leopard”

  1. Ant says:

    You’ve been using Snow Leopard for 18 months? You’re the only person in the world who has.

  2. Thanks for pointing that out I must have been dreaming it was Snow Leopard while I was writing it. Heh.

  3. Pete says:

    Great guide, however I have one issue.

    In your command line tips, the file “/etc/sysctl.conf” does not exist on my system.

  4. scott says:

    he said OS X leopard not snow leopard… thanks helped alot

  5. James Davidson says:

    Everything I have read to date indicates that it is not necessary to defrag a macintosh drive.

  6. Rafer says:

    Apple Insists u dont have to defrag. But in fact u do. after years as a osx user I had to take out all my files, erase them and put them back in now and then. this idefrag app saved me a lot of time and boredom. Thanks!!!!!!!

  7. Wha? Rafer says:

    “Apple Insists u dont have to defrag. But in fact u do. after years as a osx user I had to take out all my files, erase them and put them back in now and then. this idefrag app saved me a lot of time and boredom. Thanks!!!!!!!”

    OMFG. And you wonder why Mac users are made fun of….

Trackbacks/Pingbacks

  1. ... Excerpt from: Speed up Mac OS X Leopard « Locomotion ...

  2. ... This post was Twitted by Alltop_Mac ...

  3. ... here’s a great link that I found recently when my Macbook Pro started running a little sluggishly.  I followed most of ...

  4. ... Locomotion – Speed up Mac OS X Leopard ...

Leave a Reply

*
Type the security word shown at the right, below.
Click to hear an audio file of the anti-spam word