I hated to admit that using Google Chrome was destroying my productivity on my Ubuntu workstation at work. The CPU usage was absolutely horrible, and the average load on my machine was usually anywhere from 1.5 to 7. I know!
My workstation was fairly beefy memory-wise and CPU-wise, and had plenty of disk space. I disabled everything I could think of, enabled GPU rendering of things, disabled debugging, extensions, ETC. . . .
I exited Chrome and waited for the processes to die. Usually, I just verify this happened by looking at top; since Chrome usually owns the top spots (no pun intended), I wait until top shows no chrome processes, then I restart it. This time, I did ps for chrome and chromium processes. TURNS OUT that after using the Profile Manager[1] extension, several chrome and chromium processes were starting up every time I logged in. I verified this by looking at "~/.config/autostart", which showed several *.desktop files pointing to Google Chrome and Chromium profiles.
So far, the change is extremely significant. I recorded no benchmarks along the way, so I am unsure of how much each of my changes improved performance. However, it appears that all of the extra Chrome processes were what made the biggest difference.
Chalk up another win for blogging about anecdotal information that may or may not lead to misunderstandings about technology. :-) You're welcome!
-Ali
[1] I started using Profile Manager because I wanted to run multiple Chrome sessions in isolation, depending on what I was working on. For my day-to-day work, I use one profile. For my volunteer work, which I associate with its own Google Apps account, I use another profile. For my browser testing, I use another. THE LIST GOES ON.
1 comment:
My problem is memory not CPU. I have a few things I know take a lot (Mighty Text which I love I have to regularly kill) but even the Google tabs become resource hogs the longer they are let on. Seems like a memory leak but other than restarting chrome regularly and disabling some of my extensions I haven't found an total solution...yet. Though I suppose giving up Chrome would be one but with the integration now on my phone that is extremely unlikely.
Post a Comment