Leopard is nice, but its features can make your system slow. If you have Leopard and your system inexplicably slows down sometimes, here’s a recipe for speeding up your system.
When your system is acting slow, check which application has the highest CPU numbers in the activity monitor. If you find the culprit to be “backupd”, “safari”, or “mds”, then read on for potential solutions.
Time machine may be slow: If your computer is slow, and “backupd” is prominent in the activity monitor, time machine may be the problem. Its disk activity slows the system down.
Make time machine faster: Exclude files and directories in the preferences. But which ones? If you’re running entourage (or vmware, or parallels), you may want to reconsider whether you back up their files; time machine doesn’t back those up efficiently. If you have no idea why it keeps backing up files, try this command at the terminal. It will tell you which files it has backed up recently. Note that you must replace the items in brackets [] with folder names that exist on your computer.
cd /Volumes/[my backup drive]
cd Backups.backupdb/[my computer]/Latest/
find . -newerct '2 hours ago' -links 1
Spotlight may be slow: If your mac is slow, and “mds” is prominent in your activity monitor, spotlight may be the problem.
Make spotlight faster: Exclude stuff from spotlight’s indexing that you don’t need indexed. Consider excluding your time machine backup, if you have one (in the privacy section of preferences->spotlight).
Flash may be slow: If your computer is slow, and “safari” is prominent in the activity monitor, Flash may be to blame. Often, a single web page can have 5-10 flash animated advertisements. If you have many such web pages open, it can slow down your computer.
Use flash only when you want to: Use Firefox to browse the web, and install the flashblock add-on. This allows you to see the flash you want (like youtube animations), and avoid the ones you don’t.