Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179185 - xorg-server-1.2.0-r3 performance issue
Summary: xorg-server-1.2.0-r3 performance issue
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2007-05-20 07:06 UTC by Alexander Goomenyuk
Modified: 2007-09-24 09:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg log for v1.3.0.0 (Xorg_v1.3.0.0_log.txt,61.36 KB, text/plain)
2007-08-05 10:07 UTC, Alexander Goomenyuk
Details
Xorg log for v1.1.1-r5 (Xorg.0.log,53.53 KB, text/plain)
2007-08-05 10:08 UTC, Alexander Goomenyuk
Details
Xorg config file (xorg.conf,15.50 KB, text/plain)
2007-08-05 10:11 UTC, Alexander Goomenyuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Goomenyuk 2007-05-20 07:06:25 UTC
Xorg server consumes most of CPU time even for simple tasks like firefox borwsing.

Reproducible: Always

Steps to Reproduce:
Run firefox and open about 5 tabs.
Actual Results:  
On my PC Xorg server consumes about 40% of CPUs time during windows movement.

Expected Results:  
I expect CPU consumption not more than 1-2%.
Are you sure this release is really stable?

1) I downgraded to
"X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN 
Current Operating System: Linux localhost 2.6.20-gentoo-r8 #1 SMP Sat May 19 11:39:14 EEST 2007 x86_64
Build Date: 19 May 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present"

and performance issue disapeared.

--------------------------------------------------------------------------
2) emerge --info output: 
Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r2, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 AMD Athlon(tm) 64 FX-60 Dual Core Processor
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 19 May 2007 01:47:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-g -O2 -pipe -march=k8 -mtune=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-g -O2 -pipe -march=k8 -mtune=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://gentoo.tups.lv/source/ http://ftp.linux.ee/pub/gentoo/distfiles/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://gentoo.tups.lv/gentoo-portage rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 apm berkdb bitmap-fonts cdr cli cracklib crypt cups dbus debug djvu dri dvd dvdr dvdread dvi emacs esd exif firefox fortran gdbm gif ginac gnome gphoto2 gpm gtk gtk2 hal iconv ifc ipv6 isdnlog java jpeg jpeg2k libg++ lm_sensors mad midi mmx mmxext mp3 mpi multilib ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre perl pmu png ppds pppd python qt3 qt4 readline reflection session spl sse sse2 ssl tcpd threads tiff truetype truetype-fonts type1-fonts unicode vorbis xine xml xorg xpm zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


--------------------------------------------------------------------------
PS: I tried to remerge Xorg server, revdev-rebuild and etc. That magic approaches doesn't work for me.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2007-08-02 01:15:43 UTC
Is this still an issue with 1.3.0? Please reopen when you reply, and attach /var/log/Xorg.0.log and /etc/X11/xorg.conf.
Comment 2 Alexander Goomenyuk 2007-08-05 10:07:17 UTC
Created attachment 126927 [details]
Xorg log for v1.3.0.0
Comment 3 Alexander Goomenyuk 2007-08-05 10:08:52 UTC
Created attachment 126929 [details]
Xorg log for v1.1.1-r5
Comment 4 Alexander Goomenyuk 2007-08-05 10:11:04 UTC
Created attachment 126930 [details]
Xorg config file
Comment 5 Alexander Goomenyuk 2007-08-05 10:12:59 UTC
Unfortunately issue still preset.

Comment 6 Alan Hourihane 2007-08-05 19:59:16 UTC
Have you tried switching to XAA instead of EXA

Option "AccelMethod" "XAA" 
Comment 7 Alexander Goomenyuk 2007-08-06 16:10:48 UTC
Thanks!
XAA method woks much better than EXA.
Comment 8 Alan Hourihane 2007-08-06 16:48:06 UTC
This isn't a gentoo fault, merely that EXA needs more work yet.
Comment 9 Alan Hourihane 2007-09-24 09:40:08 UTC
Closing now, as XAA works for you and as EXA is still in development.