[EMAIL PROTECTED] wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've been using various versions of Fedora on my laptop
for some time now and recently I upgraded to fc5.

I always used to have a firefox installed in /usr/local/firefox
and it was the non-RPM package downloaded from the Firefox
people (bypassing RedHat). After the upgrade, fc5 put their
version of firefox onto my system and I started using it but
recently have been noticing high CPU usage. I'm not sure if it
just started happening recently or if it was always happening
and I just recently noticed. At any rate, I'm sure things moved
a lot snappier before the upgrade.

Then I tried deleting my local version and the RedHat package
version and using yum to fetch the latest firefox RPM which is
firefox-1.5.0.2-1.2.fc5 and I believe that I might have a
relatively clean start after removing the old packages and reinstalling.

Still it uses heaps of CPU, even for simple operations like loading
a page or scrolling up and down on the screen, or flipping between
menus!  It still happens when I turn off both Java and Javascript,
even bringing up the edit/preferences pop-up takes a good 6
seconds on a 2.5G Celeron machine (I'm sure it never used to be
so bad).

Have I visited a nasty web page that hax0red some junkware into my
system or is this version of firefox getting bloated like mozilla
did ?  Has anyone else seen this sort of thing happening ?

Also, gedit takes about 5 to 6 seconds of 100% CPU activity,
check the results of "vmstat 1" :

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  10288  10992 100788    0    0     0     0  326    58  1  0 99  0
 0  0      0  10288  10992 100788    0    0     0     0  322    68  1  0 99  0
 1  0      0  10292  10992 100788    0    0     0     0  326    60  0  0 100  0
 1  0      0  10304  10992 100788    0    0     0     0  319    52  1  0 99  0
 2  0      0   9824  10992 100788    0    0     0     0  327    82 49  7 45  0   
<== started gedit here
 2  0      0   9288  10992 100792    0    0     0     0  319   572 82 18  0  0
 1  0      0   8988  10992 100792    0    0     0     0  327    73 92  8  0  0
 2  0      0   7728  10992 100792    0    0     0     0  321    58 88 12  0  0
 3  1      0   4916  11040 100792    0    0     0     8  322    54 91  9  0  0
 1  0      0   4796  11048 100792    0    0     0   596  336    71 96  4  0  0
 2  0      0   4412  11048 100784    0    0     0     0  320    69 92  8  0  0
 1  0      0   3836  11048 100788    0    0     0     0  325   247 90 10  0  0
 0  0      0   3568  11048 100980    0    0     0     0  342   101 88  7  5  0
 0  0      0   3568  11048 100980    0    0     0     0  586   228 12  5 83  0   
<== gedit finished loading
 1  0      0   3504  11108 100980    0    0     0   112  392   128  6  0 94  0
 0  0      0   3468  11116 100980    0    0     0   200  364   127  4  5 90  1
 0  0      0   3468  11116 100980    0    0     0     0  332   100  1  1 98  0
 1  0      0   3416  11116 100980    0    0     0     0  349   152 43  2 55  0   
<== quit gedit
 1  0      0   3400  11116 100980    0    0     0     0  440   165 19  3 78  0
 1  0      0   3480  11116 100980    0    0     0     0  331   130 95  5  0  0
 0  0      0  10040  11116 100788    0    0     0     0  669   190  7  5 88  0
 0  0      0  10040  11116 100788    0    0     0     0  524    81  1  1 98  0
 1  0      0  10068  11116 100788    0    0     0     0  428    70  0  1 99  0
 1  0      0  10072  11116 100788    0    0     0     0  386    80  1  1 98  0
 1  0      0  10084  11188 100788    0    0     0   176  365   220  1  1 54 44
 1  0      0  10084  11188 100804    0    0    16     0  353   225  2  2 94  2


I'll point out that gedit never has come up all that quickly but
it's slower now than it used be (by a noticable amount) and it is
a fairly basic text editor so what can it be doing with all that CPU?

Just as a comparison, bringing up emacs (the most bloated beast in the
world) uses less CPU than gedit...

procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
 2  0      0  10600  11656 100860    0    0    39     9  366   106 16  2 79  3
 0  0      0  10600  11656 100860    0    0     0     0  332    99  0  1 99  0
 0  0      0  10600  11656 100860    0    0     0     0  325   109  0  2 98  0
 1  0      0  10600  11656 100860    0    0     0     0  329    90  1  0 99  0
 1  0      0  10600  11656 100860    0    0     0     0  319    58  3  1 96  0
 1  1      0  10600  11660 100860    0    0     0    28  325    61  0  0 97  3
 1  0      0  10600  11664 100860    0    0     0     4  323    51  1  0 56 43
 2  0      0   8852  11664 100860    0    0     0     0  330   173 42 18 41  0   
<== started emacs here
 4  0      0   7712  11664 100860    0    0     0     0  320   206 66 34  0  0
 2  0      0   7652  11688 100860    0    0     0    40  330   105 67 33  0  0
 1  0      0   7532  11688 100860    0    0     0     0  319    48 92  8  0  0
 2  0      0   7292  11688 100860    0    0     0     0  325   156 76 24  0  0
 1  0      0   7060  11700 100860    0    0     4   296  324   201 55  8 37  0   
<== emacs finished loading
 1  0      0   7060  11700 100860    0    0     0     0  326    62  0  1 99  0
 1  0      0   7060  11712 100860    0    0     0    16  322    57  1  1 98  0
 1  0      0   7060  11712 100860    0    0     0     0  325    56  0  0 100  0
 1  0      0   7060  11712 100860    0    0     0     0  320    43  0  0 100  0
 1  0      0   7060  11720 100860    0    0     0    44  326    62  1  0 99  0
 1  0      0   7060  11720 100860    0    0     0     0  320    46  0  0 100  0
 1  0      0   7060  11720 100860    0    0     0     0  334   119  1  2 97  0
 1  0      0  10360  11720 100860    0    0     0     0  337   216  8  5 87  0   
<== quit emacs here
 1  0      0  10360  11720 100860    0    0     0     0  325    56  0  0 100  0
 1  0      0  10360  11720 100860    0    0     0     0  320    47  1  0 99  0
 1  0      0  10420  11720 100860    0    0     0     0  325    58  0  1 99  0
 1  0      0  10420  11760 100860    0    0     0    76  331    70  2  2 50 46
 0  0      0  10420  11760 100860    0    0     0     0  329    88  1  0 99  0
 1  0      0  10420  11760 100860    0    0     0     0  321    41  0  0 100  0
 0  0      0  10420  11760 100860    0    0     0     0  330   131  1  3 96  0
 0  0      0  10420  11760 100860    0    0     0     0  349   225  1  1 98  0


What going wrong with my system ?
It always used to be so good, should I go back a few versions or maybe
reinstall fc5 from a clean start...

The kernel is Linux version 2.6.15-1.2054_FC5 which is the stock standard fc5 
kernel.

This 2.6.15-1.2054_FC5 is really a 2.6.16 release candidate. So, firstly upgrade to 2.6.16-2096_FC5.

Then ensure, that in your /etc/yum.repos.d/ only the following files are enabled:
1. fedora-core.repo
2. fedora-extras.repo
3. fedora-updates.repo

To upgrade, I'd do,

#yum -y update kernel

Then, reboot and check manually the output of,

#yum list

paying particular attention to thunderbird installations.

Then, do a
#yum upgrade

I'd also move the directory ".thunderbird" to say ".thunderbird.orig"
and do a "#rpm -e thunderbird" and a "yum -y install thunderbird".

Then test.

Hope this helps.

O Plameras



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to