all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs Slowdown
Date: Wed, 18 Mar 2015 08:44:14 -0400	[thread overview]
Message-ID: <jwvh9tibi1p.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 87h9tifq9e.fsf@newcastle.ac.uk

> Apologies if I have not done the right thing here -- I've not written
> much C nor used gdb before.

Looks useful, thank you.  AFAICT in all those backtraces, Emacs is not
"busy" but it is simply waiting for input (a process monitor such as
"top" should be able to confirm that the Emacs process is not using any
significant amount of CPU at those times).

When Emacs feels slow, what happens if you keep typing without waiting
for Emacs's response?

> The last two backtraces are after it
> has become non-responsive, up till the kill.

The last two backtraces are actually different: Emacs is also waiting
but it's doing so elsewhere at a spot I find weird (it's actually inside
an X11 library call waiting for some input event (in "XimRead" the "im"
stands for "input method"), while in the middle of redrawing part of
Emacs's display).  I'm not sufficiently familiar with this code to go
much further with it, so please M-x report-emacs-bug and include the
last backtrace (the last 2 are identical, AFAICT).


        Stefan




  reply	other threads:[~2015-03-18 12:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-09 11:48 Emacs Slowdown Phillip Lord
2015-03-09 16:16 ` Eli Zaretskii
2015-03-09 21:50   ` Stefan Monnier
2015-03-10 12:37   ` Phillip Lord
2015-03-10 19:00     ` Eli Zaretskii
2015-03-09 21:59 ` Stefan Monnier
2015-03-10 12:39   ` Phillip Lord
2015-03-10 13:22     ` Stefan Monnier
2015-03-12 11:36 ` Phillip Lord
2015-03-16 11:41   ` Phillip Lord
2015-03-16 12:36     ` Stefan Monnier
2015-03-16 16:51       ` Phillip Lord
2015-03-18 12:23         ` Phillip Lord
2015-03-18 12:44           ` Stefan Monnier [this message]
2015-03-18 14:13             ` Phillip Lord
2015-03-18 14:53               ` Stefan Monnier
2015-03-18 16:34                 ` Phillip Lord
2015-03-18 16:32             ` Eli Zaretskii
2015-03-18 17:04               ` Phillip Lord

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=jwvh9tibi1p.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /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.