10 seconds of strace on core i5

strace -c -p 17477
strace: Process 17477 attached
^Cstrace: Process 17477 detached
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 64.24    0.445795           2    258405           clock_gettime
 16.78    0.116422        4158        28         3 clone
  4.95    0.034359          32      1060           ioctl
  4.00    0.027777           3      9464      8685 recvmsg
  2.93    0.020340           6      3293           poll
  1.62    0.011226           2      5567           getpid
  1.49    0.010356           2      5605           sched_yield
  1.35    0.009360           5      1755        43 futex
  0.84    0.005839           4      1333           writev
  0.71    0.004905           2      2817           mprotect
  0.41    0.002868           3       999           write
  0.38    0.002657           3       982           read
  0.08    0.000527           9        62         4 openat
  0.06    0.000408           4        92           nanosleep
  0.05    0.000335           3       110           close
  0.03    0.000237           2       112           fstat
  0.03    0.000198           3        61           mmap
  0.02    0.000112           2        54           fcntl
  0.01    0.000083          83         1           restart_syscall
  0.01    0.000059           2        28           pipe2
  0.01    0.000050           2        22           getrusage
  0.00    0.000017           3         6           wait4
  0.00    0.000016           1        12        12 lseek
  0.00    0.000006           2         4           rt_sigreturn
  0.00    0.000003           1         4           statfs
------ ----------- ----------- --------- --------- ----------------
100.00    0.693955                291876      8747 total

-- 
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/1773959

Title:
  High CPU usage by gnome-shell when only running gnome-terminal

Status in gnome-shell package in Ubuntu:
  Confirmed

Bug description:
  Even when doing nothing but displaying a terminal screen with top
  running gnome-shell uses 10% of a CPU. That seems excessive. I
  disabled all extensions to try and make the test fair. Enabling the
  system monitor extension increases the load to 13-14%. It seems that
  the gnome-shell screen painting is highly CPU consuming even if screen
  updates are infrequent (1 a second for all these cases).

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: gnome-shell 3.28.1-0ubuntu2
  ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
  Uname: Linux 4.15.0-20-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Tue May 29 11:38:05 2018
  DisplayManager: gdm3
  InstallationDate: Installed on 2016-10-27 (578 days ago)
  InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160719)
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to bionic on 2018-05-19 (9 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1773959/+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