From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs Subject: bug#5833: 23.1.94; Opening files on network shares on w32 is slow Date: Tue, 06 Apr 2010 08:12:22 +0800 Message-ID: <4BBA7C66.4090904@f2s.com> References: <8339zb21w3.fsf@gnu.org> <838w92yt7f.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270513574 25443 80.91.229.12 (6 Apr 2010 00:26:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Apr 2010 00:26:14 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 06 02:26:13 2010 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 1NywcO-0002cD-01 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Apr 2010 02:26:12 +0200 Original-Received: from localhost ([127.0.0.1]:33478 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NywcN-0002E5-8D for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Apr 2010 20:26:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NywcJ-0002Ce-9S for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:26:07 -0400 Original-Received: from [140.186.70.92] (port=57674 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NywcE-0002Bd-4R for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:26:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NywcD-0007O4-33 for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:26:02 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57279) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NywcD-0007Nv-1O for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:26:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NywTV-0003gS-TW; Mon, 05 Apr 2010 20:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jason Rumney Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Apr 2010 00:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5833 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.127051300914145 (code B ref -1); Tue, 06 Apr 2010 00:17:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Apr 2010 00:16:49 +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 1NywTI-0003g6-7u for submit@debbugs.gnu.org; Mon, 05 Apr 2010 20:16:48 -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 1NywPy-0003eJ-IZ for submit@debbugs.gnu.org; Mon, 05 Apr 2010 20:13:22 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:44196) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NywPu-0006sD-KU for submit@debbugs.gnu.org; Mon, 05 Apr 2010 20:13:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NywPt-0007og-Uw for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:13:17 -0400 Original-Received: from [140.186.70.92] (port=38951 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NywPr-0007oB-NT for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:13:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NywPq-0005uq-AI for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:13:15 -0400 Original-Received: from mail-yx0-f176.google.com ([209.85.210.176]:46842) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NywPq-0005ud-73 for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:13:14 -0400 Original-Received: by yxe6 with SMTP id 6so1110881yxe.27 for ; Mon, 05 Apr 2010 17:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=Ifzf3IKBzKhH30ovfvrI7Q3+5pOUbL142+22U7LlLBM=; b=ItR3Pe7lLi/fpQmUBCVDEczOoSoh31GVM3+T4LVbh33L1/629+NNyNWKTg5URciEIt IN5mNab4cIaIImjLHkzXBK03UVP9tp05URZLjJkn4ZmyT8VFHs2ldAKTkJvXY+VgRTox jWR4VCKgbPpyMR32CpLXBf2mBjnNM/EtVcqNo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=HLH8Umjek2lJAjZnnx7q2IudzCpbqKcqFWdyEcDVwiuc4ySOg9oQy1DU2EszFheSq3 WWZJ41XaLSIULpnxySJxZbvvTpGBihyIRJANvpqG5QsYHEdXiLoinC8cFSMH3mB+ZXmd lTY0HxrBsHlbIO/g4AV8ziOwth8pA2P7JkSoU= Original-Received: by 10.101.184.12 with SMTP id l12mr14753549anp.81.1270512791738; Mon, 05 Apr 2010 17:13:11 -0700 (PDT) Original-Received: from [10.1.1.54] ([61.4.103.130]) by mx.google.com with ESMTPS id 14sm8552894gxk.15.2010.04.05.17.13.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 05 Apr 2010 17:13:10 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Mon, 05 Apr 2010 20:16:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 05 Apr 2010 20:17:01 -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:35963 Archived-At: On 06/04/2010 04:15, Stefan Monnier wrote: >>> (setq locate-dominating-stop-dir-regexp "") >>> >> That maybe shaves off half a second. >> > Hmm... odd. That seemed like a pretty good guess > (locate-dominating-file tends to suffer from such performance problems > in some cases, and vc-handled-backends is one user of this function, > and dir-locals is another, so setting locate-dominating-stop-dir-regexp > should really kill it off). > I think it odd that it shaved time off rather than made things much worse. One of the reasons for this variable is that when Windows tries to locate all the siblings of //machine, and in some cases //machine/share (where the user only has access to some shares), the process takes a long time. Perhaps the original value is incorrect?