Hi,
Why do Gnome apps (like Pan) startup much faster than KDE apps, using KDE
3.0.4 (on SuSE 8.1, i386)?
Should it not be the way around?
Cheers,
Jeroen
Why do Gnome apps (like Pan) startup much faster than KDE apps, using KDE
3.0.4 (on SuSE 8.1, i386)?
Should it not be the way around?
Cheers,
Jeroen
> Why do Gnome apps (like Pan) startup much faster than KDE apps, using
> KDE 3.0.4 (on SuSE 8.1, i386)?
There are some things you can do to somewhat relieve the problem,
including upgrading to KDE 3.1 (when released), and recompiling KDE
without any debugging info included.
Given the above explanation, it actually works as it should. If youQuote:> Should it not be the way around?
Steve
Why, /precisely/, would you expect that?Quote:> Why do Gnome apps (like Pan) startup much faster than KDE apps, using KDE
> 3.0.4 (on SuSE 8.1, i386)?
> Should it not be the way around?
The only reason to /imagine/ greater speed for KDE apps would be that
if you already have some KDE apps running, you already have some
shared libraries in memory.
But there are some compelling reasons to expect KDE applications to
start up /less/ quickly than GNOME equivalents:
- They have to start some additional daemons, notably DCOP;
- Linking in the dynamic C++ libraries takes quite a lot of work that
is not required for C libraries. (vtables don't come for free!)
--
http://www.ntlug.org/~cbbrowne/kde.html
"Well, I wish you'd just tell me rather than trying to engage my
enthusiasm, because I haven't got one." -- Marvin the Paranoid Android
>> Hi,
>> Why do Gnome apps (like Pan) startup much faster than KDE apps, using
>> KDE 3.0.4 (on SuSE 8.1, i386)?
> Because C++ programs start slower than C programs in Linux. The problem
> is well documented, and fixes are underway. It is expected that the
> fixes will be in the next major releases (point 0) of all the distro's.
> It has something to do with the compiler, linker, and glibc.
I'm not sure that distros haven't incorporated these changes already.
And I suspect while these changes will make KDE apps startup faster
than they did before, they may still not start up as fast as C apps do.
Steve
>>> Hi,
>>> Why do Gnome apps (like Pan) startup much faster than KDE apps, using
>>> KDE 3.0.4 (on SuSE 8.1, i386)?
>> Because C++ programs start slower than C programs in Linux. The
>> problem
>> is well documented, and fixes are underway. It is expected that the
>> fixes will be in the next major releases (point 0) of all the distro's.
>> It has something to do with the compiler, linker, and glibc.
> See this link for more info on the problem:
> http://objprelink.sourceforge.net/
> I'm not sure that distros haven't incorporated these changes already.
Yes, C++ will (almost) always be slower than C. This is a fact of how theQuote:> And I suspect while these changes will make KDE apps startup faster
> than they did before, they may still not start up as fast as C apps do.
Steve
>> I'm not sure that distros haven't incorporated these changes already.
> The major changes are part of glibc 2.3, which I don't think are in any
> major distros yet.
C++ can be of course be faster than C in some applications, because of inliningQuote:>> And I suspect while these changes will make KDE apps startup faster
>> than they did before, they may still not start up as fast as C apps do.
> Yes, C++ will (almost) always be slower than C. This is a fact of how the
> languages work. But if they are made to perform close enough to each
> other, then you may not notice the difference.
I believe that KDE takes a performance
hit because it uses good OO design and reuses many classes through
libraries - meaning many, many symbols are exported, making lookups
slow. Perhaps the fixes you refer to address this?
Another possible approach would be to follow what MS does with dlls -
only export symbols that are marked for export, therby improving lookup
speed.
Steve
> What changes are talking about, specifically? Have a link?
Yes of course, this was what I was talking about. It is possible to writeQuote:> I believe that KDE takes a performance
> hit because it uses good OO design and reuses many classes through
> libraries - meaning many, many symbols are exported, making lookups
> slow. Perhaps the fixes you refer to address this?
KDE definitely does it the right way. It's just that the C++
implementation in Linux is lacking.
I believe this was discussed as well. If only I could remember where IQuote:> Another possible approach would be to follow what MS does with dlls -
> only export symbols that are marked for export, therby improving lookup
> speed.
Steve
> I believe this was discussed as well. If only I could remember where I
> read about it :(
> Steve
http://www.suse.de/~bastian/Export/linking.txt
1. Gnome/KDE speed. Opinions wanted
I am thinking of getting GNOME or KDE. Before I ftp
them with my 56K modem, I want to get opinions on whether
it is worth it.
I have a 180 MHz PPro computer with 64M RAM. Will Gnome
or KDE slow down my computer to a crawl?
Thanks.
Rishi
4. Need help with Portsentry log entry
5. Running KDE apps under Gnome
6. LOOKING FOR TUTORIAL IN C++
7. xterm probs-redhat 6, can't start apps through kde or gnome
8. how to add something to redhat 8.0
9. Running GNOME apps under KDE
10. Is There an App to record the screen under KDE/Gnome?
12. Errant KDE app under GNOME, always starts after login
13. /tmp/.ICE-unix: running kde apps from gnome