From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: slow find-file for network file systems and very deep directories Date: Thu, 11 Sep 2008 22:38:46 -0700 Message-ID: <001801c91499$d3e5bbd0$0200a8c0@us.oracle.com> References: <48C9DA7A.8050900@ggmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221197975 16095 80.91.229.12 (12 Sep 2008 05:39:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2008 05:39:35 +0000 (UTC) To: "'AlFire'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 12 07:40:31 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ke1OR-0006YY-8l for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 07:40:31 +0200 Original-Received: from localhost ([127.0.0.1]:40774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ke1NQ-0001Ug-Vl for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 01:39:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ke1N1-0001TR-Gs for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 01:39:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ke1My-0001T0-Kk for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 01:39:02 -0400 Original-Received: from [199.232.76.173] (port=48549 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ke1My-0001Sx-Ei for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 01:39:00 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]:36933) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ke1My-0000Y1-1b for help-gnu-emacs@gnu.org; Fri, 12 Sep 2008 01:39:00 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m8C5cmsX010502; Fri, 12 Sep 2008 00:38:49 -0500 Original-Received: from acsmt700.oracle.com (acsmt700.oracle.com [141.146.40.70]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m8C5ckEl007999; Thu, 11 Sep 2008 23:38:47 -0600 Original-Received: from dradamslap1 (/24.23.165.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 11 Sep 2008 22:38:46 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <48C9DA7A.8050900@ggmail.com> Thread-Index: AckUjBIxflwnZAB9RHCFTxc6mgtZRgADWP3w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57466 Archived-At: > this is a situation: I access samba based file system from Windows. It > is not rocket fast but neither pig slow. I noted the find-file takes > veeeery long (15 seconds) time to complete. Another factor is that the > file is quite deep in the directory structure namely: > > W:\dir1\dir2\dir3\dir4\dir5\dir6\dir7\dir8\dir9\dirA\dirB\dirC\file.c > > Other editors did not expose the behavior. Was not sure what is the > reason I just run the filemon to find out what emacs is doing exactly. > And here you go - there is namely 889 file system operation needed to > complete find-file, partially due to recursive walking thru the > directory structure. The log is attached at the end. Try `M-x report-emacs-bug', after reading node Bugs of the Emacs manual (`C-h i').