Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extension causes Gnome Overview to lag extremely #1685

Open
wmertens opened this issue Sep 26, 2023 · 1 comment
Open

extension causes Gnome Overview to lag extremely #1685

wmertens opened this issue Sep 26, 2023 · 1 comment
Labels
needs info An issue that needs more information shell-extension An issue related to the GNOME Shell extension UX User Experience

Comments

@wmertens
Copy link

Describe the bug

Triggering the gnome overview is normally a smooth experience. However, with GSConnect enabled, it becomes laggy and stuttery if not used in a while.

It's as if a lot of memory needs to be paged in to show the overview.

After the initial load it's smooth for a short while.

Steps to reproduce

  1. verify that overview is smooth
  2. enable gsconnect
  3. wait a few minutes, use applications
  4. trigger overview

Expected behavior

  1. everything remains smooth

GSConnect version

I can't find it, latest from extensions website

Installed from

GNOME Extensions website

GNOME Shell version

44

Linux distribution/release

nixos unstable

Paired device(s)

Pixel 7

KDE Connect app version

23.04.3

Plugin(s)

No response

Support log

No response

Screenshots

No response

Notes

No response

@github-actions github-actions bot added the triage An issue that needs confirmation and labeling label Sep 26, 2023
@ferdnyc
Copy link
Member

ferdnyc commented Oct 20, 2023

@wmertens

Hmm. I can't immediately reproduce, but my main system has a lot of RAM.

A couple of suggestions:

  1. Check your user journal (journalctl --user -e to start at the end), make sure GSConnect isn't furiously logging, either due to JS errors or because it's gotten stuck in debug mode (which is very noisy).
  2. If you think it's a memory issue, check its usage.

The top command will show virtual (VIRT), resident (RSS), and shared (SHR) memory consumption in the default view, in addition to the percentage-of-total-memory (%MEM) counter. You can ignore VIRT as totally imaginary. (Chrome on my system regularly registers over 100GB of VIRT consumption. The machine has 16GB of RAM.) SHR rarely grows very large. RSS is the critical number, though %MEM is also informative.

This command will focus top by restricting the display to just the gnome-shell process and any gjs instances running on the system (up to three of which may be gsconnect-related — four, if the settings window is also open):

top -p $(pidof -S, gjs),$(pidof gnome-shell)

@ferdnyc ferdnyc added needs info An issue that needs more information UX User Experience shell-extension An issue related to the GNOME Shell extension and removed triage An issue that needs confirmation and labeling labels Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info An issue that needs more information shell-extension An issue related to the GNOME Shell extension UX User Experience
Projects
None yet
Development

No branches or pull requests

2 participants