Robert Citek
2010-04-15 19:28:21 UTC
I use Firefox almost all day long (and night, sometimes). I would say
about twice a day Firefox gets really, really slow. For example, I'll
be scrolling down a three-page website and Firefox will take in excess
of two minutes to get from the top to the bottom. Switching between
tabs is also exceedingly slow. However, I can switch between
applications. When I switch back to Firefox it takes forever to
redraw the screen. And the CPU fan kicks into high gear. The only
solution that has worked so far has been to kill Firefox and then
restart it. Once I do that, I can scroll up and down the same
three-page website in a split second.
Below are the first few lines of a top and a vmstat.
Has anyone else seen this kind of behaviour? Any hint as to where the
problem might be: Firefox, Xorg, video driver, other? Would like to
narrow it down before filing a bug report.
Regards,
- Robert
-----
top - 13:25:05 up 55 min, 2 users, load average: 1.10, 0.89, 0.69
Tasks: 151 total, 2 running, 149 sleeping, 0 stopped, 0 zombie
Cpu0 : 3.7%us, 1.6%sy, 0.0%ni, 94.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 :100.0%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1017992k total, 574840k used, 443152k free, 41792k buffers
Swap: 2981880k total, 0k used, 2981880k free, 257936k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1517 rwcitek 20 0 380m 140m 30m R 100 14.2 9:21.87
firefox-bin
987 root 20 0 35836 14m 7980 S 2 1.5 1:48.60 Xorg
662 messageb 20 0 3264 1600 788 S 1 0.2 0:01.85
dbus-daemon
1661 rwcitek 20 0 45016 12m 9788 S 1 1.3 0:00.94
gnome-terminal
1683 rwcitek 20 0 2544 1232 932 R 1 0.1 0:00.91 top
1 root 20 0 2796 1616 1172 S 0 0.2 0:00.82 init
2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0 0.0 0:00.00
migration/0
4 root 20 0 0 0 0 S 0 0.0 0:00.03
ksoftirqd/0
5 root RT 0 0 0 0 S 0 0.0 0:00.00
watchdog/0
$ vmstat 1 20
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
1 0 0 429520 42328 265684 0 0 36 7 172 307 10 2 87 1
1 0 0 425212 42328 270492 0 0 0 0 527 449 51 1 48 0
1 0 0 424808 42328 270652 0 0 0 0 525 444 51 1 49 0
1 0 0 424808 42328 270624 0 0 0 0 525 445 51 0 49 0
1 0 0 424808 42328 270552 0 0 0 0 524 442 51 0 49 0
1 0 0 424808 42328 270752 0 0 0 0 522 439 51 1 48 0
1 0 0 424808 42336 270752 0 0 0 20 530 462 52 0 48 0
1 0 0 424808 42336 270752 0 0 0 0 523 438 51 0 49 0
1 0 0 424808 42336 270756 0 0 0 0 523 445 51 0 49 0
1 0 0 424808 42336 270732 0 0 0 0 523 460 51 1 49 0
1 0 0 424808 42336 270732 0 0 0 0 522 445 51 0 49 0
1 0 0 424808 42336 270732 0 0 0 0 523 450 52 0 49 0
1 0 0 424808 42344 270732 0 0 0 16 529 476 51 0 49 1
1 0 0 424808 42344 270532 0 0 0 12 525 443 52 0 49 0
1 0 0 424808 42344 270476 0 0 0 0 523 446 51 1 49 0
1 0 0 424808 42344 270480 0 0 0 0 527 441 51 0 49 0
1 0 0 424808 42344 270472 0 0 0 0 526 447 51 0 49 0
1 0 0 424808 42344 270472 0 0 0 0 524 446 51 0 49 0
1 0 0 424808 42352 270472 0 0 0 32 530 456 51 1 48 1
1 0 0 424808 42352 270472 0 0 0 0 524 448 51 0 49 0
about twice a day Firefox gets really, really slow. For example, I'll
be scrolling down a three-page website and Firefox will take in excess
of two minutes to get from the top to the bottom. Switching between
tabs is also exceedingly slow. However, I can switch between
applications. When I switch back to Firefox it takes forever to
redraw the screen. And the CPU fan kicks into high gear. The only
solution that has worked so far has been to kill Firefox and then
restart it. Once I do that, I can scroll up and down the same
three-page website in a split second.
Below are the first few lines of a top and a vmstat.
Has anyone else seen this kind of behaviour? Any hint as to where the
problem might be: Firefox, Xorg, video driver, other? Would like to
narrow it down before filing a bug report.
Regards,
- Robert
-----
top - 13:25:05 up 55 min, 2 users, load average: 1.10, 0.89, 0.69
Tasks: 151 total, 2 running, 149 sleeping, 0 stopped, 0 zombie
Cpu0 : 3.7%us, 1.6%sy, 0.0%ni, 94.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 :100.0%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1017992k total, 574840k used, 443152k free, 41792k buffers
Swap: 2981880k total, 0k used, 2981880k free, 257936k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1517 rwcitek 20 0 380m 140m 30m R 100 14.2 9:21.87
firefox-bin
987 root 20 0 35836 14m 7980 S 2 1.5 1:48.60 Xorg
662 messageb 20 0 3264 1600 788 S 1 0.2 0:01.85
dbus-daemon
1661 rwcitek 20 0 45016 12m 9788 S 1 1.3 0:00.94
gnome-terminal
1683 rwcitek 20 0 2544 1232 932 R 1 0.1 0:00.91 top
1 root 20 0 2796 1616 1172 S 0 0.2 0:00.82 init
2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0 0.0 0:00.00
migration/0
4 root 20 0 0 0 0 S 0 0.0 0:00.03
ksoftirqd/0
5 root RT 0 0 0 0 S 0 0.0 0:00.00
watchdog/0
$ vmstat 1 20
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
1 0 0 429520 42328 265684 0 0 36 7 172 307 10 2 87 1
1 0 0 425212 42328 270492 0 0 0 0 527 449 51 1 48 0
1 0 0 424808 42328 270652 0 0 0 0 525 444 51 1 49 0
1 0 0 424808 42328 270624 0 0 0 0 525 445 51 0 49 0
1 0 0 424808 42328 270552 0 0 0 0 524 442 51 0 49 0
1 0 0 424808 42328 270752 0 0 0 0 522 439 51 1 48 0
1 0 0 424808 42336 270752 0 0 0 20 530 462 52 0 48 0
1 0 0 424808 42336 270752 0 0 0 0 523 438 51 0 49 0
1 0 0 424808 42336 270756 0 0 0 0 523 445 51 0 49 0
1 0 0 424808 42336 270732 0 0 0 0 523 460 51 1 49 0
1 0 0 424808 42336 270732 0 0 0 0 522 445 51 0 49 0
1 0 0 424808 42336 270732 0 0 0 0 523 450 52 0 49 0
1 0 0 424808 42344 270732 0 0 0 16 529 476 51 0 49 1
1 0 0 424808 42344 270532 0 0 0 12 525 443 52 0 49 0
1 0 0 424808 42344 270476 0 0 0 0 523 446 51 1 49 0
1 0 0 424808 42344 270480 0 0 0 0 527 441 51 0 49 0
1 0 0 424808 42344 270472 0 0 0 0 526 447 51 0 49 0
1 0 0 424808 42344 270472 0 0 0 0 524 446 51 0 49 0
1 0 0 424808 42352 270472 0 0 0 32 530 456 51 1 48 1
1 0 0 424808 42352 270472 0 0 0 0 524 448 51 0 49 0