You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

seb

Professional

  • "seb" started this thread

Posts: 622

Location: Sydney

Occupation: Student

  • Send private message

1

Sunday, October 17th 2004, 5:35am

Performance Tips for KDE

Found this useful article on kde-wiki.

http://wiki.kde.org/tiki-index.php?page=Performance+Tips

This post has been edited 1 times, last edit by "OhReally" (Jul 28th 2008, 12:24am)


2

Sunday, October 17th 2004, 7:18am

Re: Performance Tips for KDE

Quoted

Original von seb

Found this useful article on kde-wiki.

http://wiki.kde.org/tiki-index.php?page=Performance+Tips

If I understood the discussion on the mailing lists correctly this is a draft version that will move somewhere else when it's finished. So we'll have to check this link from time to time and then adapt it.

daihard

Trainee

Posts: 89

Location: Lynnwood, WA, USA

Occupation: Senior Database Software Engineer

  • Send private message

3

Friday, December 10th 2004, 8:08am

This may be off topic but...

Is this the right place to talk about optimizing KDE in terms of GCC compiler options? I use konstruct to build KDE myself. The default optimization flags are "-O2 -pipe". I am wondering if I can speed up KDE in general by using a more aggressive flag such as O3 or CPU-specific flags such as march=pentium4? "O3" will probably increase the code size, but I have plenty of hard disk space.

TIA,
Dai
Registered Linux User: #281828
Home: Fedora Core 6 / KDE 3.5.8
Work: CentOS 4.6 / KDE 3.5.8

4

Sunday, September 25th 2005, 1:00pm

compile performance

compiling with gcc 3.4.4 or gcc 4.0.1 improves kde performance.
I want peace, health, and happiness for all...

Lethe

Beginner

Posts: 41

Location: Pompey, England

Occupation: IT network/sysadmin

  • Send private message

5

Friday, February 17th 2006, 6:06pm

If you are not worried about 'crash reports'/debug info, and do not use IPV6, I found these two environment $VARS speed things up a tad:

KDE_DEBUG=0
KDE_NO_IPV6=1

BTW, 3.5.1 is _perfect_!! All the little issues I had/bug reported got fixed!

Nick

This post has been edited 1 times, last edit by "Lethe" (Feb 17th 2006, 6:09pm)


vdboor

Beginner

Posts: 30

Location: The Netherlands

Occupation: Software developer

  • Send private message

6

Sunday, March 12th 2006, 3:23pm

RE: This may be off topic but... (compiler flags)

daihard, I think it's off-topic, but still like to give some answers:

Quoted

Originally posted by daihard
Is this the right place to talk about optimizing KDE in terms of GCC compiler options?

I'm not sure, but do you think it really improves the code a lot? It's still the same code... and gcc is still one of the most inefficient compilers.

And consider the fact your distribution already compiled KDE with -O2, and likely -mcpu=i686. Your distribution likely took care of "unused direct dependencies" too, in constrast with the default behavour of ./configure scripts. Try the commands:

Source code

1
2
ldd -v -u `which binary`
objdump -x `which binary` | grep NEEDED
At SuSE here binaries are already linked against the bare minimum. When you compile things yourself you'll need to fix that too.

Quoted

The default optimization flags are "-O2 -pipe". I am wondering if I can speed up KDE in general by using a more aggressive flag such as O3 or CPU-specific flags such as march=pentium4? "O3" will probably increase the code size, but I have plenty of hard disk space.

Huge binaries also increase the loading time of the application. So what's more to gain here? A desktop application is idle 99% of the time. The times you need speed is at start-up and with some batch-processing operations.

It may sound a bit depressing, but I like to be realistic about these topics. Things like Qt4, a better compiler, better C++ support in gcc and better usage of the harddrive-IO improve a lot more then some tweaking with flags.
Working on KMess, a MSN Messenger client for Linux/KDE.

This post has been edited 1 times, last edit by "vdboor" (Mar 12th 2006, 3:24pm)


7

Friday, October 19th 2007, 6:43pm

I do not know more about it also i do not know how it will be compiler more effectivelly.so Please tell me Abount it anyone who is so good in this field.

This post has been edited 3 times, last edit by "kde-forum33" (Jul 16th 2009, 7:22am)