View previous topic :: View next topic |
Author |
Message |
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Wed Aug 21, 2002 5:49 pm Post subject: kde management |
|
|
Hi,
I just want to be sure that this is the way of kde to work.
After I run "ps -d" I get a lot of lines about 'kdeinit' like:
Code: |
# ps -d
PID TTY TIME CMD
1 ? 00:00:03 init
2 ? 00:00:00 keventd
3 ? 00:00:00 ksoftirqd_CPU0
4 ? 00:00:00 kswapd
5 ? 00:00:00 bdflush
6 ? 00:00:00 kupdated
1612 ? 00:00:00 kjournald
4857 ? 00:00:00 metalog
4866 ? 00:00:00 eth0
4890 ? 00:00:00 pptp
4891 ? 00:00:00 pptp
5009 vc/1 00:00:00 bash
5951 vc/1 00:00:00 startx
5960 vc/1 00:00:00 xinit
5961 ? 00:01:02 X
5966 vc/1 00:00:00 sh
5967 vc/1 00:00:00 startkde
5998 ? 00:00:00 kdeinit
6001 ? 00:00:00 kdeinit
6003 ? 00:00:08 kdeinit
6010 ? 00:00:00 kdeinit
6021 ? 00:00:00 kdeinit
6024 vc/1 00:00:00 kwrapper
6026 ? 00:00:00 kdeinit
6027 ? 00:00:03 kdeinit
6029 ? 00:00:04 kdeinit
6031 ? 00:00:04 kdeinit
6033 ? 00:00:00 kdeinit
6035 ? 00:00:07 kopete
6038 ? 00:00:09 gkrellm
6068 ? 00:00:33 kdeinit
6073 ? 00:00:00 kdeinit
6075 ? 00:00:00 kdeinit
6077 ? 00:00:00 kdesud
6078 ? 00:00:00 kdeinit
6079 ? 00:00:00 kdeinit
6080 ? 00:00:00 kdeinit
6081 ? 00:00:00 kdeinit
6082 ? 00:00:01 kdeinit
|
Is this normal? The only program I run right now for example is konqueror.
It's possible to config the kde to use less sessions of this ?
Thanks _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
Regor Guru
Joined: 06 Aug 2002 Posts: 545 Location: 39° 2' 48" N, 120° 59' 2" W
|
Posted: Wed Aug 21, 2002 9:55 pm Post subject: |
|
|
If yoo look at the output of "ps aux", you'll see that each instance of
kdeinit is firing up a kde service, so that is normal. If you want less of them
run fewer services.
An example from my machine:
Code: |
# ps aux | head -1 && ps aux | grep kdeinit | grep -v grep
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
duane 5433 0.0 1.0 21288 6812 ? S Aug20 0:00 kdeinit: Running.
duane 5436 0.0 1.5 21040 10064 ? S Aug20 0:00 kdeinit: dcopserv
duane 5439 0.0 1.7 21948 11200 ? S Aug20 0:00 kdeinit: klaunche
duane 5441 0.0 1.9 22588 12372 ? S Aug20 0:03 kdeinit: kded
duane 5457 0.0 2.1 25148 13748 ? S Aug20 0:00 kdeinit: knotify
duane 5460 0.0 1.8 22540 12228 ? S Aug20 0:00 kdeinit: ksmserve
duane 5461 0.0 2.2 24028 14460 ? S Aug20 0:18 kdeinit: kwin -se
duane 5517 0.0 2.1 23920 14084 ? S Aug20 0:12 kdeinit: kdesktop
duane 7381 0.0 2.7 28172 17624 ? S Aug20 0:07 kdeinit: kicker
duane 7526 0.0 2.0 22872 13180 ? S Aug20 0:01 kdeinit: klipper
duane 7529 0.0 1.8 23448 11676 ? S Aug20 0:00 kdeinit: kmix -se
duane 7539 0.0 1.4 22660 9412 ? S Aug20 0:00 kdeinit: kcookiej
|
As you can see they don't take any cpu but do chew up a small bit of memory. Probably not enough to worry about though. |
|
Back to top |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Thu Aug 22, 2002 5:15 am Post subject: |
|
|
Mine is a little different but i can understand...
Code: |
voicu@overseas voicu $ ps aux | head -1 && ps aux | grep kdeinit | grep -v grep
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
voicu 32157 0.0 4.1 22944 10668 ? S 08:17 0:00 kdeinit: Running.
voicu 32160 0.0 4.2 22608 10784 ? S 08:17 0:00 kdeinit: dcopserv
voicu 32163 0.0 4.6 23780 11964 ? S 08:17 0:00 kdeinit: klaunche
voicu 32165 0.0 5.4 25552 14028 ? S 08:17 0:00 kdeinit: kded
voicu 32193 0.0 5.0 23972 12812 ? S 08:17 0:00 kdeinit: ksmserve
voicu 32196 0.1 5.6 25228 14576 ? S 08:17 0:01 kdeinit: kwin -se
voicu 32199 0.0 6.1 25776 15716 ? S 08:17 0:00 kdeinit: kdesktop
voicu 32201 0.1 6.2 26984 16028 ? S 08:17 0:00 kdeinit: kicker
voicu 32202 0.0 4.4 23188 11268 ? S 08:17 0:00 kdeinit: kio_file
voicu 32205 0.0 5.5 25308 14200 ? S 08:17 0:00 kdeinit: klipper
voicu 32314 0.0 4.5 23340 11720 ? S 08:23 0:00 kdeinit: kio_http
voicu 32319 0.1 5.7 24816 14736 ? S 08:23 0:00 kdeinit: kio_uise
voicu 32323 1.6 9.2 34436 23668 ? S 08:23 0:02 kdeinit: konquero
voicu 32324 0.0 4.5 23340 11716 ? S 08:23 0:00 kdeinit: kio_http
voicu 32325 0.0 4.5 23344 11724 ? S 08:23 0:00 kdeinit: kio_http
voicu 32326 0.0 4.5 23340 11716 ? S 08:23 0:00 kdeinit: kio_http
voicu 32379 9.7 5.9 26108 15248 ? S 08:26 0:00 kdeinit: konsole
|
_________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
meyerm Veteran
Joined: 27 Jun 2002 Posts: 1311 Location: Munich / Germany
|
Posted: Thu Aug 22, 2002 10:49 am Post subject: |
|
|
BTW: The reason for this are the bad c++ capabilities of the gnu linker/loader. It just took too much time to start such complex programs as those from kde. Then the kde people "invented" kdeinit. It is starting normal at startup time and all other kde programs are just processes of this one program. So they can avoid some of the performance problems. Oh, and it saves memory.
I don't know if this will continue with gcc 3.2 and future versions of the gcc. Wouldn't it be great if konqueror starts in less than 1 second?
Oh, please correct me if I'm telling rubbish. |
|
Back to top |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Thu Aug 22, 2002 10:59 am Post subject: |
|
|
Well, my konqueror starts very fast....but kdeinit eats cpu+ram? _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
meyerm Veteran
Joined: 27 Jun 2002 Posts: 1311 Location: Munich / Germany
|
Posted: Thu Aug 22, 2002 11:03 am Post subject: |
|
|
Yes, it takes up more memory and cpu time when you start just one program. But as soon as you start the second, the linker doesn't need to rewrite all the im- and exportadresses inside the libraries/executables which are already loaded for kdeinit. Therefore it just loads the delta - of course beeing faster. The cputime consumed by the kdeinits overhead is "limes -> 0" comparing to this .
Again: This is something stored very deep in the last corner of my brain - perhaps it is all wrong |
|
Back to top |
|
|
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Thu Aug 22, 2002 11:38 am Post subject: |
|
|
meyerm wrote: |
...
...
...
Again: This is something stored very deep in the last corner of my brain - perhaps it is all wrong |
Good imagination _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
|