After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 677878 - Gnome-Shell abnormal CPU use
Gnome-Shell abnormal CPU use
Status: RESOLVED INCOMPLETE
Product: gnome-shell
Classification: Core
Component: general
3.4.x
Other Linux
: Normal major
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-06-11 17:42 UTC by MetotoSakamoto
Modified: 2018-07-28 10:41 UTC
See Also:
GNOME target: ---
GNOME version: 3.3/3.4



Description MetotoSakamoto 2012-06-11 17:42:35 UTC
Gnome-shell use allways more 25% of my 4 core CPU


Tell me what you need in information. I'll post it
Comment 1 André Klapper 2012-06-13 15:41:59 UTC
See https://bugzilla.gnome.org/page.cgi?id=bug-writing.html for basics (steps to reproduce, version and distribution information), and https://live.gnome.org/GnomeShell/Debugging for shell stuff :)
Comment 2 Radoslaw Biernacki 2013-01-28 09:36:14 UTC
Have the same issue. I use 3 machines, all of them have the same problem. High CPU usage from gnome-shell. All of them have different HW configurations. Two of them uses multi-monitor configuration, but issue seems to be not connected to this aspect.

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                                  
25555 radoslaw  20   0 1654m 114m  29m S 12.9  1.4 164:20.87 gnome-shell                                                                                                                              
26528 radoslaw  20   0 2613m 794m 774m S 12.9 10.0 952:48.49 VirtualBox                                                                                                                               
30165 radoslaw  20   0 2948m 1.1g 1.0g S  5.9 13.8   1930:06 VirtualBox                                                                                                                               
 2041 root      20   0  386m 155m  17m S  2.0  2.0 637:49.22 Xorg                                                                                                                                     
29724 root      20   0 15392 1400  940 R  2.0  0.0   0:00.04 top                                                                                                                                      
30102 radoslaw  20   0  913m 6128 3552 S  2.0  0.1  30:22.19 VBoxSVC                                                                                                                                  
 2469 radoslaw  20   0  646m  40m 7064 S  1.0  0.5  16:52.01 gnome-terminal                                                                                                                           
 8396 radoslaw  20   0  926m  28m  12m S  1.0  0.4   6:27.10 vlc                                                                                                                                      
23474 radoslaw  20   0  584m  32m  12m S  1.0  0.4 485:18.78 psi                                                                                                                                      
25554 root      20   0 15392 1348  912 S  1.0  0.0  55:12.16 top                                                                                                                                      
25852 radoslaw  20   0 1016m 117m  20m S  1.0  1.5   0:49.96 chrome                                                                                                                                   
    1 root      20   0 59500 9564 1872 S  0.0  0.1   0:49.09 systemd                                                                                                                                  
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.98 kthreadd                                                                                                                                 
    3 root      20   0     0    0    0 S  0.0  0.0   0:11.01 ksoftirqd/0           

gnome-shell is a nightmare!!! On my EeePC it prevents me from watching HD movies. When I switch to xfce everything is working like a charm.

When I strace the shell_gnome I got:

sched_yield()                           = 0
sched_yield()                           = 0
sched_yield()                           = 0
sched_yield()                           = 0
sched_yield()                           = 0
sched_yield()                           = 0
sched_yield()                           = 0
sched_yield()                           = 0
sched_yield()                           = 0
sched_yield()                           = 0

Why gnome_shell constantly spin on sched_yeld ? What idea is behind this ?
Comment 3 Alexandre Franke 2017-11-01 18:15:23 UTC
That was a long time ago and performance has been improved significantly in the meantime. Do you still witness this issue?
Comment 4 André Klapper 2018-07-28 10:41:11 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in the previous comment.
Thanks!