* Latest emacs snapshots max CPU on XP
@ 2007-02-28 19:33 Chris McMahan
2007-02-28 19:48 ` Juanma Barranquero
[not found] ` <mailman.229.1172692107.7795.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 14+ messages in thread
From: Chris McMahan @ 2007-02-28 19:33 UTC (permalink / raw)
To: help-gnu-emacs
I'm having a problem with the emacs 22 snapshots on XP.
I've used pre-compiled XP binaries and compiled my own using MinGW,
and both will suddenly start using up 60-80% of my CPU resources. I've
not been able to correlate any specific activities with this behavior.
The pre-compiled version I'm currently using does not have this
problem
- GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600) of 2006-06-04 on TPAD
Has anyone else seen this behavior?
- Chris McMahan
--
(. .)
=ooO=(_)=Ooo=====================================
Chris McMahan | first_initiallastname@one.dot.net
=================================================
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Latest emacs snapshots max CPU on XP
2007-02-28 19:33 Latest emacs snapshots max CPU on XP Chris McMahan
@ 2007-02-28 19:48 ` Juanma Barranquero
[not found] ` <mailman.229.1172692107.7795.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 14+ messages in thread
From: Juanma Barranquero @ 2007-02-28 19:48 UTC (permalink / raw)
To: Chris McMahan; +Cc: help-gnu-emacs
On 2/28/07, Chris McMahan <first_initiallastname@one.dot.net> wrote:
> I've used pre-compiled XP binaries and compiled my own using MinGW,
> and both will suddenly start using up 60-80% of my CPU resources. I've
> not been able to correlate any specific activities with this behavior.
Could you please try adding
(setq jit-lock-stealth-time nil)
to your .emacs and report whether it helps?
> The pre-compiled version I'm currently using does not have this
> problem
> - GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600) of 2006-06-04 on TPAD
There's quit a lot of changes between that version and the current
pretest. When did you start to notice the problem?
Do you load many buffers, particularly many buffers with complex
fontification (source code, etc.)?
Juanma
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Latest emacs snapshots max CPU on XP
[not found] ` <mailman.229.1172692107.7795.help-gnu-emacs@gnu.org>
@ 2007-03-01 14:10 ` Chris McMahan
2007-03-01 15:13 ` Juanma Barranquero
` (3 more replies)
2007-03-01 19:55 ` Chris McMahan
1 sibling, 4 replies; 14+ messages in thread
From: Chris McMahan @ 2007-03-01 14:10 UTC (permalink / raw)
To: help-gnu-emacs
Thanks for the idea, but that didn't seem to have an effect. I'm
thinking that maybe there was an imcompatiblity between the gnuclient
application I was using to launch it and the newer emacs. When I
launch emacs from the runemacs.exe application directly, I don't see
that problem.
I still haven't tracked it down, but it might be related
to attempting to read in from sockets for the gnuserv (a wild guess on
my part :)
- Chris
"Juanma Barranquero" <lekktu@gmail.com> writes:
> On 2/28/07, Chris McMahan <first_initiallastname@one.dot.net> wrote:
>
>> I've used pre-compiled XP binaries and compiled my own using MinGW,
>> and both will suddenly start using up 60-80% of my CPU resources. I've
>> not been able to correlate any specific activities with this behavior.
>
> Could you please try adding
>
> (setq jit-lock-stealth-time nil)
>
> to your .emacs and report whether it helps?
>
>> The pre-compiled version I'm currently using does not have this
>> problem
>> - GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600) of 2006-06-04 on TPAD
>
> There's quit a lot of changes between that version and the current
> pretest. When did you start to notice the problem?
>
> Do you load many buffers, particularly many buffers with complex
> fontification (source code, etc.)?
>
> Juanma
>
>
--
(. .)
=ooO=(_)=Ooo=====================================
Chris McMahan | first_initiallastname@one.dot.net
=================================================
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Latest emacs snapshots max CPU on XP
2007-03-01 14:10 ` Chris McMahan
@ 2007-03-01 15:13 ` Juanma Barranquero
[not found] ` <mailman.256.1172762018.7795.help-gnu-emacs@gnu.org>
` (2 subsequent siblings)
3 siblings, 0 replies; 14+ messages in thread
From: Juanma Barranquero @ 2007-03-01 15:13 UTC (permalink / raw)
To: Chris McMahan; +Cc: help-gnu-emacs
On 3/1/07, Chris McMahan <first_initiallastname@one.dot.net> wrote:
> I still haven't tracked it down, but it might be related
> to attempting to read in from sockets for the gnuserv (a wild guess on
> my part :)
Aha! Until a few months ago, Emacs (from the CVS) had a problem where
it would eat between 50 and 100% CPU when using sockets on Windows.
That is fixed in the prerelease tarballs (and emacsclient now works on
Windows, so perhaps you could give it a try too ;-)
Juanma
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Latest emacs snapshots max CPU on XP
[not found] ` <mailman.256.1172762018.7795.help-gnu-emacs@gnu.org>
@ 2007-03-01 17:36 ` Chris McMahan
2007-03-01 20:43 ` Juanma Barranquero
0 siblings, 1 reply; 14+ messages in thread
From: Chris McMahan @ 2007-03-01 17:36 UTC (permalink / raw)
To: help-gnu-emacs
I was hopeful based on your last, but alas, I'm running 22.0.94 (which
I assume is the latest).
There DOES seem to be a relationship between some package I'm loading
and the CPU usage problem. When I load emacs -q, the CPU is fine.
I'm going to go through the many packages I load and try to find the
culprit, then update this group.
- Chris
"Juanma Barranquero" <lekktu@gmail.com> writes:
> On 3/1/07, Chris McMahan <first_initiallastname@one.dot.net> wrote:
>
>> I still haven't tracked it down, but it might be related
>> to attempting to read in from sockets for the gnuserv (a wild guess on
>> my part :)
>
> Aha! Until a few months ago, Emacs (from the CVS) had a problem where
> it would eat between 50 and 100% CPU when using sockets on Windows.
> That is fixed in the prerelease tarballs (and emacsclient now works on
> Windows, so perhaps you could give it a try too ;-)
>
> Juanma
>
>
--
(. .)
=ooO=(_)=Ooo=====================================
Chris McMahan | first_initiallastname@one.dot.net
=================================================
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Latest emacs snapshots max CPU on XP
2007-03-01 14:10 ` Chris McMahan
2007-03-01 15:13 ` Juanma Barranquero
[not found] ` <mailman.256.1172762018.7795.help-gnu-emacs@gnu.org>
@ 2007-03-01 18:29 ` Eli Zaretskii
[not found] ` <mailman.265.1172773775.7795.help-gnu-emacs@gnu.org>
3 siblings, 0 replies; 14+ messages in thread
From: Eli Zaretskii @ 2007-03-01 18:29 UTC (permalink / raw)
To: help-gnu-emacs
> From: Chris McMahan <first_initiallastname@one.dot.net>
> Date: Thu, 01 Mar 2007 09:10:07 -0500
>
> I'm thinking that maybe there was an imcompatiblity between the
> gnuclient application I was using to launch it and the newer
> emacs.
Why are you using gnuclient? The Windows port now supports
emacsclient, which is part of the distribution (unlike gnuclient which
isn't), so please try that instead.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Latest emacs snapshots max CPU on XP
[not found] ` <mailman.265.1172773775.7795.help-gnu-emacs@gnu.org>
@ 2007-03-01 18:38 ` Chris McMahan
2007-03-01 20:48 ` Juanma Barranquero
0 siblings, 1 reply; 14+ messages in thread
From: Chris McMahan @ 2007-03-01 18:38 UTC (permalink / raw)
To: help-gnu-emacs
Thanks for the suggestion Eli,
I've stopped using all client servers right now, but still am
experiencing the problem. Interestingly, it only starts maxing out the
CPU on loading a lisp file (.emacs and such), and then only when I'm
not actively interacting with an emacs buffer.
I'm apparently loading some background task that processes the lisp in
some way... I wish I knew more at this point.
I will switch to emacsclient on fixing this :)
- Chris
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Chris McMahan <first_initiallastname@one.dot.net>
>> Date: Thu, 01 Mar 2007 09:10:07 -0500
>>
>> I'm thinking that maybe there was an imcompatiblity between the
>> gnuclient application I was using to launch it and the newer
>> emacs.
>
> Why are you using gnuclient? The Windows port now supports
> emacsclient, which is part of the distribution (unlike gnuclient which
> isn't), so please try that instead.
>
>
--
(. .)
=ooO=(_)=Ooo=====================================
Chris McMahan | first_initiallastname@one.dot.net
=================================================
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Latest emacs snapshots max CPU on XP
[not found] ` <mailman.229.1172692107.7795.help-gnu-emacs@gnu.org>
2007-03-01 14:10 ` Chris McMahan
@ 2007-03-01 19:55 ` Chris McMahan
2007-03-02 1:09 ` Re[2]: " neverov_dg
[not found] ` <mailman.288.1172797775.7795.help-gnu-emacs@gnu.org>
1 sibling, 2 replies; 14+ messages in thread
From: Chris McMahan @ 2007-03-01 19:55 UTC (permalink / raw)
To: help-gnu-emacs
I found the problem!!
After commenting and uncommenting various pieces of my various
configuration files (many MANY configuration files :)
The CPU hog was the CEDET library I was using for my ECB installation.
Apparently the semantic parser was going wild with the new version.
I've disabled the CEDET and ECB packages until I can track down the
actual culprit. There's been no update for some time in CEDET, so I
may look for alternatives for java programming.
In the meantime, I'm switching from gnuserv to emacsclient. Thanks for
all of your help!
- Chris
"Juanma Barranquero" <lekktu@gmail.com> writes:
> On 2/28/07, Chris McMahan <first_initiallastname@one.dot.net> wrote:
>
>> I've used pre-compiled XP binaries and compiled my own using MinGW,
>> and both will suddenly start using up 60-80% of my CPU resources. I've
>> not been able to correlate any specific activities with this behavior.
>
> Could you please try adding
>
> (setq jit-lock-stealth-time nil)
>
> to your .emacs and report whether it helps?
>
>> The pre-compiled version I'm currently using does not have this
>> problem
>> - GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600) of 2006-06-04 on TPAD
>
> There's quit a lot of changes between that version and the current
> pretest. When did you start to notice the problem?
>
> Do you load many buffers, particularly many buffers with complex
> fontification (source code, etc.)?
>
> Juanma
>
>
--
(. .)
=ooO=(_)=Ooo=====================================
Chris McMahan | first_initiallastname@one.dot.net
=================================================
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Latest emacs snapshots max CPU on XP
2007-03-01 17:36 ` Chris McMahan
@ 2007-03-01 20:43 ` Juanma Barranquero
0 siblings, 0 replies; 14+ messages in thread
From: Juanma Barranquero @ 2007-03-01 20:43 UTC (permalink / raw)
To: Chris McMahan; +Cc: help-gnu-emacs
On 3/1/07, Chris McMahan <first_initiallastname@one.dot.net> wrote:
> I was hopeful based on your last, but alas, I'm running 22.0.94
Bummer.
> (which I assume is the latest).
Yes, though not for much longer ;)
> I'm going to go through the many packages I load and try to find the
> culprit, then update this group.
OK, thanks.
Juanma
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Latest emacs snapshots max CPU on XP
2007-03-01 18:38 ` Chris McMahan
@ 2007-03-01 20:48 ` Juanma Barranquero
0 siblings, 0 replies; 14+ messages in thread
From: Juanma Barranquero @ 2007-03-01 20:48 UTC (permalink / raw)
To: Chris McMahan; +Cc: help-gnu-emacs
On 3/1/07, Chris McMahan <first_initiallastname@one.dot.net> wrote:
> I'm apparently loading some background task that processes the lisp in
> some way... I wish I knew more at this point.
>
> I will switch to emacsclient on fixing this :)
Weird thing is, that sounds just like a font-locking issue...
Juanma
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re[2]: Latest emacs snapshots max CPU on XP
2007-03-01 19:55 ` Chris McMahan
@ 2007-03-02 1:09 ` neverov_dg
[not found] ` <mailman.288.1172797775.7795.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 14+ messages in thread
From: neverov_dg @ 2007-03-02 1:09 UTC (permalink / raw)
To: help-gnu-emacs
Hi!
I had the same problem.
Try to put this in your .emacs:
(setq semantic-idle-scheduler-idle-time 432000)
I found it in the CEDET mail list.
> I found the problem!!
> After commenting and uncommenting various pieces of my various
> configuration files (many MANY configuration files :)
> The CPU hog was the CEDET library I was using for my ECB installation.
> Apparently the semantic parser was going wild with the new version.
> I've disabled the CEDET and ECB packages until I can track down the
> actual culprit. There's been no update for some time in CEDET, so I
> may look for alternatives for java programming.
> In the meantime, I'm switching from gnuserv to emacsclient. Thanks for
> all of your help!
> - Chris
> "Juanma Barranquero" <lekktu@gmail.com> writes:
>> On 2/28/07, Chris McMahan <first_initiallastname@one.dot.net> wrote:
>>
>>> I've used pre-compiled XP binaries and compiled my own using MinGW,
>>> and both will suddenly start using up 60-80% of my CPU resources. I've
>>> not been able to correlate any specific activities with this behavior.
>>
>> Could you please try adding
>>
>> (setq jit-lock-stealth-time nil)
>>
>> to your .emacs and report whether it helps?
>>
>>> The pre-compiled version I'm currently using does not have this
>>> problem
>>> - GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600) of 2006-06-04 on TPAD
>>
>> There's quit a lot of changes between that version and the current
>> pretest. When did you start to notice the problem?
>>
>> Do you load many buffers, particularly many buffers with complex
>> fontification (source code, etc.)?
>>
>> Juanma
>>
>>
----
Dmitry
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Latest emacs snapshots max CPU on XP
[not found] ` <mailman.288.1172797775.7795.help-gnu-emacs@gnu.org>
@ 2007-03-03 12:57 ` Malte Spiess
2007-03-03 22:34 ` RealityMonster
2007-03-04 0:14 ` Chris McMahan
1 sibling, 1 reply; 14+ messages in thread
From: Malte Spiess @ 2007-03-03 12:57 UTC (permalink / raw)
To: help-gnu-emacs
neverov_dg@nkmk.ru writes:
> Hi!
>
> I had the same problem.
>
> Try to put this in your .emacs:
>
> (setq semantic-idle-scheduler-idle-time 432000)
>
> I found it in the CEDET mail list.
Wow, that is really great! Had this problem, too here on my Debian
system. Where exactly did you find it? I searched the list, but couldn't
find it anywhere.
Thx
Malte
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Latest emacs snapshots max CPU on XP
2007-03-03 12:57 ` Malte Spiess
@ 2007-03-03 22:34 ` RealityMonster
0 siblings, 0 replies; 14+ messages in thread
From: RealityMonster @ 2007-03-03 22:34 UTC (permalink / raw)
To: help-gnu-emacs
I fixed the problem by going to the CVS repository and just replacing
semantic. It seems to work straight away if you do that. I found the
solution because someone else was mentioning in this group that they
had problems with their buffers not updating because of cedet and
semantic. I guess getting the digest version pays off, sometimes. :)
I was late trying to help you exactly because of that, though. :)
Jan
On Mar 3, 5:57 am, Malte Spiess <i1tn...@arcor.de> wrote:
> neverov...@nkmk.ru writes:
> > Hi!
>
> > I had the same problem.
>
> > Try to put this in your .emacs:
>
> > (setq semantic-idle-scheduler-idle-time 432000)
>
> > I found it in the CEDET mail list.
>
> Wow, that is really great! Had this problem, too here on my Debian
> system. Where exactly did you find it? I searched the list, but couldn't
> find it anywhere.
>
> Thx
>
> Malte
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Latest emacs snapshots max CPU on XP
[not found] ` <mailman.288.1172797775.7795.help-gnu-emacs@gnu.org>
2007-03-03 12:57 ` Malte Spiess
@ 2007-03-04 0:14 ` Chris McMahan
1 sibling, 0 replies; 14+ messages in thread
From: Chris McMahan @ 2007-03-04 0:14 UTC (permalink / raw)
To: help-gnu-emacs
Outstanding! Fixed the problem right away
Thanks!
- Chris McMahan
neverov_dg@nkmk.ru writes:
> Hi!
>
> I had the same problem.
>
> Try to put this in your .emacs:
>
> (setq semantic-idle-scheduler-idle-time 432000)
>
> I found it in the CEDET mail list.
>
>> I found the problem!!
>
>> After commenting and uncommenting various pieces of my various
>> configuration files (many MANY configuration files :)
>
>> The CPU hog was the CEDET library I was using for my ECB installation.
>> Apparently the semantic parser was going wild with the new version.
>> I've disabled the CEDET and ECB packages until I can track down the
>> actual culprit. There's been no update for some time in CEDET, so I
>> may look for alternatives for java programming.
>
>> In the meantime, I'm switching from gnuserv to emacsclient. Thanks for
>> all of your help!
>
>> - Chris
>
>> "Juanma Barranquero" <lekktu@gmail.com> writes:
>
>>> On 2/28/07, Chris McMahan <first_initiallastname@one.dot.net> wrote:
>>>
>>>> I've used pre-compiled XP binaries and compiled my own using MinGW,
>>>> and both will suddenly start using up 60-80% of my CPU resources. I've
>>>> not been able to correlate any specific activities with this behavior.
>>>
>>> Could you please try adding
>>>
>>> (setq jit-lock-stealth-time nil)
>>>
>>> to your .emacs and report whether it helps?
>>>
>>>> The pre-compiled version I'm currently using does not have this
>>>> problem
>>>> - GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600) of 2006-06-04 on TPAD
>>>
>>> There's quit a lot of changes between that version and the current
>>> pretest. When did you start to notice the problem?
>>>
>>> Do you load many buffers, particularly many buffers with complex
>>> fontification (source code, etc.)?
>>>
>>> Juanma
>>>
>>>
> ----
> Dmitry
>
>
>
>
>
--
(. .)
=ooO=(_)=Ooo=====================================
Chris McMahan | first_initiallastname@one.dot.net
=================================================
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2007-03-04 0:14 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-28 19:33 Latest emacs snapshots max CPU on XP Chris McMahan
2007-02-28 19:48 ` Juanma Barranquero
[not found] ` <mailman.229.1172692107.7795.help-gnu-emacs@gnu.org>
2007-03-01 14:10 ` Chris McMahan
2007-03-01 15:13 ` Juanma Barranquero
[not found] ` <mailman.256.1172762018.7795.help-gnu-emacs@gnu.org>
2007-03-01 17:36 ` Chris McMahan
2007-03-01 20:43 ` Juanma Barranquero
2007-03-01 18:29 ` Eli Zaretskii
[not found] ` <mailman.265.1172773775.7795.help-gnu-emacs@gnu.org>
2007-03-01 18:38 ` Chris McMahan
2007-03-01 20:48 ` Juanma Barranquero
2007-03-01 19:55 ` Chris McMahan
2007-03-02 1:09 ` Re[2]: " neverov_dg
[not found] ` <mailman.288.1172797775.7795.help-gnu-emacs@gnu.org>
2007-03-03 12:57 ` Malte Spiess
2007-03-03 22:34 ` RealityMonster
2007-03-04 0:14 ` Chris McMahan
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.