I'm finding the same symptoms from gnome-shell, relatively high cpu use by gnome-shell with all extenstions deisabled (if I turn on extensions the cpu usages is ridiculous high, in the range of 20-50%). I checked strace as above and am finding the same high number of errors from the recvmsg call:
strace: Process 1321 detached % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 39.28 1.151799 7 168623 145929 recvmsg 24.30 0.712624 14 52590 poll 12.08 0.354380 9 41109 ioctl 8.01 0.234871 12 18865 writev 6.37 0.186740 7 26188 write 4.18 0.122557 5 23811 getpid 2.65 0.077663 7 11653 read 1.26 0.036853 5 7852 mprotect -- 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 : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

