The conversation on this page has been archived and is no longer active.

Firefox and power costs

Message #1 - Posted 2011/12/28 - JF Mezei

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 ?

Message #2 - Posted 2011/12/28 - Jolly Roger

Previously, JF Mezei 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.

Send responses to the relevant news group rather than email to me. E-mail sent to this address may be devoured by my very hungry SPAM filter. Due to Google's refusal to prevent spammers from posting messages through their servers, I often ignore posts from Google Groups. Use a real news client if you want me to see your posts.

JR

Message #3 - Posted 2011/12/28 - Barry Margolin

Previously, JF Mezei 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?

Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

Message #4 - Posted 2011/12/28 - Alan Browne

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.

"We demand rigidly defined areas of doubt and uncertainty." Douglas Adams - (Could have been a GPS engineer).

Message #5 - Posted 2011/12/29 - android

Previously, JF Mezei 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.

moved files are either renamed or copied and destroyed

--- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---

Message #6 - Posted 2011/12/29 - Paul Sture

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

Message #7 - Posted 2011/12/29 - Paul Sture

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).

Paul Sture

Need Help? Have a Question?

Looking for more help, comments, and answers?

Ask your questions on Ask Different. Ask Different is a community of Apple users ready to help.