Firefox and power costs

JF Mezei wrote on :

I cannot allow the MacPro to go to sleep because it has X11 windows coming from other hosts, and if the system goes to sleep, those windows will timeout and the remote system will end the session.

Firefox leaks memory big time. Opening all my tabs from pervious session will get Firefox to consume perhaps 300meg of ram. Within a day, it is up to 2 or 3 gigs and then up to 4.5gigs or RAM. Performance becomes sluggish and I have to restart it.

Activity monitor shows that Firefox consumes about 75% of CPU (on a 2009 macpro) when "idle". Disabling javascript and flash gets it down to about 5%.

I strongly suspect that the twitter page is the guilty party here.

Question:

for the overnight period when I sleep, if I turn off javascript and flash, will this result in the system consuming less power since all cores in the CPU are more or less idle ?

Jolly Roger replied on :

In article 4efb4caf$0$1671$c3e8da3$50776f34@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

I cannot allow the MacPro to go to sleep because it has X11 windows coming from other hosts, and if the system goes to sleep, those windows will timeout and the remote system will end the session.

Firefox leaks memory big time. Opening all my tabs from pervious session will get Firefox to consume perhaps 300meg of ram. Within a day, it is up to 2 or 3 gigs and then up to 4.5gigs or RAM. Performance becomes sluggish and I have to restart it.

Activity monitor shows that Firefox consumes about 75% of CPU (on a 2009 macpro) when "idle". Disabling javascript and flash gets it down to about 5%.

I strongly suspect that the twitter page is the guilty party here.

Question:

for the overnight period when I sleep, if I turn off javascript and flash, will this result in the system consuming less power since all cores in the CPU are more or less idle ?

Disabling flash on pages that have flash embedded will decrease CPU usage. I recommend installing the AdBlock Safari extension, and perhaps using something like NoScript and ClickToFlash as well to cut down on what's running in those open tabs.

Barry Margolin replied on :

In article 4efb4caf$0$1671$c3e8da3$50776f34@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

I cannot allow the MacPro to go to sleep because it has X11 windows coming from other hosts, and if the system goes to sleep, those windows will timeout and the remote system will end the session.

Firefox leaks memory big time. Opening all my tabs from pervious session will get Firefox to consume perhaps 300meg of ram. Within a day, it is up to 2 or 3 gigs and then up to 4.5gigs or RAM. Performance becomes sluggish and I have to restart it.

Activity monitor shows that Firefox consumes about 75% of CPU (on a 2009 macpro) when "idle". Disabling javascript and flash gets it down to about 5%.

I strongly suspect that the twitter page is the guilty party here.

Question:

for the overnight period when I sleep, if I turn off javascript and flash, will this result in the system consuming less power since all cores in the CPU are more or less idle ?

Why not just close all the windows?

Alan Browne replied on :

On 2011-12-28 12:06 , JF Mezei wrote:

Firefox leaks memory big time. Opening all my tabs from pervious session will get Firefox to consume perhaps 300meg of ram. Within a day, it is up to 2 or 3 gigs and then up to 4.5gigs or RAM. Performance becomes sluggish and I have to restart it.

https://www.google.com/chrome

Activity monitor shows that Firefox consumes about 75% of CPU (on a 2009 macpro) when "idle". Disabling javascript and flash gets it down to about 5%.

I strongly suspect that the twitter page is the guilty party here.

Flashblock and AdBlock (whatever v. for Firefox) will reduce such consumption considerably. And they allow you to whitelist pages where you want such to be active.

Question:

for the overnight period when I sleep, if I turn off javascript and flash, will this result in the system consuming less power since all cores in the CPU are more or less idle ?

Pretty much. I notice that news sites (NYT, WashPo, etc.) have a lot of ads or features that run Flash. When these are on, CPU goes up, and power goes up.

It should be a national energy conservation concern. Really.

Turn off complex pages that have lots of dynamic content (like those above) and you can see the CPU meter roll off.

Load pages like craigslist which are "early 90's" plain vanilla HTML - once the page is loaded, there is no more CPU needed for that page.

android replied on :

In article 4efb4caf$0$1671$c3e8da3$50776f34@redacted.invalid, JF Mezei jfmezei.spamnot@redacted.invalid wrote:

I cannot allow the MacPro to go to sleep because it has X11 windows coming from other hosts, and if the system goes to sleep, those windows will timeout and the remote system will end the session.

Firefox leaks memory big time. Opening all my tabs from pervious session will get Firefox to consume perhaps 300meg of ram. Within a day, it is up to 2 or 3 gigs and then up to 4.5gigs or RAM. Performance becomes sluggish and I have to restart it.

Activity monitor shows that Firefox consumes about 75% of CPU (on a 2009 macpro) when "idle". Disabling javascript and flash gets it down to about 5%.

I strongly suspect that the twitter page is the guilty party here.

Question:

for the overnight period when I sleep, if I turn off javascript and flash, will this result in the system consuming less power since all cores in the CPU are more or less idle ?

Have you upgraded tFirefox o 9.01? I did the other day and got a significant performance boost.

Paul Sture replied on :

On Wed, 28 Dec 2011 12:06:53 -0500, JF Mezei wrote:

Firefox leaks memory big time. Opening all my tabs from pervious session will get Firefox to consume perhaps 300meg of ram. Within a day, it is up to 2 or 3 gigs and then up to 4.5gigs or RAM. Performance becomes sluggish and I have to restart it.

Just close it down overnight then. Being able to restore your tabs on startup makes this pretty painless.

Paul Sture replied on :

On Wed, 28 Dec 2011 12:40:29 -0500, Alan Browne wrote:

Pretty much. I notice that news sites (NYT, WashPo, etc.) have a lot of ads or features that run Flash. When these are on, CPU goes up, and power goes up.

It should be a national energy conservation concern. Really.

Ah yes, going back to dialup days, I discovered that the Daily Telegraph web site would do a refresh every now and again and whack up my phone bill. Fortunately I discovered this at a weekend when I was on low rates, so it didn't hurt too much.

I simply disabled Javascript globally to solve that (this was back in the days of Netscape).