bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang)


From: Eli Zaretskii
Subject: bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang)
Date: Tue, 07 Apr 2015 17:56:46 +0300

> From: address@hidden (Phillip Lord)
> Date: Tue, 07 Apr 2015 15:38:42 +0100
> 
> > I don't understand how could the slow-down happen here, at least not
> > due to something Emacs does.  Can you collect thread-level CPU usage,
> > and see which threads are using CPU?
> 
> How do I go about this?

Pressing 'H' in 'top' is one way; there might be others.

> > What about timers -- do you have many of them running?  What is the
> > value of timer-list and timer-idle-list?
> 
> A few, indeed, but not thousands. I know how to debug timers but not
> work out if one is chewing CPU. Some of them my own timers.

When Emacs becomes sluggish, does pressing and holding an arrow key
produces a slow response time for the first keypress, followed by more
or less normal response times for the next keypresses?  If so, the
culprit is probably some idle timer.  If all the keypresses get the
same slow response, then it could be a non-idle timer.

Showing a list of the timers you have might be a first step towards
digging into this possibility.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]