[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2020-10-14 Thread Greggth
Expanding on Shambler's 2019/03/23 comment, clock_gettime showing up in
the strace can be caused by the TSC clock source being marked unstable
(after a sleep for some people, like me).

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2019-04-25 Thread Daniel van Vugt
This bug is closed because:

 (a) The original reporter can't reproduce it any more; and
 (b) The developer can't reproduce it any more.

If there are any remaining issues then please open a new bug by running:

  ubuntu-bug gnome-shell

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2019-04-24 Thread Satya
I see same behaviour. recvmsg() with EAGAIN failures (lot!!). CPU
utilization is not very high for me. Like around 3% but constant usage.
I could see difference in battery life. Switched back to unity for now.

I see the status as "Fix released". Which ubuntu version has the fix?

Or is it possible to get the fix for 18.04 too (via gnome-shell
update?)?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2019-03-23 Thread Shambler
See this bug:
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1821441

It looks like (at least for some people) there was a wider root cause -
confirmed by the trace in comments above, where expensive clock_gettime
calls are observed.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2019-03-04 Thread Daniel van Vugt
Pedro,

That's enough for me, thanks.

This bug is now closed. If anyone experiences any more issues at all
then please open a new bug by running:

  ubuntu-bug gnome-shell

And if anyone did want to test 19.04 then you can find it here:

  http://cdimages.ubuntu.com/daily-live/current/

But if you do find any problems with 19.04 then please open new bugs for
those.

** Changed in: gnome-shell (Ubuntu)
   Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2019-03-02 Thread Pedro Côrte-Real
Hi Daniel. I can't even reproduce it in 18.04 anymore. I tried:

- Booting 18.04.2 from a usb disk
- The 18.04 GNOME Wayland session (what I'm trying now to avoid a bunch of 
other bugs)
- The 18.04 default Ubuntu Xorg session

all of them seem to be showing reasonable <1% gnome-shell CPU usage when
showing just a gnome-terminal running top. Don't know what fixed it but
it does seem fixed. I can live boot 18.10 if that's useful or even 19.04
if there are images for that already somewhere.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2019-02-28 Thread Daniel van Vugt
Pedro, please answer comment #18. I would like to know if 18.10 or 19.04
has changed the situation for you.

---

Nicolas, this bug is not about showing seconds in the clock. Please
comment in bug 1814125 instead for that issue and not here. Or log a new
bug.

---

Mark, this bug is about the CPU usage of the gnome-shell process only,
when displaying a terminal and nothing else. If you experience any other
problem then please open a new bug.

---

Roland, there is insufficient information in this bug at the moment and
some irrelevant comments. So no, nobody is working on it because we're
not sure any bug exists. Also be careful to remember that this bug is
about the CPU usage of the gnome-shell process only when displaying a
terminal and nothing else. If you experience any other problem then
please open a new bug.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2019-02-28 Thread Roland (Rolandixor) Taylor
I really hope this is fixed by 19.04

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2019-01-04 Thread Mark Preston
I disabled all extensions in Firefox. I'm trying to fix my high CPU. I'm
not a computer adept.

mark@Lexington:~$ ps aux | grep 'Z'
USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
root  2587  0.0  0.0  0 0 ?Z08:05   0:00 [apccontrol] 

mark  2608  0.0  0.0  0 0 tty2 Z+   08:05   0:00 
[livepatch-notif] 
mark 19191  0.0  0.0  0 0 tty2 Z+   16:38   0:00 
[livepatch-notif] 

mark@Lexington:~$ pstree -p -s 2608
systemd(1)───gdm3(1052)───gdm-session-wor(2026)───gdm-x-session(2053)───gnome-s+

mark@Lexington:~$ pstree -p -s 19191
systemd(1)───gdm3(1052)───gdm-session-wor(2026)───gdm-x-session(2053)───gnome-session-b(2065)───update-notifier(2599)───livepatch-not+

Before installing 18.04 my CPU load averages ranged from .5 to 1-ish.
Now they are always over 2. That's not a heat issues, obvs, but it is
making for erratic mouse/screen appearances.

mark@Lexington:~$ canonical-livepatch status --verbose
client-version: 8.1.0
machine-id: 6ac6b179c17c458d850424626c8b8c04
machine-token: be21448785bf432db941d268ec4e9032
architecture: x86_64
cpu-model: AMD FX(tm)-6300 Six-Core Processor
last-check: 2019-01-04T17:08:29.620560634-08:00
boot-time: 2019-01-04T08:03:53-08:00
uptime: 9h5m24s
status:
- kernel: 4.15.0-43.46-generic
  running: true
  livepatch:
checkState: checked
patchState: nothing-to-apply
version: ""
fixes: ""

Sources:

http://ubuntu.5.x6.nabble.com/On-restart-Livepatch-Notif-is-always-a
-zombie-process-td5176526.html

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-12-27 Thread Nicolas Göddel
After years of high CPU usage with gnome-shell and not finding the
issue, I finally found this bug report, disable showing the seconds of
the clock in the top panel and now the CPU usage is between 0-1% instead
of 40% and more. What the heck? Thank you!

Still clock_gettime is active 71% of the time but the overall usage is
no minimal. Maybe my battery will last longer now.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-12-14 Thread Daniel van Vugt
Actually... my gnome-shell seems to spend about 25% of its time in the
kernel ("system time"), and 75% in user space. That means 0.25*0.8327
--> around 20% of gnome-shell's time is spent inside the clock_gettime
system call. This is quite significant actually. Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-12-13 Thread Daniel van Vugt
Regarding:

% time seconds usecs/call calls errors syscall
-- --- --- - - 
 83.37 2.716542 2 1494072 clock_gettime

I believe that's 83.37% of the process' system time. It's not the
overall CPU usage of the function. If you use the 'time' command or
compare fields 14 and 15 in /proc/PID/stat then you will likely find the
process' system time is not a significant percentage of its overall time
used. Because that doesn't include the 'user' time which is a much
bigger fraction. So the above is 83.37% of a small fraction and should
be ignored.

Basically it means 'strace -c' is meaningless to regular users and
should be ignored.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-12-13 Thread Pat Trainor
In case the video is still suspected:

pat@wopr:~$ xrandr
Screen 0: minimum 8 x 8, current 9600 x 2160, maximum 16384 x 16384
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 1920x1080+3840+1080 (normal left inverted right x axis y 
axis) 344mm x 194mm
   1920x1080 60.02*+  47.99  
DP-1 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 
340mm
   3840x2160 60.00*+  30.00  
   2560x1440 59.95  
   1920x1080 60.0059.94  
   1600x900  60.00  
   1280x1024 60.02  
   1280x800  59.81  
   1280x720  60.0059.94  
   1152x864  59.96  
   1024x768  60.00  
   800x600   60.32  
   720x480   59.94  
   640x480   59.9459.93  
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected 3840x2160+5760+0 (normal left inverted right x axis y axis) 
600mm x 340mm
   3840x2160 60.00 +  30.00* 
   2560x1440 59.95  
   1920x1080 60.0059.94  
   1600x900  60.00  
   1280x1024 60.02  
   1280x800  59.81  
   1280x720  60.0059.94  
   1152x864  59.96  
   1024x768  60.00  
   800x600   60.32  
   720x480   59.94  
   640x480   59.9459.93  
DP-4 disconnected (normal left inverted right x axis y axis)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-12-13 Thread Pat Trainor
I see 9% consistently, and as with those above, clock_gettime seems to
be the culprit:

pat@wopr:~$ sudo strace -c -p 29333
[sudo] password for pat: 
strace: Process 29333 attached

^Cstrace: Process 29333 detached
% time seconds  usecs/call callserrors syscall
-- --- --- - - 
 83.372.716542   2   1494072   clock_gettime
  3.620.117823  32  3654   ioctl
  3.400.110891   3 40996 36714 recvmsg
  2.530.082418   6 13709   poll
[...]

Ubuntu 18.04, i7 4.0GHZ, 32GB RAM uname -a:
Linux wopr 4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64 
x86_64 x86_64 GNU/Linux

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-12-02 Thread Daniel van Vugt
Yes this bug is about buffer copies really, and so the performance of
software-rendered toolkits like GTK.

Please be careful to not discuss moving the mouse in this bug because
that's a different problem. Please open a new bug for mouse movements
and mention https://gitlab.gnome.org/GNOME/mutter/issues/283

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-12-01 Thread Nate Byrnes
I've noticed the same issue with all extensions disabled. It seems very
correlated with changes on the screen, to include moving the mouse. I've
watched 'top' over an SSH connection to the system running gnome. If I
have just a terminal window open any updates in that window cause gnome-
shell CPU to jump to 7-9% CPU for a couple seconds (according to top
which is updating every second on a remote shell). The updates and
activities I've tested so far that seem to show this behavior are:

- moving the mouse around on the screen

- typing any amount of text in the open terminal window

- having top running in the open terminal window.

I'm guessing there is something in gnome-shell copying the screen to a
buffer, and, after some period of inactivity it decreases its rate of
copying... perhaps?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-11-18 Thread Daniel van Vugt
Moving the mouse around is
https://gitlab.gnome.org/GNOME/mutter/issues/283, not this one. Feel
free to open a new Launchpad bug for it.

This bug is about when only gnome-terminal is running without any
interaction. Not moving the mouse.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-11-18 Thread dimjava
Tried on both 18.04 (gnome-shell version 3.28.3 and 3.28.1) and 18.10 (3.30.1).
No extensions at all. 

Got cpu usage changing from 20% to 90% just moving mouse around.

3.28.1 behaviour is slightly better: from 15% to 30-40%

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-10-23 Thread Daniel van Vugt
Pedro,

I can't seem to find any significant CPU usage by gnome-shell when the
terminal is busy, using Ubuntu 18.10.

Can you please try live booting 18.10 and tell us if you find that is better 
now?
http://releases.ubuntu.com/18.10/ubuntu-18.10-desktop-amd64.iso

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

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-10-23 Thread Daniel van Vugt
Also,

Everyone please REMOVE or DISABLE all your extensions before measuring
the CPU usage of gnome-shell. We are not interested in the performance
problems introduced by extensions here.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-10-14 Thread Daniel van Vugt
Gustuv:

Please open a new bug for the issue you describe, by running:

  ubuntu-bug gnome-shell

If gnome-shell is idling with that much CPU usage then it's usually an
extension to blame.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-10-13 Thread Gustav Bylund
gnome-shell idling at around 17% usage right now, here's an strace for
around 15 seconds:

strace: Process 963 attached
^Cstrace: Process 963 detached
% time seconds  usecs/call callserrors syscall
-- --- --- - - 
 28,650,167283   0242195173541 recvmsg
 21,440,125202   0161286   poll
 19,440,113499   7 15141   274 futex
 10,320,060288   2 28487   ioctl
 10,010,058442   1 55063   writev
  2,890,016898   0 24103   getpid
  0,930,005429   1  3620   mmap
  0,900,005257   0  7155   close
  0,900,005229   1  3553   memfd_create
  0,870,005066   1  3571   munmap
  0,830,004830   0  7112   lseek
  0,770,004507   1  3553   sendmsg
  0,590,003440   0  3554   recvfrom
  0,580,003374   0  3553   ftruncate
  0,430,002504   0  3334   mprotect
  0,270,001554   0  1932   write
  0,160,000936   0  1107   read
  0,020,000115   16112 openat
  0,010,30   092   fstat
  0,000,18   043   fcntl
  0,000,04   0 6   getrusage
  0,000,04   4 1   restart_syscall
-- --- --- - - 
100.000,583909568522173827 total

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-10-01 Thread Stephan Sturges
Same problem here, running Ubuntu 18.04 on a Dell XP 9570 with a screen
resolution of 3840x2160.

I am also seeing a lot of errors in recvmsg:

strace: Process 1312 attached
^Cstrace: Process 1312 detached
% time seconds  usecs/call callserrors syscall
-- --- --- - - 
 75.950.065664   2 26665   clock_gettime
  8.380.007247   6  1238  1125 recvmsg
  4.080.003530   9   410   poll
  3.180.002747   3   802   getpid
  2.090.001808  10   189   writev
  1.810.001566  11   140   124 stat
  1.210.001048   7   142 1 futex
  1.150.000997   2   510   sched_yield
  0.790.000686   4   162   write
  0.660.000568   4   132   read
  0.400.000348   3   106   mprotect
  0.120.000106   813   nanosleep
  0.060.51   6 9   mmap
  0.040.34  11 3   openat
  0.030.23   4 6   fstat
  0.020.14   5 3   close
  0.010.10   3 3   fcntl
  0.010.09   1 8   getrusage
  0.000.00   0 1   restart_syscall
-- --- --- - - 
100.000.086456 30542  1250 total

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-09-30 Thread Daniel van Vugt
Thanks for reminding me about this bug. It's now on this checklist:

https://trello.com/c/pe5mRmx7

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-09-28 Thread OkropNick
10 seconds of strace on core i5

strace -c -p 17477
strace: Process 17477 attached
^Cstrace: Process 17477 detached
% time seconds  usecs/call callserrors syscall
-- --- --- - - 
 64.240.445795   2258405   clock_gettime
 16.780.116422415828 3 clone
  4.950.034359  32  1060   ioctl
  4.000.02   3  9464  8685 recvmsg
  2.930.020340   6  3293   poll
  1.620.011226   2  5567   getpid
  1.490.010356   2  5605   sched_yield
  1.350.009360   5  175543 futex
  0.840.005839   4  1333   writev
  0.710.004905   2  2817   mprotect
  0.410.002868   3   999   write
  0.380.002657   3   982   read
  0.080.000527   962 4 openat
  0.060.000408   492   nanosleep
  0.050.000335   3   110   close
  0.030.000237   2   112   fstat
  0.030.000198   361   mmap
  0.020.000112   254   fcntl
  0.010.83  83 1   restart_syscall
  0.010.59   228   pipe2
  0.010.50   222   getrusage
  0.000.17   3 6   wait4
  0.000.16   11212 lseek
  0.000.06   2 4   rt_sigreturn
  0.000.03   1 4   statfs
-- --- --- - - 
100.000.693955291876  8747 total

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-09-22 Thread Scott Grant
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 callserrors syscall
-- --- --- - - 
 39.281.151799   7168623145929 recvmsg
 24.300.712624  14 52590   poll
 12.080.354380   9 41109   ioctl
  8.010.234871  12 18865   writev
  6.370.186740   7 26188   write
  4.180.122557   5 23811   getpid
  2.650.077663   7 11653   read
  1.260.036853   5  7852   mprotect

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-08-26 Thread Mike Pontillo
I'm seeing moderately high CPU usage from the gnome-shell process as
well. It seems to stay running at at least 5% at all times. I decided to
use strace to see what it was doing:

$ sudo strace -c -p 6916
strace: Process 6916 attached
strace: Process 6916 detached
% time seconds  usecs/call callserrors syscall
-- --- --- - - 
 25.380.054330   6  9277  8116 recvmsg
 21.450.045927  10  4454   ioctl
 18.900.040462  12  3295   poll
 11.950.025583  24  104524 futex
  7.230.015478  11  1388   writev
  4.050.008663   7  1302   write
  2.820.006048   4  1500   getpid
  2.140.004579   5   914   mprotect
  2.070.004431   7   657   read
  1.110.002372  11   212   timerfd_create
  0.940.002012   8   251   close
  0.870.001859   9   212   timerfd_settime
  0.400.000857  2239   openat
  0.200.000437   678   fstat
  0.190.000413   3   120   getrusage
  0.110.000244   736   mmap
  0.100.000209   539   fcntl
  0.060.000129 129 1   restart_syscall
  0.020.37  37 1   munmap
  0.010.29   7 4 1 recvfrom
  0.000.00   07060 stat
-- --- --- - - 
100.000.214099 24895  8201 total

The strange thing here is the large number of EAGAIN errors from the
recvmsg() syscall. When I run strace without the -c I see output such
as:

recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(5, {msg_namelen=0}, 0)  = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(12, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily 
unavailable)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-08-07 Thread Daniel van Vugt
** Changed in: gnome-shell (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-08-07 Thread Launchpad Bug Tracker
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 Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-05-31 Thread Daniel van Vugt
** Changed in: gnome-shell (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-05-31 Thread Pedro Côrte-Real
Did a clean install and here are the numbers with a Xorg session:

- all default: less than 1% (comparable or even better to compiz)
- turning on seconds on the top bar clock: around 3%
- turning on extensions (particularly system monitor): 6-9%

So it seems gnome-shell is perfectly capable of using low CPU but it's
very easy to make it use a lot more CPU by adding things that only do
one update a second (both the clock and system monitor are like that).

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-05-31 Thread Pedro Côrte-Real
Just tested this on Wayland and the situation seems slightly better. The
same test (just the terminal, no extensions) is about 2-3% of CPU usage
(compares with less than 1% for compiz) and when I turn on extensions
(particularly system monitor) it goes to 5-7%. Not great but better.

Great work on that list of issues. I don't mean just speed I've also
found a bunch of other polish issues like the scaling. I'm just
surprised gnome-shell is still this rough after so many years of
development.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-05-30 Thread Daniel van Vugt
Yeah, I know. I'm building a list of issues here:
https://trello.com/c/pe5mRmx7

Do you find the problem is better in Gnome Shell on Xorg, compared to
Gnome Shell on Wayland?

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

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-05-30 Thread Pedro Côrte-Real
For reference, logging in with Unity on the same hardware compiz uses
about 1% or less CPU. So gnome-shell seems to be using 10x the CPU on
this hardware at least. This was an upgraded install from 16.04 and I'll
be trying a clean reinstall instead.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-05-30 Thread Daniel van Vugt
** Changed in: gnome-shell (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1773959] Re: High CPU usage by gnome-shell when only running gnome-terminal

2018-05-30 Thread Pedro Côrte-Real
The resolution is 2560x1440. I was testing with the terminal window
maximized but the outcome is the same when the terminal is just a small
window in the middle. The CPU usage is roughly half when the computer is
charging, probably because the CPU is throttled up.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, 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

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs