Web lists-archives.com

Re: Slow firefox and high cpu usage




On Wed, Oct 10, 2018 at 09:59:00PM +0200, Pétùr wrote:
> Le 09/10/2018 à 02:04, Patrick Bartek a écrit :
> > First, Firefox is using 50% of your RAM.  That's way too much unless
> > you have very little RAM to begin with.  How much total RAM do you have?
> > My system has 8GB. Firefox Quantum only shows on average 3 to 4% RAM
> > usage even when streaming a video.
> 
> 
> I have 8GB of RAM.
> 
> > Also, check what those three "web contents" are.  I'm think THEY are the
> > cause of Firefox's slowness.  As I don't know what they are, I can't
> > hazard a guess as to what's causing the high CPU usage.  The only time
> > I've seen something like this is when an app has crashed into an
> > infinite loop of some sort.  "Kill" those one at a time and see what
> > happens to Firefox's CPU usage. Also, clear you cache.  Check to see if
> > files are being written continuously to your hard drive.
> 
> I think also these "web content" threads are the causes of my problem. But
> they appears even if I disable all modules.
 
That's because Firefox is now multiprocess.

The main Firefox process handles the user interface, fetching
web pages, decoding them, and some of the rendering work. 

The Web Content process(es) are fired off to run things that the
web pages demand be run: JavaScript, CSS animations, weird media
things. Mostly JavaScript.

Killing them off won't help. You need to solve the underlying
problem.

I don't know what that is, exactly, but advertising and trackers
now take up 90% of most web processing time and space. Running a
good ad blocker like uBlock Origin will help a lot.

-dsr-