From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: bug#6443: 23.2; Many files take 6-15 seconds to open after upgrade to 23.2 on WinXP Date: Thu, 17 Jun 2010 07:04:10 -0600 Message-ID: References: <4C19A221.70909@oneroad.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020709010908000504070003" X-Trace: dough.gmane.org 1276781348 8139 80.91.229.12 (17 Jun 2010 13:29:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Jun 2010 13:29:08 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 17 15:29:07 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OPF9M-0000pk-Qe for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jun 2010 15:29:02 +0200 Original-Received: from localhost ([127.0.0.1]:56510 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPF9K-0006FH-RB for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jun 2010 09:28:54 -0400 Original-Received: from [140.186.70.92] (port=48026 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPF97-00068g-8u for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 09:28:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPF95-0004Yo-Qx for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 09:28:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48859) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPF95-0004Yh-PN for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 09:28:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OPEmE-0000gv-G4; Thu, 17 Jun 2010 09:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kevin Rodgers Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Jun 2010 13:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6443 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.12767798732651 (code B ref -1); Thu, 17 Jun 2010 13:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Jun 2010 13:04:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPEll-0000gi-Ba for submit@debbugs.gnu.org; Thu, 17 Jun 2010 09:04:33 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPElj-0000gc-42 for submit@debbugs.gnu.org; Thu, 17 Jun 2010 09:04:32 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:43354) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OPEld-0007Yc-Ud for submit@debbugs.gnu.org; Thu, 17 Jun 2010 09:04:25 -0400 Original-Received: from [140.186.70.92] (port=47293 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPElc-0005R8-Jw for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 09:04:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPElZ-0008CK-TS for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 09:04:24 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:51375) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPElZ-0008Bd-JO for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 09:04:21 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OPElW-0003JH-3H for bug-gnu-emacs@gnu.org; Thu, 17 Jun 2010 15:04:18 +0200 Original-Received: from c-71-237-24-138.hsd1.co.comcast.net ([71.237.24.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Jun 2010 15:04:18 +0200 Original-Received: from kevin.d.rodgers by c-71-237-24-138.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Jun 2010 15:04:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 68 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-71-237-24-138.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) In-Reply-To: <4C19A221.70909@oneroad.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 17 Jun 2010 09:05:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37822 Archived-At: This is a multi-part message in MIME format. --------------020709010908000504070003 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Keith M Swartz wrote: > Upgraded from emacs 22.3 to 23.2.1 on Windows XP SP 3, using pre-built > binaries from ftp.gnu.org. I've found that emacs is frequently > unresponsive, would hang for several seconds during routine operations, > including auto-save, etc. Did some searching, and found that default > setting for w32-get-true-file-attributes had changed, so I reverted that > back to nil -- this helped. > > Now, at best, opening files takes about 1-2 seconds, which is > acceptable. But sometimes, it still takes 6-8 seconds to open files. > I've confirmed there is no CPU usage during this time, and Process > Monitor does not show enough specific information to determine whether > it's an I/O call it's hanging on, or what I/O call that is. Ctrl-G is > unresponsive and doesn't act until after control resumes. I can > reproduce this even with no startup files, and it happens just as often. > > It APPEARED for a while that turning off font-lock-mode globally helped, > but I think that may be a red herring. When turning it off, the first > few file opens would usually go quickly, but after that, opening a file > from a new location would bring back the 6-8 second hang. Not EVERY file > opens this slowly, but enough do that it definitely interrupts the work > flow. > > All of my operations are happening locally, and not on a network drive. > I have a network drive defined, but even when the drive is not mounted, > the hangs still occur. > > I have AV software installed, but can't disable it (due to corporate > settings) -- however, I haven't seen this problem manifest in any other > program, so I'm hesitant to blame that. > > I am working on testing with another machine to see if I can reproduce, > but advice on key differences to look for would be helpful. Try this on each machine: (elp-instrument-file "/files\\.elc\\'") Then visit a file, and M-x elp-results. You'll need the attached helper function. -- Kevin Rodgers Denver, Colorado, USA --------------020709010908000504070003 Content-Type: application/emacs-lisp; name="elp-instrument-file.el" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="elp-instrument-file.el" KHJlcXVpcmUgJ2VscCkJCQkJOyBlbHAtcHJvZmlsYWJsZS1wCgooZGVmdW4gZWxwLWluc3Ry dW1lbnQtZmlsZSAoZmlsZSkKICAiSW5zdHJ1bWVudCBmb3IgcHJvZmlsaW5nLCBhbGwgZnVu Y3Rpb25zIGRlZmluZWQgaW4gRklMRS4KRklMRSBpcyBhIHJlZ2V4cCBtYXRjaGluZyBhIGtl eSBpbiB0aGUgYGxvYWQtaGlzdG9yeScgYWxpc3QuIgogIChpbnRlcmFjdGl2ZQogICAobGlz dCAoY29uY2F0ICJcXGAiCgkJIChyZWdleHAtcXVvdGUgKGNvbXBsZXRpbmctcmVhZCAiRmls ZSB0byBpbnN0cnVtZW50OiAiCgkJCQkJCWxvYWQtaGlzdG9yeSkpCgkJICJcXCciKSkpCihk b2xpc3QgKGVudHJ5IChjZHIgKGxvYWQtaGlzdG9yeS1maWxlbmFtZS1lbGVtZW50IGZpbGUp KSkKICAod2hlbiAoYW5kIChjb25zcCBlbnRyeSkKCSAgICAgKGVxIChjYXIgZW50cnkpICdk ZWZ1bikKCSAgICAgKGVscC1wcm9maWxhYmxlLXAgKGNkciBlbnRyeSkpKQogICAgKGVscC1p bnN0cnVtZW50LWZ1bmN0aW9uIChjZHIgZW50cnkpKSkpKQo= --------------020709010908000504070003--