From: Satya Mishra <snmishra@XXXhotYYYpop.com>
Subject: Re: Emacs using too much CPU
Date: 18 May 2004 12:09:12 -0600 [thread overview]
Message-ID: <vv0y8np1ubb.fsf@quandary.nsc.com> (raw)
In-Reply-To: jwvpt911vnd.fsf-monnier+gnu.emacs.help@gnu.org
>>>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I found that the auto-save-timeout was at 30 seconds. So CPU
>> usage was going up every 30 seconds. Hopefully that takes care
>> of most problems.
Stefan> auto-save shouldn't use much CPU if any (it's run rarely
Stefan> for one, and even when it's run it should be quick, and
Stefan> even if it takes a non-negligible amount of time (say for
Stefan> a very large buffer, most of that time is spent waiting
Stefan> for the disk rather than using the CPU).
I think auto-save itself doesn't take that much time. But auto-save
also triggers gc, from the documentation of auto-save-timeout. I am
guessing that takes some CPU. Again my understanding is really very
limited. But these changes seem to have helped getting emacs to be
more responsive.
Satya
--
Remove XXX and YYY to get my address
prev parent reply other threads:[~2004-05-18 18:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-17 16:00 Emacs using too much CPU snmishra
2004-05-17 19:26 ` Stefan Monnier
2004-05-17 22:19 ` snmishra
2004-05-18 17:43 ` Stefan Monnier
2004-05-18 18:09 ` Satya Mishra [this message]
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=vv0y8np1ubb.fsf@quandary.nsc.com \
--to=snmishra@xxxhotyyypop.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.