After installing Lion my mac became super slow

After installing Lion, my macbook pro became unbelievably slow.. what could be the reason?

Safari sometimes freeze for 30 seconds (in particular when there's Flash content). When I open mail after long time, the interface takes a while before to load.

Also Xcode and the simulator are slower.

UPDATE So this how the system activity looks like when the mac slows down (even the dock bar is not responsive). I need to wait 2 minutes then everything starts to work again as before.

http://cl.ly/9ccS

http://cl.ly/9atU

http://cl.ly/9cFk


Solution 1:

Activity monitor is your friend in this case. Check CPU/RAM usage and look for apps/services using a lot of resources, also check how your hard disk is doing in terms of throughput.

I've seen machine's hard disks slow down or just fail after an OS upgrade/install. It's a pretty disk intensive operation and can finish off older disks that were on their way out. Consider that as a possibility - perform a backup as soon as possible if you don't already have a recent one.

Solution 2:

I have had the same problems after upgrading to Lion on my 2010 iMac, have tried repairing disk permissions which did seem to help. This article on how to Speed up Lion: recommends trying the following:

  1. Clean installation.
  2. Check and repair Disk permissions.
  3. Check your running processes to identify whats consuming your system resources
  4. Check your Apps are compatible with Lion
  5. Try disabling Browser extensions. Free up Disk space if under 10% left free.
  6. Disk speed has a significant impact on the speed of Lion if you have an older 5400 hard disk it may be time to upgrade or consider an SSD.
  7. Try Disabling Auto save / resume.
  8. Turn off Versions.
  9. Get more RAM!! you need at least 4gb.
  10. Try deleting old Preferences files and Caches.
  11. As a last resort you can turn some of Lion UI flourishes via the terminal.

Solution 3:

There are issues with OS X Lion and Core 2 machines. Everything suggested here is great troubleshooting, but the issues remain.

On my iMac 3.06ghz Core 2 Duo with 4 GB, I did a complete wipe and install. The system is slow and programs hang. When I finally went back to 10.6.x, I regained speed and stability.

Solution 4:

Check if something is sync-ing in the background. Look in Activity Monitor, sort by CPU usage, and most likely you will find the culprit.

In my case, it was Address Book Sync. I had to delete most of the prefs in ~/Library/Application Support/Address Book to get the Mac back to normal. In your case, it may be different, but that's the first place to check.

Then also run a good maintenance Utility like Onyx or Cocktail - be sure to use the Lioin versions!

Best of luck with it.