all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: David Reitter <david.reitter@gmail.com>
Cc: bug-gnu-emacs@gnu.org, Ugur Ozdemir <uozdemir@artsci.wustl.edu>,
	Seiji Zenitani <zenitani@mac.com>
Subject: Re: High CPU load
Date: Wed, 28 Nov 2007 10:24:00 +0900	[thread overview]
Message-ID: <wl1wabb1sf.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <26C09430-463C-4F04-972D-36039C495E74@gmail.com> <2720AEE2-B989-4F54-81DC-B25A72E0BF6E@gmail.com>

>>>>> On Tue, 27 Nov 2007 16:29:34 +0000, David Reitter <david.reitter@gmail.com> said:

>> Does this happen also on unmodified Carbon Emacs, or Aquamacs Emacs
>> only?

> I don't know. Seiji, did you get any reports?

Ah, I meant bare CVS version.  Carbon Emacs Package is also a modified
Carbon Emacs.

>>>>> On Tue, 27 Nov 2007 17:57:54 +0000, David Reitter <david.reitter@gmail.com> said:

> On 27 Nov 2007, at 13:06, YAMAMOTO Mitsuharu wrote:
>> I have no idea.  Could you try replacing mac.c with the one in the
>> trunk (Rev. 1.84) to see if this changes the situation?

> OK, having done that, I've got a report from a user who still  
> experiences the problem:

> Begin forwarded message:

>> From: Ugur Ozdemir <uozdemir@artsci.wustl.edu>
>> Date: 27 November 2007 17:51:16 GMT
>> To: Development of Aquamacs Emacs <aquamacs-devel@aquamacs.org>
>> Subject: Re: [Aquamacs-devel] Aquamacs / CPU Load Problem
>> Reply-To: Development of Aquamacs Emacs <aquamacs-devel@aquamacs.org>
>> 
>> David,
>> 
>> I had the same problem with this latest nightly build. I do not know
>> these things very much here are the threads that go crazy in the
>> thread viewer:
>> 
>> thr 05807	select$DARWIN_EXTSN
>> -pthread_start
>> thread_start
>> 
>> thr 05c07	mach-msg-trap
>> CFRunLoopRunSpecific
>> CFRunLoopRun
>> TSystemNotificationTask::SystemNotificationTaskProc(void*)
>> PrivateMPEntryPoint
>> -pthread_start
>> thread_start

Thanks for testing.

The second thread seems to be spawned when one uses the file dialog on
Leopard.  Carbon's Navigation Services (file dialogs) have heavily
changed on Leopard so it uses Cocoa's NSSavePanel/NSOpenPanel (you can
see the difference by typing `/' or `~').  So I suspect some bugs have
been introduced there.  Maybe you can avoid this situation by setting
use-dialog-box to nil in the meanwhile.

I also guess high CPU usage has something to do with filesystems over
network, because SystemNotificationTaskProc above seems to monitor
file system volume and the socket monitor thread (the first thread
above) is also busy.  Maybe you can monitor network packets while high
CPU load is observed.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp




  reply	other threads:[~2007-11-28  1:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-27 10:38 High CPU load David Reitter
2007-11-27 13:06 ` YAMAMOTO Mitsuharu
2007-11-27 16:29   ` David Reitter
2007-11-28  0:56     ` Seiji Zenitani
2007-11-27 17:57   ` David Reitter
2007-11-28  1:24     ` YAMAMOTO Mitsuharu [this message]
2007-11-29  0:33       ` YAMAMOTO Mitsuharu
2007-11-29  1:09         ` David Reitter
2007-11-29  2:21           ` YAMAMOTO Mitsuharu
2007-12-05 11:30             ` David Reitter

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=wl1wabb1sf.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=david.reitter@gmail.com \
    --cc=uozdemir@artsci.wustl.edu \
    --cc=zenitani@mac.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.