all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Fujii Hironori <fujii.hironori@gmail.com>
Cc: 61258@debbugs.gnu.org, jsberg-bnl@outlook.com
Subject: bug#61258: 29.0.60; pgtk build from git, WSLg, slow, heavy cpu use
Date: Wed, 02 Aug 2023 14:49:44 +0300	[thread overview]
Message-ID: <83v8dxzmsn.fsf@gnu.org> (raw)
In-Reply-To: <CALus1PnKLEtHwDHu6t+Za4e0iGO7JKOCgmGD5DBuHtVBR0htiQ@mail.gmail.com> (message from Fujii Hironori on Wed, 2 Aug 2023 07:01:27 +0900)

> From: Fujii Hironori <fujii.hironori@gmail.com>
> Date: Wed, 2 Aug 2023 07:01:27 +0900
> 
> > Emacs built with pgtk. Editing in f90 mode, though I don't think this is
> > important. Display is WSLg. Severe input lag, to the point off becoming
> > unusable, gets worse with more frames (or just time?). Heavy CPU usage by
> > emacs while doing anything. Problem not seen when not built with pgtk.
> 
> I'm observing a similar high CPU usage problem with Emacs 29.1 on WSL1 and X server, not with
> WSLg.
> As suggested by
> https://www.reddit.com/r/emacs/comments/urivlg/high_cpu_usage_in_wsl_with_emacs_29050/
> reverting
> https://github.com/emacs-mirror/emacs/commit/fa52782f5c4eaef7138534766dfc8a29465785b2
> solves the problem for me.

Thanks, but to do anything with this report we'd need at least to
understand what is causing the high CPU usage.  The linked Reddit post
has a profile, but only before removing those 4 lines.  Perhaps
comparing two profiles, before and after the change, while doing the
same stuff in the same build of Emacs, would give us some ideas.





  parent reply	other threads:[~2023-08-02 11:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-03 18:47 bug#61258: 29.0.60; pgtk build from git, WSLg, slow, heavy cpu use J. Scott Berg
2023-02-04  0:48 ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-06 11:51   ` J. Scott Berg
2023-02-04  8:45 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-01 22:01 ` Fujii Hironori
2023-08-02  0:17   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-02 11:49   ` Eli Zaretskii [this message]
2023-08-02 13:00     ` J. Scott Berg
2023-08-03  1:00       ` Fujii Hironori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83v8dxzmsn.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=61258@debbugs.gnu.org \
    --cc=fujii.hironori@gmail.com \
    --cc=jsberg-bnl@outlook.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.