Thursday, April 1, 2010

11 Ways to Optimize Your Mac's Performance

Every now and then, my Macs begin to feel a little sluggish. There are many potential reasons why: I tend to run 8 to 10 applications all the time - and sometimes push 15 or more. This alone will bog down any Mac.
At other times, I realize that it's been weeks since I restarted the computer, and a simple restart will solve a lot of these woes.
When those don't speed things up, I've found a number of things I can do to encourage my Macs back to their youthful snappiness. Here are a few tips I've found for restoring my Macs to full speed without spending a penny.
Editor's note: None of these tips will improve your Mac's performance as much as more RAM, a faster hard drive, or a CPU upgrade can. They mostly have to do with reducing memory use by limiting the number of active processes and freeing up drive space, since a too full drive (especially past the 90% mark) can slow down your Mac. These are tips for getting the most out of the Mac you currently have without investing in hardware upgrades.

1. Clean out Startup Items
Some applications automatically (or when asked) set themselves as a "startup item", which causes them to open at every restart or login. You can find out what is in your startup items list by navigating to Apple Menu > System Preferences > Accounts > Login Items. You may be surprised at how many there are.
To remove them, simply select the item by clicking on its name and then hit the "minus" button at the bottom of the list. However, be sure that you know what you're removing; otherwise you may kill some critical function for the next time you restart.

2. Turn off Universal Access, Bluetooth, Speech Recognition, and Internet Sharing if you don't use them
While System Preferences is open, take a look at a few other things. Apple has generously included a number of very useful features as preferences. Some, however, may not be useful to you, such as Universal Access (which offers help for visually and hearing impaired users) or Bluetooth (which allows certain devices to be used wirelessly). If you don't use these features, verify that they are turned off. This will save you some valuable RAM and processor resources.

3. Clean Out 'Other' System Preferences
Don't close System Preferences yet! Take a peek in the bottom section of your System Preferences window, labeled "Other". How many items are down there? Do you know what they do? Do you use what they do?
If there is a Preference Pane that you don't use or that you use only occasionally, disable it (either turn it "off" within the Preference Pane itself or remove it from the folder "~/Library/PreferencePanes").

4. Check out what 'build' your software is
If you're running an Intel Mac, some of your software may be running under the "Rosetta" translator, which allows applications built for a PowerPC processor to run on an Intel chip. Rosetta is surprisingly efficient, but don't use it if you don't have to! There may be a patch for your favorite application that will upgrade it to a "universal build". By making sure you're running the latest version you can be confident you're not using Rosetta in vain (a utility like the App Update widget will help with this).

5. Clean out unnecessary code
You're either running a PowerPC or Intel processor. You don't have to understand what this means, but you should know that, with both being options, most recent software comes programmed for both. But you don't need optimization for both - you only need optimization for your computer. Fortunately, there are utilities like XSlimmer (and Monolingual - more on this in a minute) that will strip out unnecessary code in your software. This not only helps the applications run faster; it also saves hard drive space (sometimes a lot of it).
Editor's note: If you're using a PowerPC Mac and anticipate migrating to Intel, you might want to defer "slimming" your programs until you've made the switch. Otherwise all the programs you've slimmed for PowerPC will be running under Rosetta on your Intel Mac - unless you take the time to do a fresh installation.
We've also hear horror stories of XSlimmer eviscerating Rosetta, so if you use it on an Intel Mac, be sure you don't strip the System frameworks.

6. Get rid of languages and translations you won't use
Apple is very considerate in providing language localizations for many, many languages. But the chances are you aren't using the Catalan, Farsi, or Klingon language localizations on your Mac. And even if you are, you can strip out the other ones you aren't using and gain more efficiency and drive space using a utility like Monolingual.
By the way, the latest version of Monolingual will also strip out unnecessary architecture from your system - but not your applications - so it also performs a function similar to XSlimmer, yet different.

7. Cool off
The new MacBooks got a bad rap at first for running very hot; the truth is, every Mac will run more efficiently with a cooler processor. Even though they've largely fixed the cooling issue in the MacBooks, I use a utility called Fan Control on mine, which allows me to change the threshold for when my MacBook's fan turns on and off. This allows me to keep my 'Book running cooler, which maximizes performance (though it does shorten battery life a little bit).

8. Evaluate your Widgets
If you're using Mac OS X 10.4.x "Tiger", you have probably played around with the Dashboard. There are hundreds of useful widgets available, most for free - but there are many that you won't use, even if they are very helpful to others. This includes some that came with Tiger.
It takes RAM and processor power to keep these widgets running, even when Dashboard is hidden - so a judicious evaluation of what widgets you do use can boost computing efficiency nicely. Do you really need that Ski Conditions widget or the Clock widget running? If not, disable them to conserve RAM and processor use.

9. Keep an eye on Activity Monitor
There may be other things hogging your processor's attention or sucking up RAM. How will you know about them? By using Apple's Activity Monitor, which comes with OS X. Activity Monitor will tell you about CPU usage, RAM requirements, virtual memory usage, and whether a given application is a PowerPC or Intel (Universal) build. Check it occasionally to see if there are any red flags - or keep it running for a few days (with one of the useful Dock icons or floating windows enabled) to keep an eye on when things are spiking.

10. Clean off your hard drive
It doesn't matter how large your hard drive is - eventually it will begin to fill up. Whether it is a huge iPhoto library, some videos you're editing, or simply accumulation of lots of "stuff", a full hard drive can cause problems. (One colleague couldn't figure out why her drive was so full - until she realized that she hadn't emptied her Trash in almost four years!)
You may not realize that Mac OS X (and the Classic Mac OS, too) uses the free space on your hard drive as "virtual memory", and it depends heavily on that virtual memory to run efficiently. If you're starting to feel sluggish, it may be because your drive is too full. There are lots of ways to clean it off - maybe a different article will cover that - but sometimes a little more free space is all you need to be a peak performance again.

11. Run OnyX
Whenever things get slow on my Mac, one of the "go to" solutions is to run a utility like Onyx. (There are several, many of them free; I've found Cocktail and TinkerTool to be other good and popular options.)
These utilities offer a variety of "jobs" and "repairs" to the system, and while some are skeptical about how much this is necessary, my experience has been that they do bring a good level of optimization back to my Macs. I tend to run the whole battery of tools - both the maintenance and the cleaning options in OnyX - at the same time, but you may prefer to set them to run as scheduled routines in a certain order.
By the way, check out fellow Low End Mac writer Charles Moore's words about the value of these routines in his recent article on Applelinks, Yes, Running System Maintenance Routines Really Can Help.
It's not quite like getting a brand-new Mac - after all, the "next new thing" will always be faster than the current offerings, and no one can keep up all the time. But giving some attention to these optimization tasks won't take long - probably 2-3 hours for all of these, if you did them at the same time - and it will pay big dividends in speed.
You might even put aside those thoughts of upgrading - at least for a few days!