You are not logged in.

#1 2008-10-26 10:34:37

guorke
Member
Registered: 2008-10-22
Posts: 21

firefox very slow and high cpu usage!! (all other browse slow too)

Hi all,
        when i open a website just as www.sohu.com,   my firefox (3.0.3) hang on, then display the web page very slow , and slow scroll , firefox cpu usage nearly about 100.
        I tried some sloution,like modify /etc/enviroment to set MOD_DISABLE_PANGO=1,
or disable 'tell me if a web site ...' in firefox security option.
but still slow.

some people says it's must because flash or some js.
but when  i try it in windows or ubuntu, it very fast, not like in archlinux.
so i think some thing wrong in archlinux.  I need your helps.
thank you.


p.s. 
1.  pacman is very fast (the speed of wget about 400k/s)
2.  gnome web browser like firefox , slow and high cpu.
3.  the list of output of 'locale'  about 11 lines.
4.  i have already set host name like wiki says.

yikes:o

Last edited by guorke (2008-10-28 01:12:49)

Offline

#2 2008-10-26 11:03:17

Bonzodog
Member
From: Leicester, UK
Registered: 2008-02-14
Posts: 106

Re: firefox very slow and high cpu usage!! (all other browse slow too)

It could be a problem with your .mozilla profile. If you can stand losing your bookmarks and personal settings, try deleting your ~/.mozilla dir in your home directory. You see, the gnome browser uses the same engine, gecko, so it uses the same profile in .mozilla.

Offline

#3 2008-10-26 11:10:21

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: firefox very slow and high cpu usage!! (all other browse slow too)

Instead of deleting it just rename it, same effect but with the added bonus that you can delete the newly created .mozilla and restore the old one if starting from scratch doesn't solve your problem.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2008-10-26 11:35:10

guorke
Member
Registered: 2008-10-22
Posts: 21

Re: firefox very slow and high cpu usage!! (all other browse slow too)

my archlinux system is reinstall in yesterday, still  delete .profile ?

Offline

#5 2008-10-26 11:44:16

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: firefox very slow and high cpu usage!! (all other browse slow too)

Trying that link, I can confirm that website runs very slowly on my machine, too.


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#6 2008-10-26 12:05:45

guorke
Member
Registered: 2008-10-22
Posts: 21

Re: firefox very slow and high cpu usage!! (all other browse slow too)

who can give us  a   solution?

Last edited by guorke (2008-10-26 12:31:33)

Offline

#7 2008-10-26 14:26:37

alessandro_ufms
Member
From: Campo Grande, MS - Brazil
Registered: 2008-06-25
Posts: 153

Re: firefox very slow and high cpu usage!! (all other browse slow too)

This site slow down Firefox here too. sad

Offline

#8 2008-10-26 14:35:15

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: firefox very slow and high cpu usage!! (all other browse slow too)

Try opera. If that is also slow, then its a problem with something else.

Edit: works like a charm on opera but not ff sad

Last edited by haxit (2008-10-26 14:36:08)


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#9 2008-10-26 15:37:03

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: firefox very slow and high cpu usage!! (all other browse slow too)

It slows down a bit here, but it's not that slow. I'm running the nightly build from AUR (firefox-nightly).


(lambda ())

Offline

#10 2008-10-27 01:12:02

guorke
Member
Registered: 2008-10-22
Posts: 21

Re: firefox very slow and high cpu usage!! (all other browse slow too)

opera still slow.  who can give a way ?

Offline

#11 2008-10-27 10:39:18

guorke
Member
Registered: 2008-10-22
Posts: 21

Re: firefox very slow and high cpu usage!! (all other browse slow too)

push.

Offline

#12 2008-10-28 01:14:41

guorke
Member
Registered: 2008-10-22
Posts: 21

Re: firefox very slow and high cpu usage!! (all other browse slow too)

Who can resolve it? any Tips?

Offline

#13 2008-10-28 01:53:49

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,545

Re: firefox very slow and high cpu usage!! (all other browse slow too)

I'm using Firefox 3.0.3 x86_64, and the site (while slow, which makes sense, it's ridiculously congested with ads and crap) along with 9 other tabs still only gets me 2% CPU and 5% RAM usage (4GB RAM, Q6600 CPU).

Wait... perhaps it's the ads!

After checking with AdBlock Plus off, never mind. The CPU usage rose only to 2.6%, and the RAM to 5.4%. The site, and the whole browser, were slower though.

I'd just grab the trusty Greasemonkey and start removing crap from that site.

Offline

#14 2008-10-28 02:21:40

amranu
Member
Registered: 2008-09-25
Posts: 94

Re: firefox very slow and high cpu usage!! (all other browse slow too)

that site is painful with my 2.4ghz core 2 duo

Offline

#15 2008-10-28 02:37:03

dsr
Member
Registered: 2008-05-31
Posts: 187

Re: firefox very slow and high cpu usage!! (all other browse slow too)

The site loads quickly in Firefox for me, which is surprising since I live on the other side of the world (assuming the web server is physically in China or Singapore---the two countries where you can expect to see 简体字).

Offline

#16 2008-10-28 02:48:24

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: firefox very slow and high cpu usage!! (all other browse slow too)

I had the same problem back then but now it was fixed all of a sudden.  The thing is it is problem with your network provider.  It was for me. ^^ You may check it out, and try to surf using other distro for comparison.


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#17 2008-10-28 03:48:30

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: firefox very slow and high cpu usage!! (all other browse slow too)

kaola_linux, did you even visit the site?

I can definitely say that that site is unbearable here. Firefox lagged by about 6 to 8 seconds - what I did $NOW would be done $NOW + 6 to 8 seconds into the future. Additionally, FF seemed to ignore all mouse activity, but thankfully I know heaps of keyboard shortcuts big_smile

As a web developer (well, I know about web tech, but don't actually make anything) I can definitely say that it's very likely because of all the flash content, especially the javascript-repositioned stuff that insists on staying at the bottom of the page without position:absolute.

I visited another site (I don't want to say the URL) that also had some flash content which, once loaded, would render my browser unusable by using 100% CPU. Since the pages had some video content on them I wished to watch, I would have to go into /tmp, figure out which file was the cached video and back it up, all while the offending tab used 100% CPU and rendered all operations 60% to 70% slower. Then I could finally close the tab and watch the backed-up cached video with mplayer. As a small test, I tried disabling the Flash plugin while on that site: all pages worked smoothly with no slowdowns or massive CPU usage.

So I'd likely say that if you disabled flash or wrote perhaps a greasemonkey script to annihilate all but the flash content you really needed to navigate around the site, it would probably work just fine.

-dav7

Last edited by dav7 (2008-10-28 03:56:11)


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#18 2008-10-28 05:16:38

guorke
Member
Registered: 2008-10-22
Posts: 21

Re: firefox very slow and high cpu usage!! (all other browse slow too)

Yes. you are right.

but i strange it Why is only slow in my archlinux, not windows or ubuntu.
not only firefox but also other browse...

Offline

#19 2008-10-28 05:19:47

guorke
Member
Registered: 2008-10-22
Posts: 21

Re: firefox very slow and high cpu usage!! (all other browse slow too)

I think it's same web site. so it's very fair to ubuntu, archlinux, and other distro.
so it must be my config file is error or miss something.  that's not perfect.
i just want to like dsr.

Offline

#20 2008-10-28 05:35:42

guorke
Member
Registered: 2008-10-22
Posts: 21

Re: firefox very slow and high cpu usage!! (all other browse slow too)

dsr, are you disable flash and other thing  too?

Offline

#21 2008-10-28 05:47:09

wirenik
Member
Registered: 2008-08-22
Posts: 134

Re: firefox very slow and high cpu usage!! (all other browse slow too)

I think the problem might lie within that site (sohu.com). My otherwise snappy Firefox install almost locked up and the CPU shot to 100% from %3. I have FlashBlock and AdBlock Plus, so I'm not sure what the issue was...do all other sites load quickly?


moljac024: No one really knows what happens inside /dev/null... it could be a gateway to another universe....
dunc: If it is, the people who live there must be getting pretty annoyed by now with all the junk we send them.

Offline

#22 2008-10-28 06:08:39

guorke
Member
Registered: 2008-10-22
Posts: 21

Re: firefox very slow and high cpu usage!! (all other browse slow too)

english web site fast than other language site. (a little)
the output list of 'locale' seems too long.

Offline

#23 2008-10-28 06:13:14

guorke
Member
Registered: 2008-10-22
Posts: 21

Re: firefox very slow and high cpu usage!! (all other browse slow too)

wget can run in 400k/s , so i think that's not network problem.
so it must be some archlinux config file error.

Offline

#24 2008-10-28 11:22:26

lintz
Member
Registered: 2008-10-26
Posts: 11

Re: firefox very slow and high cpu usage!! (all other browse slow too)

Tried the website in firefox 3.0.3 and realy slow here to comparied it to links -g, and links was way faster vill try the webage on my xp computer later and se if it is some speed diference. Comparing to xp firefox.

Feels like there is some config file fore flash that are the problem.

Last edited by lintz (2008-10-28 11:25:24)

Offline

#25 2008-10-28 14:51:17

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: firefox very slow and high cpu usage!! (all other browse slow too)

dav7 wrote:

kaola_linux, did you even visit the site?

I can definitely say that that site is unbearable here. Firefox lagged by about 6 to 8 seconds - what I did $NOW would be done $NOW + 6 to 8 seconds into the future. Additionally, FF seemed to ignore all mouse activity, but thankfully I know heaps of keyboard shortcuts big_smile

As a web developer (well, I know about web tech, but don't actually make anything) I can definitely say that it's very likely because of all the flash content, especially the javascript-repositioned stuff that insists on staying at the bottom of the page without position:absolute.

I visited another site (I don't want to say the URL) that also had some flash content which, once loaded, would render my browser unusable by using 100% CPU. Since the pages had some video content on them I wished to watch, I would have to go into /tmp, figure out which file was the cached video and back it up, all while the offending tab used 100% CPU and rendered all operations 60% to 70% slower. Then I could finally close the tab and watch the backed-up cached video with mplayer. As a small test, I tried disabling the Flash plugin while on that site: all pages worked smoothly with no slowdowns or massive CPU usage.

So I'd likely say that if you disabled flash or wrote perhaps a greasemonkey script to annihilate all but the flash content you really needed to navigate around the site, it would probably work just fine.

-dav7

I opened the site on my Windows XP using firefox worked.  No problems on whatsoever.. ^^ and also using arch worked fine...


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

Board footer

Powered by FluxBB