Mac Becoming Extremely Unresponsive After Updating OS (Low CPU Usage)

I recently updated my 2015 iMac to the new OS (10.15.7) and at times it becomes incredibly sluggish to the point of not being able to do any productive work. It sometimes takes 20-30 seconds just to click a button; sometimes opening a web page takes minutes. I recently gutted the computer in an attempt to speed it up, and before updating the OS it worked really well. To download XCode I had to download the new operating system, and after downloading it the Mac has slowed down considerably, even though the CPU usage stays very low.

It seems to be getting worse. Yesterday I was able to run the iOS simulator and it wasn't running too poorly, but today the simulator wont even start up. I've tried restarting the computer. I just don't understand why my mac has become so sluggish even though the CPU isn't being fully utilized whatsoever.

Why would my mac run slow if the CPU usage is very low?


There are a number of possible reasons for sluggishness after an OS update. The OS update is usually not the cause, but often the 'catalyst'. The chain of events leads many to believe incorrectly that "the OS update killed my Mac".

1. Hard disk failure.
Installing a new OS involves writing several GB to the disk. If your hard drive is several years old, then this work may be the straw that breaks the camel's back. A disk may continue to 'work', but be slow.
Low CPU usage but poor performance does sound like a disk problem.

2. Incompatible software.
Older third-party software may not work well with the new OS. This is particularly true for things that 'get their hooks' into the OS, running background processes or low-level IO tasks. Things like hardware drivers, system monitors, or anything that changes the behaviour of the OS are usual suspects. Look in /Library (and <user>/Library) folders such as LaunchAgents, LaunchDaemons; also Login Items in the Users & Groups System Preference pane.

You can test this by performing a Safe Boot , which will start your OS without any of these third party software. Restart normally after testing. Performing a Safe Boot will also clear some caches, which may help. (Though wildly emptying all caches will in fact cause some slowness as the OS attempts to rebuild them all!)

Another useful test is creating a new user account and logging into that. If things works well there, then you know the problem is something in your original user account, and not the OS itself or the hardware. The problem may be a corrupt or incorrect user preference file, user-triggered third-party software, or something else based in the user Library. Go back to the old user account, and start isolating the problem.

Don't just migrate to the new account: this may cause permissions problems with files; and if the issue crops up again, you'll have to move on again!

3. Spotlight/Cache rebuilding.
After an OS update, the computer will spend some time re-filling caches and re-indexing Spotlight. You should see some evidence of this in Activity Monitor, such as high CPU for processes like mdworker. But this activity should subside after a couple of hours or so. (It may run into the night, but should be finished by the next morning.)
If it seems to be stuck, you can force another rebuild of the index, though this obviously will also take some time to complete.