Click to See Complete Forum and Search --> : kde: optimization


bryan.6
11-07-2003, 11:08 AM
I've decided to recompile my KDE, mainly because i downloaded a patch from kde-look that makes drop shadows for icons instead of the ugly box. anyway, i remember reading somewhere that kde runs faster if you optimize it for your system... where can i find what i need to do that? is it true? i plan on rebuilding kde anyway, so even if it's just a wee bit of speed increase, i'd still like to know about it.
bryan

bathory
11-07-2003, 11:37 AM
There is a discussion about this optimize KDE here (http://dot.kde.org/1033624198/1033663360/)

cheers

bryan.6
11-07-2003, 11:46 AM
that is what i was looking for

GaryJones32
11-07-2003, 02:43 PM
hi,
possibly this will help
i got kde running better than gnome with this in my .bash_profile
(put the right processor after -march and -mcpu for your machine !!!!)
also you have to compile Qt with the optimizations as well
since KDE libs is just a Qt wrapper
this was with gcc-3.2.1

CFLAGS="-s -O3 -fomit-frame-pointer -Wall -march=xxx -mcpu=xxx -ffast-math -funroll-loops -fexpensive-optimizations -fschedule-insns2"
CXXFLAGS=$CFLAGS

andysimmons
11-07-2003, 03:06 PM
If you haven't already done so, you can prelink all your shared libraries for a big performance boost.