Bug#593572: marked as done (xorg: Xorg consumes about 12% of CPU when gkrellm running and you switch from X to console)
Your message dated Sat, 26 Feb 2011 12:11:11 +0100
with message-id <20110226111111.GE12480@radis.liafa.jussieu.fr>
and subject line Re: Bug#593572: xorg: Xorg consumes about 12% of CPU when gkrellm running and you switch from X to console
has caused the Debian Bug report #593572,
regarding xorg: Xorg consumes about 12% of CPU when gkrellm running and you switch from X to console
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
593572: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593572
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: xorg: Xorg consumes about 12% of CPU when gkrellm running and you switch from X to console
- From: Marek Eliáš <eliam6am@ss1000.ms.mff.cuni.cz>
- Date: Thu, 19 Aug 2010 12:44:06 +0200
- Message-id: <20100819104406.14770.77924.reportbug@pascal.doma>
Package: xorg
Version: 1:7.5+6
Severity: normal
when I am running gkrellm in Xorg and then switch from Xorg to console,
Xorg consumes about 12 % of CPU.
This happens when gkrellm or firefox displaying web page with flash is
running. I tried the same with application like mplayer or vlc and
problem did not occur. Moreover when I run only mplayer playing some
video and I switch to console, Xorg consumes nearly no CPU time.
When I am in Xorg, gkrellm runs OK, the problem occurs only when I
switch from Xorg to console. Similarly with flash. In case of gkrellm
running, Xorg consumes about 2% of CPU when in Xorg and 12% when in
console. In case of flash, Xorg consumes about 4% of CPU when switched
to Xorg and 24% when switched to console. This CPU usage is
approximately same all the time I am switched to console.
straces of gkrellm seems to be same whether I am in Xorg or in console.
So I tried to strace Xorg process. I don't know what to look for, but
here are some statistics if you are interested.
I ran strace on Xorg for 60 seconds with and without gkrellm running:
without gkrellm:
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
63.27 0.000310 0 3242 ioctl
18.57 0.000091 0 394 setitimer
11.02 0.000054 0 392 195 read
7.14 0.000035 0 635 clock_gettime
0.00 0.000000 0 61 munmap
0.00 0.000000 0 197 select
0.00 0.000000 0 136 writev
------ ----------- ----------- --------- --------- ----------------
100.00 0.000490 5057 195 total
with gkrellm running:
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
99.71 8.556992 87 98452 ioctl
0.28 0.024115 23 1065 select
0.00 0.000294 0 2130 setitimer
0.00 0.000126 0 1726 836 read
0.00 0.000113 0 2504 clock_gettime
0.00 0.000104 2 61 munmap
0.00 0.000060 0 195 writev
0.00 0.000000 0 244 6 sigreturn
------ ----------- ----------- --------- --------- ----------------
100.00 8.581804 106377 842 total
I counted ioctl request codes:
ioctl request code gkrellm not running gkrellm running
------------------ ------------------- ---------------
0xc00c6466 181 1345
0xc010645b 60 60
0xc020645e 60 65
0x400c645f 1440 48858
0x40046460 1440 48062
0x40086409 61 61
You can find whole straces in
http://coulomb.farm.particle.cz/~elias/bug/ if you are interested.
There is also my xorg.conf and some Xorg.log files.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=sk_SK.UTF-8, LC_CTYPE=sk_SK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xorg depends on:
ii gnome-terminal [x-terminal-em 2.30.2-1 The GNOME terminal emulator applic
ii libgl1-mesa-dri 7.7.1-3 A free implementation of the OpenG
ii libgl1-mesa-glx [libgl1] 7.7.1-3 A free implementation of the OpenG
ii libglu1-mesa 7.7.1-3 The OpenGL utility library (GLU)
ii x11-apps 7.5+5 X applications
ii x11-session-utils 7.5+1 X session utilities
ii x11-utils 7.5+4 X11 utilities
ii x11-xfs-utils 7.4+1 X font server utilities
ii x11-xkb-utils 7.5+5 X11 XKB utilities
ii x11-xserver-utils 7.5+1+b1 X server utilities
ii xauth 1:1.0.4-1 X authentication utility
ii xfonts-100dpi 1:1.0.1 100 dpi fonts for X
ii xfonts-75dpi 1:1.0.1 75 dpi fonts for X
ii xfonts-base 1:1.0.1 standard fonts for X
ii xfonts-scalable 1:1.0.1-1 scalable fonts for X
ii xfonts-utils 1:7.5+2 X Window System font utility progr
ii xinit 1.2.0-2 X server initialisation tool
ii xkb-data 1.8-1 X Keyboard Extension (XKB) configu
ii xorg-docs-core 1:1.5-1 Core documentation for the X.org X
ii xserver-xorg 1:7.5+6 the X.Org X server
ii xterm [x-terminal-emulator] 261-1 X terminal emulator
xorg recommends no packages.
Versions of packages xorg suggests:
ii xorg-docs 1:1.5-1 Miscellaneous documentation for th
-- no debconf information
--- End Message ---
--- Begin Message ---
On Sat, Feb 26, 2011 at 09:35:33 +0100, Marek Eliáš wrote:
> On Thu, Aug 19, 2010 at 01:19:10PM +0100, Julien Cristau wrote:
> > Please keep the bug report cc:ed on replies.
> >
> > On Thu, Aug 19, 2010 at 13:38:56 +0200, Marek Eliáš wrote:
> >
> > > Maybe. I was about to file bugreport for gkrellm because It seemed to be
> > > only application doing this. But in the last moment I found flash and
> > > when I realized that nearly all my info is about behaviour of Xorg, I
> > > filed it for xorg. I don't care about flash. If consider this as
> > > gkrellm's bug, are you able to forward it to gkrellm? Or should I send
> > > the same report to gkrellm?
> > >
> > Try to figure out what commands gkrellm keeps sending to X when switched
> > away. Something like xtrace might help.
> In squeeze this behaviour doesn't occure anymore. gkrellm runs ok, flash
> too. I think the bug can be closed.
>
Thanks, closing.
Cheers,
Julien
--- End Message ---
Reply to: