LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   upgrade to 10.2 -> system getting slower (https://www.linuxquestions.org/questions/slackware-14/upgrade-to-10-2-system-getting-slower-366520/)

uselpa 09-24-2005 07:38 AM

upgrade to 10.2 -> system getting slower
 
I have upgraded to 10.2 yesterday, keeping my old kernel 2.6.11.12. The only major change I've done is using freetype-2.1.10-i486-1arf.tgz from linuxpackages.net, in order to use a byte-code interpreter enabled version of freetype.

I have noticed that KDE starts up slower, but I am more concerned by heavy CPU usage by both firefox and X. Simply scrolling a web page in Firefox makes the CPU usage go up to 25%-35%, and opening a new web page in Firefox uses like 50% CPU for Firefox itself.

On Slackware 10.1 I also used Firefox (from linuxpackages, again) and my impression is that it responded much quicker.

Does anybody else have this impression?

dracolich 09-24-2005 09:55 AM

can you post the output of ps -aux both immediately after boot in runlevel3 and then after loading KDE?

uselpa 09-24-2005 11:37 AM

runlevel 3
Code:

USER      PID %CPU %MEM    VSZ  RSS TTY      STAT START  TIME COMMAND
root        1  0.6  0.0    684  252 ?        S    18:30  0:00 init [3] 
root        2  0.0  0.0      0    0 ?        SN  18:30  0:00 [ksoftirqd/0]
root        3  0.0  0.0      0    0 ?        S<  18:30  0:00 [events/0]
root        4  0.0  0.0      0    0 ?        S<  18:30  0:00 [khelper]
root        5  0.0  0.0      0    0 ?        S<  18:30  0:00 [kthread]
root        7  0.0  0.0      0    0 ?        S<  18:30  0:00 [kacpid]
root        74  0.0  0.0      0    0 ?        S<  18:30  0:00 [kblockd/0]
root        77  0.0  0.0      0    0 ?        S<  18:30  0:00 [khubd]
root      117  0.0  0.0      0    0 ?        S    18:30  0:00 [pdflush]
root      118  0.0  0.0      0    0 ?        S    18:30  0:00 [pdflush]
root      120  0.0  0.0      0    0 ?        S<  18:30  0:00 [aio/0]
root      119  0.0  0.0      0    0 ?        S    18:30  0:00 [kswapd0]
root      708  0.0  0.0      0    0 ?        S<  18:30  0:00 [kseriod]
root      814  0.0  0.0      0    0 ?        S<  18:30  0:00 [reiserfs/0]
root      863  0.0  0.0  1488  480 ?        S<s  18:30  0:00 udevd
root      1593  0.0  0.0  1648  604 ?        Ss  18:30  0:00 /usr/sbin/syslogd
root      1596  0.0  0.0  1612  472 ?        Ss  18:30  0:00 /usr/sbin/klogd -c 3 -x
root      1705  0.0  0.0      0    0 ?        S    18:30  0:00 [pccardd]
root      1713  0.0  0.0      0    0 ?        S    18:30  0:00 [pccardd]
root      1737  0.0  0.0  1496  696 ?        Ss  18:30  0:00 /sbin/cardmgr
root      1996  0.0  0.0      0    0 ?        S    18:30  0:00 [khpsbpkt]
root      2030  0.0  0.0      0    0 ?        S    18:30  0:00 [knodemgrd_0]
root      2438  0.0  0.0      0    0 ?        S    18:30  0:00 [shpchpd_event]
root      4370  0.0  0.0  1520  516 ?        Ss  18:30  0:00 /usr/sbin/inetd
root      4410  0.2  0.1  3376  1504 ?        Ss  18:30  0:00 /usr/sbin/sshd
nobody    4422  0.0  0.0  1752  772 ?        S    18:30  0:00 /usr/sbin/dnsmasq
root      4431  0.1  0.2  5264  2384 ?        Ss  18:30  0:00 /usr/sbin/cupsd
root      4444  0.0  0.0  1680  612 ?        S    18:30  0:00 /usr/sbin/crond -l10
daemon    4446  0.0  0.0  1808  684 ?        Ss  18:30  0:00 /usr/sbin/atd -b 15 -l 1
root      4449  0.0  0.0  1480  540 ?        Ss  18:30  0:00 /usr/sbin/acpid
root      4504  0.0  0.3  7008  2752 ?        Ss  18:30  0:00 /usr/sbin/smbd -D
root      4506  0.0  0.3  7008  2740 ?        S    18:30  0:00 /usr/sbin/smbd -D
root      4507  0.0  0.1  3556  1468 ?        Ss  18:30  0:00 /usr/sbin/nmbd -D
root      4509  0.0  0.0  1532  528 ?        Ss  18:30  0:00 /usr/sbin/gpm -m /dev/mouse -t imps2
root      4521  0.0  0.4  5496  4260 ?        Ss  18:30  0:00 /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf
root      4525  0.0  0.1  2828  1692 tty1    Rs  18:30  0:00 -bash
root      4526  0.0  0.0  1484  492 tty2    Ss+  18:30  0:00 /sbin/agetty 38400 tty2 linux
root      4527  0.0  0.0  1484  492 tty3    Ss+  18:30  0:00 /sbin/agetty 38400 tty3 linux
root      4528  0.0  0.0  1480  484 tty4    Ss+  18:30  0:00 /sbin/agetty 38400 tty4 linux
root      4529  0.0  0.0  1484  492 tty5    Ss+  18:30  0:00 /sbin/agetty 38400 tty5 linux
root      4530  0.0  0.0  1484  492 tty6    Ss+  18:30  0:00 /sbin/agetty 38400 tty6 linux
root      4612  0.0  0.1  2776  908 tty1    R+  18:31  0:00 ps aux

runlevel 4
Code:

USER      PID %CPU %MEM    VSZ  RSS TTY      STAT START  TIME COMMAND
root        1  0.1  0.0    684  252 ?        S    18:30  0:00 init [3] 
root        2  0.0  0.0      0    0 ?        SN  18:30  0:00 [ksoftirqd/0]
root        3  0.0  0.0      0    0 ?        S<  18:30  0:00 [events/0]
root        4  0.0  0.0      0    0 ?        S<  18:30  0:00 [khelper]
root        5  0.0  0.0      0    0 ?        S<  18:30  0:00 [kthread]
root        7  0.0  0.0      0    0 ?        S<  18:30  0:00 [kacpid]
root        74  0.0  0.0      0    0 ?        S<  18:30  0:00 [kblockd/0]
root        77  0.0  0.0      0    0 ?        S<  18:30  0:00 [khubd]
root      117  0.0  0.0      0    0 ?        S    18:30  0:00 [pdflush]
root      118  0.0  0.0      0    0 ?        S    18:30  0:00 [pdflush]
root      120  0.0  0.0      0    0 ?        S<  18:30  0:00 [aio/0]
root      119  0.0  0.0      0    0 ?        S    18:30  0:00 [kswapd0]
root      708  0.0  0.0      0    0 ?        S<  18:30  0:00 [kseriod]
root      814  0.0  0.0      0    0 ?        S<  18:30  0:00 [reiserfs/0]
root      863  0.0  0.0  1488  480 ?        S<s  18:30  0:00 udevd
root      1593  0.0  0.0  1648  604 ?        Ss  18:30  0:00 /usr/sbin/syslogd
root      1596  0.0  0.0  1612  472 ?        Ss  18:30  0:00 /usr/sbin/klogd -c 3 -x
root      1705  0.0  0.0      0    0 ?        S    18:30  0:00 [pccardd]
root      1713  0.0  0.0      0    0 ?        S    18:30  0:00 [pccardd]
root      1737  0.0  0.0  1496  696 ?        Ss  18:30  0:00 /sbin/cardmgr
root      1996  0.0  0.0      0    0 ?        S    18:30  0:00 [khpsbpkt]
root      2030  0.0  0.0      0    0 ?        S    18:30  0:00 [knodemgrd_0]
root      2438  0.0  0.0      0    0 ?        S    18:30  0:00 [shpchpd_event]
root      4370  0.0  0.0  1520  516 ?        Ss  18:30  0:00 /usr/sbin/inetd
root      4410  0.0  0.1  3376  1504 ?        Ss  18:30  0:00 /usr/sbin/sshd
nobody    4422  0.0  0.0  1752  772 ?        S    18:30  0:00 /usr/sbin/dnsmasq
root      4431  0.0  0.2  5264  2384 ?        Ss  18:30  0:00 /usr/sbin/cupsd
root      4444  0.0  0.0  1680  612 ?        S    18:30  0:00 /usr/sbin/crond -l10
daemon    4446  0.0  0.0  1808  684 ?        Ss  18:30  0:00 /usr/sbin/atd -b 15 -l 1
root      4449  0.0  0.0  1480  540 ?        Ss  18:30  0:00 /usr/sbin/acpid
root      4504  0.0  0.3  7008  2752 ?        Ss  18:30  0:00 /usr/sbin/smbd -D
root      4506  0.0  0.3  7008  2740 ?        S    18:30  0:00 /usr/sbin/smbd -D
root      4507  0.0  0.1  3556  1468 ?        Ss  18:30  0:00 /usr/sbin/nmbd -D
root      4509  0.0  0.0  1532  536 ?        Ss  18:30  0:00 /usr/sbin/gpm -m /dev/mouse -t imps2
root      4521  0.0  0.4  5496  4260 ?        Ss  18:30  0:00 /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf
root      4525  0.0  0.1  2828  1704 tty1    Ss+  18:30  0:00 -bash
root      4526  0.0  0.1  2824  1696 tty2    Ss  18:30  0:00 -bash
root      4527  0.0  0.0  1484  492 tty3    Ss+  18:30  0:00 /sbin/agetty 38400 tty3 linux
root      4528  0.0  0.0  1480  484 tty4    Ss+  18:30  0:00 /sbin/agetty 38400 tty4 linux
root      4529  0.0  0.0  1484  492 tty5    Ss+  18:30  0:00 /sbin/agetty 38400 tty5 linux
root      4530  0.0  0.0  1484  492 tty6    Ss+  18:30  0:00 /sbin/agetty 38400 tty6 linux
pu        4657  0.0  0.2  3356  1972 tty2    S    18:33  0:00 -su
pu        4711  0.0  0.1  2960  1536 tty2    S+  18:34  0:00 /bin/sh /usr/X11R6/bin/startx
pu        4722  0.0  0.0  2292  652 tty2    S+  18:34  0:00 xinit /home/pu/.xinitrc --
root      4723  3.1  1.3  15596 12196 ?        S    18:34  0:01 X :0
pu        4739  0.0  0.1  2944  1480 tty2    S    18:34  0:00 sh /home/pu/.xinitrc
pu        4740  0.0  0.1  2968  1552 tty2    S    18:34  0:00 /bin/sh /opt/kde/bin/startkde
pu        4771  0.3  1.2  24340 11760 ?        Ss  18:34  0:00 kdeinit Running...
pu        4774  0.0  1.1  22984 10400 ?        S    18:34  0:00 dcopserver [kdeinit] --nosid
pu        4776  0.0  1.2  25156 11584 ?        S    18:34  0:00 klauncher [kdeinit]
pu        4779  1.3  1.8  38048 17032 ?        Sl  18:34  0:00 kded [kdeinit] 
pu        4794  3.0  0.8  20028  7796 ?        SL  18:34  0:00 /opt/kde/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -c drkonqi -l 3 -f
pu        4796  0.2  1.4  24812 13228 ?        S    18:34  0:00 kaccess [kdeinit]
pu        4797  0.0  0.0  1468  344 tty2    S    18:34  0:00 kwrapper ksmserver
pu        4799  0.2  1.4  25120 13452 ?        S    18:34  0:00 ksmserver [kdeinit]
pu        4800  1.0  1.8  27728 16348 ?        S    18:34  0:00 kwin [kdeinit] -session 11c0a80108000109680731200000013540000_1127579128_843852
pu        4802  0.0  0.5  9296  4984 ?        Ss  18:34  0:00 /opt/kde/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -c drkonqi -l 3 -f
pu        4804  1.5  1.9  28496 17512 ?        S    18:34  0:00 kdesktop [kdeinit]
pu        4806  1.8  2.0  31012 18628 ?        S    18:34  0:00 kicker [kdeinit]
pu        4809  1.4  1.6  27652 15324 ?        S    18:34  0:00 korn -session 10dee36163000112664043700000050280007_1127579128_841251
pu        4810  0.0  1.3  24612 12328 ?        S    18:34  0:00 kio_file [kdeinit] file /tmp/ksocket-puTy7HIb/klauncherCBu7kb.slave-socket /tmp/ksocket-puTy7HIb/kdesktopQGKD0a.slave-socket
pu        4811  0.0  1.3  24612 12324 ?        S    18:34  0:00 kio_file [kdeinit] file /tmp/ksocket-puTy7HIb/klauncherCBu7kb.slave-socket /tmp/ksocket-puTy7HIb/kdesktopwBK3vb.slave-socket
pu        4813  0.1  1.4  52052 13016 ?        S    18:34  0:00 kio_pop3 [kdeinit] pop3 /tmp/ksocket-puTy7HIb/klauncherCBu7kb.slave-socket /tmp/ksocket-puTy7HIb/kornZEt9jc.slave-socket
pu        4814  0.6  1.9  33568 17484 ?        S    18:34  0:00 knotify [kdeinit]
pu        4819  2.2  1.9  29840 17224 ?        S    18:34  0:00 konsole [kdeinit] --ls
pu        4820  0.0  0.2  3380  1996 pts/1    Ss  18:34  0:00 -bash
root      4831  0.2  0.1  2816  1684 pts/1    S    18:34  0:00 -su
root      4843  0.0  0.1  2780  912 pts/1    R+  18:34  0:00 ps aux


dracolich 09-24-2005 12:28 PM

I don't know how much it'll help, but you might try disabling arts as it's using a considerable chunk. KDE itself uses several 1-2% chunks. I just checked my own and X uses 2.5%. When I opened Firefox, without an internet connection and without loading any pages or files, it uses almost 12%.

What kind of hardware do you have? It might help to use a less resource-hungry window manager. KDE is the bulkiest with the most overhead.


All times are GMT -5. The time now is 08:08 AM.