[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs using too much CPU
From: |
Satya Mishra |
Subject: |
Re: Emacs using too much CPU |
Date: |
18 May 2004 12:09:12 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
>>>>> "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