Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE performance, any tips?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Tue Dec 13, 2005 10:37 pm    Post subject: KDE performance, any tips? Reply with quote

These are the settings I've added to my system so far:
- full compilation using GCC 3.4.4
- kbdrate -s -r 30.0 -d 250.0
- numlockx
- ivman + dbus + hal
- kioslaves
- fetching with deltup
- using esearch & slocate
- kdeenablefinal kdexdeltas USE flags
- /tmp is a tmpfs fellow of size 32MB


What else can I do to improve my desktop experience within KDE?

Thanks in advance!

PS.: This is my emerge info, if needed be:

Code:
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r4 i686)
=================================================================
System uname: 2.6.14-gentoo-r4 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer  -fvisibility-inlines-hidden"
DISTDIR="/mnt/hda/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pt_BR"
LC_ALL="pt_BR"
LINGUAS="pt_BR"
PKGDIR="/mnt/hda/packages"
PORTAGE_TMPDIR="/mnt/hda"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups eds emboss encode exif expat fam ffmpeg foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 hal idn imlib ipv6 java jpeg kde kdeenablefinal kdexdeltas lcms libg++ libwww lirc mad mikmod mmx mng motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pam pcre pdflib perl png python qt quicktime readline sdl spell sse ssl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv xvid zlib video_cards_nvidia linguas_pt_BR userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS

_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
widremann
Veteran
Veteran


Joined: 14 Mar 2005
Posts: 1314

PostPosted: Tue Dec 13, 2005 11:20 pm    Post subject: Reply with quote

There's not a whole lot. Both Qt and X have some inefficiencies that won't be fixed with CFLAGS and gcc. Qt 4.0 supposedly has some significant speed improvements and once EXA becomes stable and mainstream, that should help considerably in making the desktop feel snappier.
Back to top
View user's profile Send private message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3017
Location: Hong Kong

PostPosted: Tue Dec 13, 2005 11:36 pm    Post subject: Reply with quote

Read http://www.gentoo.org/doc/en/prelink-howto.xml and then, in /etc/env.d/99kde-env set
Code:
KDE_IS_PRELINKED=1
KDE_NO_IPV6 = 1   
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Wed Dec 14, 2005 3:06 am    Post subject: Reply with quote

Stolz wrote:
Read http://www.gentoo.org/doc/en/prelink-howto.xml and then, in /etc/env.d/99kde-env set
Code:
KDE_IS_PRELINKED=1
KDE_NO_IPV6 = 1   


What about this?

Code:
localhost ~ # euse -i pic
global use flags (searching: pic)
************************************************************
[-    ] pic - Build Position Independent Code.  Do not utilize this flag unless you know what you're doing.

local use flags (searching: pic)
************************************************************
no matching entries found

_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
Epyon
l33t
l33t


Joined: 11 Sep 2003
Posts: 754
Location: NJ, USA

PostPosted: Wed Dec 14, 2005 3:15 am    Post subject: Reply with quote

You need to emerge glibc with pic in your use flags to get prelink working.
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Wed Dec 14, 2005 10:21 am    Post subject: Reply with quote

Does anyone know if I should worry about the following messages? Are they just warnings?

Code:
prelink: /usr/bin/glxgears: Cannot prelink against non-PIC shared library //usr/lib/opengl/nvidia/lib/libGL.so.1
prelink: /usr/bin/mplayer: Cannot prelink against non-PIC shared library //usr/lib/opengl/nvidia/lib/libGL.so.1
prelink: /usr/i686-pc-linux-gnu/gcc-bin/3.4.4/i686-pc-linux-gnu-g++ is no longer hardlink to /usr/i686-pc-linux-gnu/gcc-bin/3.4.4/i686-pc-linux-gnu-c++
prelink: /usr/kde/3.4/bin/kdesktop_lock: Cannot prelink against non-PIC shared library //usr/lib/opengl/nvidia/lib/libGL.so.1
prelink: /usr/bin/xdriinfo: Cannot prelink against non-PIC shared library //usr/lib/opengl/nvidia/lib/libGL.so.1
prelink: /usr/bin/glxinfo: Cannot prelink against non-PIC shared library //usr/lib/opengl/nvidia/lib/libGL.so.1
Executing /sbin/init U

_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3017
Location: Hong Kong

PostPosted: Wed Dec 14, 2005 12:58 pm    Post subject: Reply with quote

Tleilaxu wrote:
Does anyone know if I should worry about the following messages? Are they just warnings?

Code:
prelink: /usr/bin/glxgears: Cannot prelink against non-PIC shared library //usr/lib/opengl/nvidia/lib/libGL.so.1
prelink: /usr/bin/mplayer: Cannot prelink against non-PIC shared library //usr/lib/opengl/nvidia/lib/libGL.so.1
prelink: /usr/i686-pc-linux-gnu/gcc-bin/3.4.4/i686-pc-linux-gnu-g++ is no longer hardlink to /usr/i686-pc-linux-gnu/gcc-bin/3.4.4/i686-pc-linux-gnu-c++
prelink: /usr/kde/3.4/bin/kdesktop_lock: Cannot prelink against non-PIC shared library //usr/lib/opengl/nvidia/lib/libGL.so.1
prelink: /usr/bin/xdriinfo: Cannot prelink against non-PIC shared library //usr/lib/opengl/nvidia/lib/libGL.so.1
prelink: /usr/bin/glxinfo: Cannot prelink against non-PIC shared library //usr/lib/opengl/nvidia/lib/libGL.so.1
Executing /sbin/init U


Did you read http://www.gentoo.org/doc/en/prelink-howto.xml ;)
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Wed Dec 14, 2005 2:10 pm    Post subject: Reply with quote

Stolz wrote:
Did you read http://www.gentoo.org/doc/en/prelink-howto.xml ;)


Yep! But I didn't understand this part that well. If you please explain it to me, I'll be thankful.
_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Thu Dec 15, 2005 1:37 am    Post subject: Reply with quote

How about these two USE flags? Did anyone face any trouble because of them?

Quote:
sys-libs/glibc-2.3.5-r2 -build -erandom -glibc-compat20 +glibc-omitfp -hardened +linuxthreads-tls (-multilib) +nls +nptl -nptlonly +pic -profile (-selinux) +userlocales

_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
krigav
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2005
Posts: 121

PostPosted: Tue Jan 03, 2006 2:13 pm    Post subject: Reply with quote

+glibc-omitfp should be ok (I'm running my system with it). +linuxthreads-tls isn't needed as far as I know, because this flag is somehow implicated in the default ebuild.

If anybody have details about that I would be happy to hear about them.
_________________
There are no dumb questions, just dumb answers. So please help users that are new to linux/gentoo by answering unanswered questions.
Back to top
View user's profile Send private message
kais
n00b
n00b


Joined: 02 Dec 2005
Posts: 24

PostPosted: Wed Jan 04, 2006 1:28 am    Post subject: Reply with quote

vermaden wrote:
there is 100% sure sollution to speed up kde...

get the fuck rid of this bloated shit and use fluxbox // openbox // pekwm // fvwm :)


if you use any of the kde apps in [fluxbox/openbox/...], then the problem is the same, you must tune/optimise kde, the following link may help you optimizing kde
http://wiki.kde.org/tiki-index.php?page=Performance

by the way, it's absolutely not a bloated shit, I've used many window-managers and other desktop environements, and, IMHO, KDE (3.4-3.5) is really fast and does not use so much ram, and is really very well integrated. I still have fluxbox installed in case an upgrade failed with kde, but with gentoo this is rarely the case !!!!
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Jan 04, 2006 10:55 am    Post subject: Reply with quote

Split off the "KDE is great/rubbish" comments started by the quote in the above post to here: Yet Another KDE Flame (tm)
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum