From: "Herbert Euler" <herberteuler@hotmail.com>
Subject: Re: Accelerating Emacs?
Date: Mon, 31 Oct 2005 11:26:26 +0800 [thread overview]
Message-ID: <BAY112-F41895F294517E704AC44DDA6C0@phx.gbl> (raw)
In-Reply-To: <uwtjwqqfy.fsf@gnu.org>
>From: Eli Zaretskii <eliz@gnu.org>
>To: help-gnu-emacs@gnu.org
>Subject: Re: Accelerating Emacs?
>Date: Sat, 29 Oct 2005 17:43:29 +0200
I'm sorry I was a bit busy yesterday.
The following description is based on my Emacs 21.3 in Windows.
>You can enable garbage-collect messages by setting the variable
>garbage-collection-messages to non-nil. Then you will see a message
>in the echo area when Emacs is in GC.
I turned it on, and when Emacs hangs the two messages
"Garbage collecting..."
and
"???? (a long word I can't see it clearly) @code{print-elements-of-list}
..."
are displayed alternately in the echo area. But I can only conclude
that the exchanging speed of displaying is slower and slower by time.
Task manager shows that Emacs uses about 80MB memory and
the number increases even if I abort the formatting process, although
the speed is becoming slow. A few seconds later, this number stops
increasing, but doesn't fall down as well. Emacs occupies 50% of
CPU cycle and this percentage is not changed during these periods.
C-x C-b shows no buffer contains further information about the details
of garbage collection. It seems that there is a died repetition
somewhere although I can't address it.
>Other things to consider include:
>
> . Perhaps your system is running out of free RAM and Emacs starts
> paging? You can use the Windows Task Manager to see how much
> physical memory is used, how many page faults Emacs generates, and
> other pertinent info.
The bottom line of Task Manager contains a string like '362M / 1230M'.
The information about Emacs is
Name User CPU Memory
emacs.exe xuguanpeng 50 82,520K
I don't know what these mean exactly, but I'm sure the physical memory
is not used out.
> . How many other programs are using up CPU cycles? The Task Manager
> will help you see that as well.
The total of CPU cycles used by other programs (except System Idle
Process) is about 10%.
> . When Emacs freezes, do other programs on this system become
> unresponsive as well, or do they work normally? If the former,
> perhaps some network-related problem ties up the system in a
> busy-wait loop.
And I'm sure there is nothing wrong with network since I can open url
with Opera.
> . Does Emacs run any subprocesses concurrently with
> texinfo-format-buffer? If so, perhaps it's one of those
> subprocesses that causes Emacs to hang.
No, I ran only M-x texinfo-format-buffer in a fresh Emacs process.
I wonder if I can get the details about garbage collection so I can figure
out how much Emacs goes through at least.
Regards,
Guanpeng Xu
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
next prev parent reply other threads:[~2005-10-31 3:26 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.13033.1130478796.20277.help-gnu-emacs@gnu.org>
2005-10-28 8:59 ` Accelerating Emacs? Alan Mackenzie
2005-10-28 18:28 ` Herbert Euler
2005-10-29 10:18 ` Eli Zaretskii
2005-10-29 11:44 ` Herbert Euler
2005-10-29 15:43 ` Eli Zaretskii
2005-10-31 3:26 ` Herbert Euler [this message]
[not found] <mailman.13061.1130499101.20277.help-gnu-emacs@gnu.org>
2005-10-28 12:08 ` David Kastrup
2005-10-28 13:43 ` Herbert Euler
2005-10-28 12:49 ` Thien-Thi Nguyen
2005-11-01 4:55 ` Stefan Monnier
[not found] <mailman.12998.1130466347.20277.help-gnu-emacs@gnu.org>
2005-10-28 2:59 ` Flying Grass
2005-10-28 5:53 ` Herbert Euler
2005-10-28 8:23 ` Eli Zaretskii
2005-10-28 11:31 ` Herbert Euler
2005-10-28 13:13 ` Eli Zaretskii
[not found] ` <mailman.13044.1130487836.20277.help-gnu-emacs@gnu.org>
2005-10-28 10:36 ` Per Abrahamsen
2005-10-28 2:25 Herbert Euler
2005-10-28 8:25 ` Eli Zaretskii
2005-10-28 11:38 ` Herbert Euler
2005-10-28 13:16 ` Eli Zaretskii
[not found] ` <mailman.13045.1130488013.20277.help-gnu-emacs@gnu.org>
2005-11-28 1:09 ` Christopher C. Stacy
2005-11-28 5:21 ` Eli Zaretskii
[not found] ` <mailman.17015.1133155279.20277.help-gnu-emacs@gnu.org>
2005-11-28 5:46 ` Pascal Bourguignon
2005-11-28 10:26 ` Thien-Thi Nguyen
2005-12-01 4:43 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAY112-F41895F294517E704AC44DDA6C0@phx.gbl \
--to=herberteuler@hotmail.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).