Bug 690893 - [Crestline] Recent updates cuased Xorg to use 99+% of CPU and shows invalid TIME+ in top command
Summary: [Crestline] Recent updates cuased Xorg to use 99+% of CPU and shows invalid T...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-intel
Version: 13
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-25 17:58 UTC by sasikanth
Modified: 2018-04-11 12:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-22 08:11:08 UTC
Type: ---


Attachments (Terms of Use)
dmesg output (116.61 KB, text/plain)
2011-04-10 08:10 UTC, sasikanth
no flags Details
/var/log/messages (248.84 KB, text/plain)
2011-04-10 08:15 UTC, sasikanth
no flags Details
X server log file (/var/log/Xorg.*.log) (125.23 KB, text/plain)
2011-04-10 08:17 UTC, sasikanth
no flags Details

Description sasikanth 2011-03-25 17:58:43 UTC
Description of problem:

Recent update caused the Xorg to use 99+% of CPU which creates lot of performance impact on my dual-core system and the runtime of xorg is showing invalid in top command output

Tasks: 201 total,   2 running, 198 sleeping,   0 stopped,   1 zombie
Cpu(s):  9.2%us, 38.6%sy,  0.0%ni, 52.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2052500k total,  1919360k used,   133140k free,   235832k buffers
Swap:  4128764k total,        0k used,  4128764k free,  1213736k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                         
 1800 root       7   0 88632  33m  13m R 99.5  1.7  80:30.46 


Please find top and pstack output below

TOP output
-----------

Tasks: 201 total,   2 running, 198 sleeping,   0 stopped,   1 zombie
Cpu(s):  9.2%us, 38.6%sy,  0.0%ni, 52.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2052500k total,  1919360k used,   133140k free,   235832k buffers
Swap:  4128764k total,        0k used,  4128764k free,  1213736k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                         
 1800 root       7   0 88632  33m  13m R 99.5  1.7  80:30.46 Xorg                                                            
 2119 Sasi       1   0  153m  11m 9308 S  0.7  0.6   0:12.51 metacity                                                        
 2141 Sasi       1   0 85352  12m 9856 S  0.7  0.6   0:11.79 wnck-applet                                                     
 2407 Sasi       1   0 89552  12m 9248 S  0.3  0.6   0:10.81 gnome-terminal                                                  
11447 root       7   0  2744 1088  804 R  0.3  0.1   0:00.04 top                                                             
    1 root       1   0  2876 1340 1136 S  0.0  0.1   0:01.70 init                                                            
    2 root       1   0     0    0    0 S  0.0  0.0   0:00.01 kthreadd                                                        
    3 root       1   0     0    0    0 S  0.0  0.0   0:00.46 ksoftirqd/0                                                     
    6 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0                                                     
    7 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/1                                                     
    9 root       1   0     0    0    0 S  0.0  0.0   0:00.60 ksoftirqd/1                                                     
   10 root       1   0     0    0    0 S  0.0  0.0   0:12.54 kworker/0:1                                                     
   11 root       1 -20     0    0    0 S  0.0  0.0   0:00.00 cpuset                                                          
   12 root       1 -20     0    0    0 S  0.0  0.0   0:00.00 khelper                                                         
   13 root       1 -20     0    0    0 S  0.0  0.0   0:00.00 netns                                                           
   14 root       1 -20     0    0    0 S  0.0  0.0   0:00.00 pm                                                              
   15 root       1   0     0    0    0 S  0.0  0.0   0:00.00 sync_supers                                                     
   16 root       1   0     0    0    0 S  0.0  0.0   0:00.00 bdi-default                                                     
   17 root       1 -20     0    0    0 S  0.0  0.0   0:00.00 kintegrityd                                                     
   18 root       1 -20     0    0    0 S  0.0  0.0   0:00.00 kblockd                                                         
   19 root       1 -20     0    0    0 S  0.0  0.0   0:00.00 kacpid                                                          
   20 root       1 -20     0    0    0 S  0.0  0.0   0:00.00 kacpi_notify                                                    
   21 root       1 -20     0    0    0 S  0.0  0.0   0:00.00 kacpi_hotplug                                                   
   22 root       1 -20     0    0    0 S  0.0  0.0   0:00.00 ata_sff                                                         
   23 root       1   0     0    0    0 S  0.0  0.0   0:00.02 khubd                                                           
   24 root       1   0     0    0    0 S  0.0  0.0   0:00.13 kseriod         

Pstack output
-------------

[root@Shash Sasi]# pstack 1800
#0  0xb7821424 in __kernel_vsyscall ()
#1  0x4ce741cd in ___newselect_nocancel () from /lib/libc.so.6
#2  0x080a7267 in WaitForSomething ()
#3  0x0806dc30 in ?? ()
#4  0x08062595 in _start ()



Version-Release number of selected component (if applicable):

[root@Shash linux-2.6]# cat /etc/redhat-release 
Fedora release 13 (Goddard)


How reproducible:

Very time i logged into the machine I am facing this problem

Steps to Reproduce:
1.Just login into the machine and start terminal with multiple windows and see top output
2.
3.
  
Actual results:

Xorg using 99+% CPU usage

Expected results:

It should not use 99% CPU

Additional info:

Comment 1 Matěj Cepl 2011-04-06 14:42:12 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 2 sasikanth 2011-04-10 08:10:56 UTC
Created attachment 491042 [details]
dmesg output

Comment 3 sasikanth 2011-04-10 08:15:20 UTC
Created attachment 491044 [details]
/var/log/messages

Comment 4 sasikanth 2011-04-10 08:17:17 UTC
Created attachment 491046 [details]
X server log file (/var/log/Xorg.*.log)

Comment 5 sasikanth 2011-04-10 08:18:28 UTC
I attached the following logs files

* X server log file (/var/log/Xorg.*.log)
* output of the dmesg command, and
* system log (/var/log/messages)

Thanks

Comment 6 Bug Zapper 2011-05-30 10:53:06 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 7 sasikanth 2011-06-22 08:11:44 UTC
Closed the bug .. not able to reproduce this issue in f14


Note You need to log in before you can comment on or make changes to this bug.