I’m usually quite happy with our old MacBook Pro. We bought it many years ago and it has served us well. I don’t know when it started to downhill. After some upgrade or other, I guess? Starting up takes forever. It’s not anything in particular that takes forever. It’s just that everything is slow.
Everything is slow. Just now, maybe half an hour ago, the laptop was sleeping on the table and I wanted to get started with some web development. I opened it up and noticed that Firefox was not loading the pages I had open. I just got the spinning rainbow. Killed Firefox, started Emacs, started Safari, and then I noticed that it wasn’t just Firefox that wasn’t actually doing anything. Everything is slow.
Eventually I managed to open a terminal and run
top. Here’s what it says. I’ve been watching it all this time and apparently the CPU is idle around 80% of the time and yet the load was higher than 7. No wonder it’s slow. But how is that possible?
Processes: 261 total, 2 running, 18 stuck, 241 sleeping, 1128 threads 21:35:37 Load Avg: 1.39, 2.19, 7.34 CPU usage: 10.9% user, 12.50% sys, 77.40% idle SharedLibs: 121M resident, 33M data, 47M linkedit. MemRegions: 49527 total, 790M resident, 68M private, 408M shared. PhysMem: 4130M used (1380M wired), 220M unused. VM: 2289G vsize, 623M framework vsize, 790349(0) swapins, 981169(0) swapouts. Networks: packets: 4506731/4815M in, 3142372/731M out. Disks: 17051508/261G read, 2698121/80G written.
I tried to quit it all again. Then I was looking at
sudo top, ordered by
mem, noticed a
firefox, sent it a
TERM signal, noticed some more like Keybase and two Keybase help processes still running, killed those, too. This still feels like a totally lousy approach. How can I get the old startup speed back?