Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: gnome-shell (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1915824

Title:
  High CPU load from gnome-shell

Status in gnome-shell package in Ubuntu:
  Confirmed

Bug description:
  When doing nothing else, there is a constant base-line of CPU usage
  from gnome-shell:

  ```
  op - 14:55:09 up 6 days,  1:39,  1 user,  load average: 1.36, 1.52, 1.77
  Tasks: 400 total,   3 running, 397 sleeping,   0 stopped,   0 zombie
  %Cpu(s):  9.5 us,  2.9 sy,  0.0 ni, 85.0 id,  0.1 wa,  0.0 hi,  2.6 si,  0.0 
st
  MiB Mem :  31848.3 total,   4007.8 free,  12690.2 used,  15150.4 buff/cache
  MiB Swap:    980.0 total,    946.3 free,     33.7 used.  18037.0 avail Mem 

      PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ 
COMMAND                                                                         
                      
     3236 myuser   20   0 5242476 902752 130032 R  41.9   2.8 278:24.48 
gnome-shell          
  ```

  it is always burning one CPU somewhere between 30-60%

  Using strace for the process ID:

  ```
  % time     seconds  usecs/call     calls    errors syscall
  ------ ----------- ----------- --------- --------- ----------------
   48.14    1.000284           1    697706    645150 stat
   11.61    0.241121           3     62789     52442 recvmsg
    8.63    0.179359           4     43747           poll
    5.67    0.117864           2     44505           getpid
    4.94    0.102593           2     44238           getdents64
    4.33    0.089898           1     49124     22123 openat
    4.16    0.086467          16      5215           ioctl
    3.91    0.081323           5     14263           writev
    2.11    0.043793           1     27259           close
    1.68    0.034954           1     27001           fstat
    1.15    0.023988           3      7035           sched_yield
    1.10    0.022808           2      9373           read
    0.78    0.016186           3      5119           write
    0.52    0.010716           3      3541       189 futex
    0.44    0.009226           2      4094           mprotect
    0.33    0.006878           7       934           clock_nanosleep
    0.32    0.006646           3      2018           mmap
    0.17    0.003526           1      2040           munmap
    0.00    0.000010           0        12           getrusage
    0.00    0.000006           6         1           restart_syscall
    0.00    0.000004           0         5           recvfrom
    0.00    0.000000           0         2           lseek
    0.00    0.000000           0         3           timerfd_create
    0.00    0.000000           0         3           timerfd_settime
  ------ ----------- ----------- --------- --------- ----------------
  100.00    2.077650               1050027    719904 total

  ```

  What could be causing this?

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gnome-shell 3.36.4-1ubuntu1~20.04.2
  ProcVersionSignature: Ubuntu 5.4.0-65.73-generic 5.4.78
  Uname: Linux 5.4.0-65-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.16
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Feb 16 14:50:18 2021
  DisplayManager: lightdm
  InstallationDate: Installed on 2018-04-27 (1026 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  RelatedPackageVersions: mutter-common 3.36.7+git20201123-0.20.04.1
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to focal on 2021-01-22 (25 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1915824/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to