Mac Maintenance, Part 2: Optimizing OS X Performance
Now that we know how to protect your hard drive and its data (see last week's column), it's time to find ways to maximize the performance of Mac OS X itself. The following tips should help you keep your system software lean and mean, making your Mac faster and more reliable while keeping more disk space available.
My first tip is a hardware tip - even a Unix tip. As you probably know, OS X is a Unix-based operating system. Unix is known for its robustness, security, and stability, but it is a resource-hungry system. It requires large amounts of RAM to deliver the best possible performance.
As they say, size does matter - for Unix anyway. Therefore, I recommend that you install as much RAM as you can afford on your Mac. You will thank yourself for it because it makes a genuine difference.
The way you allocate memory also has an impact on system performance. When you launch programs, they use the computer's memory and divide it between themselves. Memory hogs, such as Photoshop, generally need to eat up large chunks of RAM to offer their best performance, so keeping a minimum of applications open helps performance. If you have to work with several open applications, you should install all the memory that your Mac can handle. RAM is cheap nowadays.
For years, I thought I would never find a simple and suitable replacement for GoLive 4, and yet I found a magnificent open-source solution recently. (We will look at open-source software in a later column.)
No matter how much RAM you have installed and how you use your applications, there are other ways to keep Mac OS X zippy.
Save Disk Space
The first one is to have the smallest possible number of files on your startup disk. Why? As we explained in last week's article, your disk keeps track of your files in a directory. When your directory is too large, your disk has to work harder to find things, and that slows down overall performance. Imagine that you have to search for a book in different libraries. It will take you less time to find the book in a small, organized library than in a large, disorganized one.
Another important thing to keep in mind is that Mac OS X uses virtual memory, which allows it to treat your hard drive like very slow RAM, so having plenty of free space on the startup drive is a great bonus for your system.
The leaner your startup drive, the faster your Mac will be. You have learned how to organize the directory last week. Now you may want to consider how to shrink the amount of space you use. Don't hesitate to use my tip to divide your drive into a "system" and a "data" partition to achieve this goal. Separating your work files from the system is great for speed as well as security.
Another burden your Mac shouldn't have to carry: logs, caches, and histories. Don't get me wrong. These files are useful, but if you never clean them up, they will become cumbersome and they may even become damaged.
Mac OS X behaves as a server because Unix is server operating system. If you make sure it is on between 3:15 a.m. and 5:30 a.m, it will automatically perform background daily, weekly, and monthly maintenance routines. If you do not like leaving your computer on during the night, there are two ways to trigger these routines manually.
The geeky way: When logged in with an administrator account, go to your startup disk, open the Applications folder and then the Utilities subfolder. Launch the Terminal. Without quotes, type "sudo sh /etc/daily" and enter your password. Let your Mac run the routine and wait until you see your username again. Repeat the drill with "sudo sh /etc/weekly" and "sudo sh /etc/monthly".
Don't be too scared of the Terminal. Once you tame it, it won't
If you have been running your Mac for months or years without doing this, you should clear plenty of disk space - and you may notice a difference in performance.
By the way, don't forget to clean up and reduce the size of your browser's cache. Erasing the browsing history, reducing the number days kept in the history, and minimizing the number of stored cookies will also help. These can slow you down when browsing.
Another way to save disk space: If you reinstall Mac OS X, make sure to select only the frequently-used languages and printer drivers before installing. This will prevent the installation of a very large number of files on your system disk. If you haven't used Simplified Chinese in the last few years and none of your friends or relatives are familiar with it, keep it off your hard drive. You can always add it later on if you discover you need it.
Want to save even more space? Whenever you install software, keep the original installer around - even when it's shareware. Most programs offer you an Uninstall option right in the installer or a separate Uninstaller application. When you stop using a program, get rid of it. This will save disk space, and a proper uninstall will also remove all of the related files that you no longer need.
Fix Your Files
Among Mac OS X's Unix characteristics, there is the use of file permissions. When these get messed up, you may be unable to use all the functions of your favorite software or you may have problems handling some files. To keep such annoyances out of the way, repair your permissions every month with the Disk Utility.
Lastly, corrupt files, depending on which ones they are, can cause their share of problems. It is always good to find out if you have any, in order to toss them out. TechTool Pro 4 does a fantastic job testing files and reporting issues. While using TechTool, why don't you also run the File Info test to see if your file icons and other information need to be fixed? Both tests can easily be found in the Tests category, under the Files tab.
Among corrupt files, look out for corrupt fonts. They can make your applications unstable. And when you have too many fonts loaded, your Mac's performance will decline. I suggest looking at this list of basic system fonts (for Tiger) and disabling all other fonts until you need them. The Font Book (introduced with Panther) is located in the Applications folder. Launch it, select the fonts you want to disable, and click on the checkmark button in the middle of the window. You can always turn a font on later.
Next Week: Testing Your Hardware
- Link: Mac Maintenance, Part 1: Protect Your Hard Drive and Data
- Link: Cocktail
- Link: TechTool Pro 4, US$97.97
Michel Munger is a journalist who lives in Montréal. He discovered the Mac in 1994, and his work on a PC reminds him every day why he embraced Apple's platform. Munger has also authored some MacDaniel columns.
You can learn more about him on his personal website.
Recent articles by Michel Munger
- Thunderbird 2.0: A simple, powerful, free email client, Macinthoughts, 2007.04.25. Mozilla Thunderbird doesn't suffer from feature bloat like most commercial email programs. It puts the focus on doing what you need efficiently.
- A decade of progress, Macinthoughts, 2007.04.09. 10 years ago, Windows 95 was a mess, System 7.5 was becoming unstable, and Apple's future was in doubt. Today OS X is rock solid, Vista has learned from Apple, and Apple is a runaway success.
- Entourage, the best overall email software on the market, iBasics, 2005.12.08. Microsoft's email client is easy to use, integrates with Office, is sluggish, and can only be purchased as part of Office.
- More in the iBasics index.
Links for the Day
- Mac of the Day: Centris 650, introduced 1993.02.10. The replacement for the Quadra 700 has room for an internal CD-ROM.
- May 26 in LEM history: 99: iMproving the iMac - Replacement hard drive won't boot - 00: PowerPC 750CX, CXe - 04: PearPC's slow Mac emulator - Use a PC keyboard with uControl - 06: MacBook a sign of things to come - All you need to know about the MacBook - 2 GHz PowerBook upgrade
- Support Low End Mac
Recent Content on Low End Mac
- World Book Encyclopedia 2012 DVD, Tommy Thomas, Reviews, 2013.03.05. "You may be asking yourself, in an age of Wikipedia and instant information, is World Book still relevant?"
- Vintage Computer Festival SouthEast, April 20-21, 2013, Simon Royal, Mac Spectrum, 2013.02.25. Old Apple gear and old PCs.
- iMessage: The Ultimate Messaging Service?, Simon Royal, Mac Spectrum, 2013.02.21. In most ways, Apple's iMessage is far superior to BlackBerry Messenger.
- More links in our archive.
- Best Mac mini Deals
- Best 13" MacBook Pro Deals
- Best Intel iMac Deals
- Best iPod touch Deals
- Best iPhone Deals
- Best iPod nano Deals
- Best iPod classic Deals
- Best Apple TV Prices
- More deals in our archive.
Low End Mac Reader Specials
Cult of Mac
Shrine of Apple
The Mac Observer
Accelerate Your Mac
The Vintage Mac Museum
Mac Driver Museum
System 6 Heaven
System 7 Today
the pickle's Low-End Mac FAQ